Tumgik
#html email
mirrorbird · 10 months
Text
162 notes · View notes
Text
A Walking Heroic History
"Besides,” Harry said, “It seems pretty simple to me. You were a git, and I hated you. Now you’re not a git, and I love you. Easy as that.” For @harryjamespotterweek 2023, Day 3 (Scars, Enemies to Lovers) Rated T, 1.2k words. Read on ao3 here
“What about this one?” Draco’s fingers, tacky with sea salt, caught on Harry’s skin, just above his hip.
“Third year. The Whomping Willow got me, I think, or maybe it was when I fell by the lake with the Dementors after that.”
Draco bent to place a gentle kiss on the scar, then his fingers continued their exploration up Harry’s side.
“This one?” he asked, pressing a small kiss to it preemptively, smirking when Harry twitched away, huffing out a laugh.
“That tickles.”
Draco did it again, just to make him squirm.
“Fell out of a tree when I was eight. I bounced when I hit the ground, but a branch caught me first.”
One last, tickling kiss, and Draco moved on again.
Over Harry’s shoulder - “I genuinely have no clue, I just noticed it one day in fifth year,” - down Harry’s arm - “Wormtail, in the cemetery, fourth year,” - all the way to his hand.
“Umbridge and her evil quill in fifth year.”
Draco linked their fingers and lay back, pulling Harry’s hand up to his mouth for another kiss, gritty with the sand stuck to his skin.
“We all wondered about that, you know,” Draco said, idly tracing the letters. “In Slytherin. We all knew you had cuts on the back of your hands Blaise even set up a betting pool on it.”
“Who won?”
“Daphne Greengrass. She asked a Gryffindor boy who had seen you in the common room and he told her. To hear her tell it, she seduced it out of him, but I suspect he didn’t see any reason not to answer her when she asked.”
Harry gave another small laugh, sun-warm and content, and after a moment, Draco continued.
“I am sorry, about all of that. I don’t think I mentioned that when I said- before. But I am sorry for the Inquisitorial Squad, and what she did to you.”
Harry gave his hand a gentle squeeze. “You don’t have to keep apologizing. I know.” In an even softer voice, he added, “I still remember what you said that first time. Besides,” Harry said, continuing on at his normal volume, “It seems pretty simple to me. You were a git, and I hated you. Now you’re not a git, and I love you. Easy as that.”
Draco squeezed his hand back, and Harry kissed his fingertips.
“Second year,” said Draco, and Harry hummed a question in response. “On my ring finger, on the side, near where you kissed, there’s a scar from second year.”
Harry sought it out, found it between Draco’s second and third knuckles, pointing to the place where Harry suspected he would put a ring someday in the near future. It was still too soon to be proposing, but Harry kissed the shiny silver scar, and then kissed the bottom of Draco’s finger too, as a placeholder for now.
“What happened?” Harry asked, “Did the Basilisk get you too?”
Draco elbowed him hard in the ribs.
“No. You did, actually.”
“What? When did I hurt you in second year?” Harry was sure he would have remembered attacking Draco in second year, not least of all because Draco would have thrown such a fit that everyone in Hogwarts would have surely remembered it.
“During the Dueling Club,” Draco said, his smug smile evident even in his voice.
“I did not!” Harry protested, sitting up so fast he flung sand into Draco’s face.
Draco tossed his head to flick the errant sand away, then opened his eyes looking incredibly pleased with himself.
“You did. You sent me flying back, and I scraped my finger on the ground.”
Harry couldn’t see his own face, but he was sure it looked as unimpressed as he felt.
“That’s hardly anything! How on earth did it scar? Why didn’t you have someone heal you? It can’t have been that bad, or else someone would have noticed the blood.”
“Well, it wasn’t that bad at first, Potter,” Draco drawled, so horribly self-satisfied Harry almost choked on it. “But you see, I hated you then, because you had refused my offer of friendship, and everyone thought you were the Heir of Slytherin, and I just couldn’t let any of that go. So, I didn’t let it heal, and kept making it worse, because you were my sworn enemy, and I wanted the burden of being marked by your cruel villainy for the rest of my life.”
Harry blinked down at him for a second, then said, “You’re insane.”
“I was twelve, everyone’s like that when they’re twelve,” Draco responded placidly, so sure of himself that Harry wanted to contradict him, wanted to tell him no, not everyone is like that when they’re twelve. But then, he remembered that he, Ron, and Hermione had spent the first half of that year brewing Polyjuice Potion because they were convinced Draco was the Heir of Slytherin, and the sheer hypocrisy of saying that made him pause.
Finally, he just kissed Draco’s petty little scar and let their hands fall back to the beach.
“Whatever you say, Draco.”
A few more moments passed in silence, both of them listening to the crash of the waves before Draco spoke again.
“I like them, you know. Your scars.”
Harry had known this for a while; Draco’s hands often sought them out as though they were there to mark the places Harry was meant to be held, pieced back together under a loving and careful touch.
“I don’t like that you had to suffer to get them, of course,” Draco continued, thumb stroking over the back of Harry’s hand as if to read the words carved there through touch alone. “I truly am sorry about that, even about the hurts I didn’t cause. But I like history, I always have, and growing up I liked stories about heroes best of all. And you, you’re a walking heroic history, and I like seeing that. Of course, it also reminds me that you’re a reckless, self-sacrificing moron on occasion too, but I feel that’s just a reminder that you need to keep me around so at least one of us is looking out for you.”
And then, never one to want attention paid to him after being too nice, Draco put his head on Harry’s shoulder and indicated with every fibre of his being that their conversation was now over, and he was going to relax for the rest of the afternoon.
Harry intended to do the same, letting the sound of the waves, the steady rise and fall of Draco’s breath, and the rhythmic carding of his fingers through Draco’s hair soothe him. But, at the same time, he found he couldn’t help but turn over Draco’s words in his mind.
Harry had never really thought much about his body before - it had always done what he had needed it to do, and it hadn’t hindered him, parts/he had never had cause to contemplate himself in the way Draco clearly had. Harry supposed, if pressed, he would say that he liked how much he resembled his parents, the first people ever to love him, and the first people he lost, living on a bit through him. But hearing how Draco thought about him, what he liked about the scar on Harry that had just seemed like collateral damage in a much bigger fight, that made Harry re-evaluate his own blind neutrality.
He pulled Draco’s hand to his mouth to kiss his precious little scar again, and Draco, napping lightly beside him, moved his hand to cover the scar on Harry’s chest, and smiled in his sleep.
36 notes · View notes
istherewifiinhell · 8 months
Text
i should go back to emailing my friends. man was not meant for correspondence broken up by 2000 characters limits. discord app stay loosing
10 notes · View notes
echotunes · 3 months
Text
oh fuck wait I do know how to run a script on a bunch of files. but . only in linux though. i think
3 notes · View notes
anonymousdormhacks · 20 days
Text
The best thing about college so far is that it's giving me actual names for all of the god awful, horrendously implemented features scattered around the Internet so I can hate them with more accuracy and vow never to add them into any of my projects
3 notes · View notes
catnpc · 10 months
Text
another day another rejection from an employer. to be honest what if i just killed myself and emailed my suicide note to every company that rejected me 13 reasons why style
10 notes · View notes
togamest · 6 months
Text
this is my first day off all year so far and let me tell you if i didn’t have to go back to work next week i wouldn’t. i’d go AWOL and quit right now and play ghost of tsushima all day lmfao
2 notes · View notes
why-tap · 2 years
Text
Tumblr media
DID YOU KNOW? 🤔
10 notes · View notes
fingertipsmp3 · 1 year
Text
Might just pass the fuck out actually
#it has not been a good day. the first thing i had to do today went badly and i’m not looking forward to doing the second thing#and it’s hot and my house feels like a soup and my knee is acting up so i’m essentially walking like i don’t even know what#i was going to say frankenstein’s monster but i don’t even know if he has a limp#i wish the lecture i have tonight wasn’t the FIRST one in the course. if i’d already done a couple i feel like it’d be more acceptable#for me to email the lecturer or the guidance person or somebody and be like ‘hey chief i had an absolute disaster this morning.#is it okay if i take a personal day to cry into chinese food and try to drown myself in the bath? i’ll watch the lecture tomorrow & recap’#but i haven’t established a reputation for showing up & being competent yet#ugh and i looked on the website and the cohort is exactly 8 people which… idk what i was expecting but why must it be small#if i get asked to introduce myself i’m just going to cry on camera#god i bet i do get asked. that’s going to be fucking horrible#‘i’m ellen; i don’t work anywhere because i left my first shift at my new job in tears today bc i almost fainted because my knee decided to#give out; i know enough html and css to know that this course is going to kick my ass. i’m also learning python#because my friend roped me into it. also sorry that i’m eating right now but i decided there was no way i was getting through this class#without ordering fried rice. i don’t know why i’m here. nice to meet you i guess’#i’m so hungry but i don’t want to eat anything because i want to order food. but also. do i have the mental fortitude to talk to someone#on the phone. but i don’t have the mental fortitude to cook either…… it’s a big problem#ultimately cooking would be physically harder but i would also get my food sooner. calling them would be mentally harder and i would get my#food later. ohhhhh god and i just remembered this other takeaway place that opens at 4:30 (💖) but they’re CLOSED ON MONDAYS#i guess there’s also the chinese place in the village. AND their prawn toast is better. and they open earlier and deliver super fast. 🧐#i might just order beef fried rice from them and whatever happens to me happens to me. (i have a beef intolerance lol#but they cook their chicken in a way that makes it really chewy. it won’t make me sick or anything; never has before; but it’s not the vibe.#it’s chinese food cooked by english people. that’s the problem. the prawn toast is good though)#anyway! for personal reasons i will be passing out#personal
1 note · View note
coolxatu · 1 year
Text
i wish i could remember what my icanhascheezburger account was named i want to go back so bad
4 notes · View notes
atsumulogy · 2 years
Note
cute theme bestie 😳 can i ask how you did the colored text in your last pinned? 💞
THANK YOUU !!! also i hope u can understand my explanation 😞 it’s under the read more!
okay so this would require a computer since i find it kinda hard to do on tumblr website mobile 🥹 anyway, first of this is the link of the site i use: jsfiddle
on the top rectangle box thingy, is where you enter your text. the colors on the side is where you can input whatever color you want. it can be gradient or not!
Tumblr media
if you want a more detailed explanation u can see this post
anyway, copy the code on the bottom rectangle. next you go 2 the tumblr website. click text, then click the settings icon thingy on the right. then u will see this:
Tumblr media
click ‘html’
Tumblr media
then u can just paste ur codes there!
4 notes · View notes
razzek · 2 years
Text
Little accessibility rant 8
Just saw a news article calling dark mode on devices a trend and mother fuckers I dunno how to explain to you that a lot of humans have been breaking the internet for decades because black text on a white bg is pure god damn agony. And if you're going to force your shitty app or your dumb email to break my phone's dark mode settings so it can look nice, bitch I am going to absolutely fuck you with forced custom app rules in the accessibility settings. 8) Now your shit looks like total ass and it's nobody's fault but your own. 8D
Btw if you too want to fuck up a company's hard work so you don't projectile vomit all over your screen, on iOS go to settings - accessibility - per app settings, then plug in any app that's trying to get around dark mode and go into that app and turn on "smart invert". It will mostly leave images alone but everything else it will flip color schemes on. No more eye gouging white bg emails now ahahaha! I'm not sure how this works on Android but I think it's also doable with those devices. To do it on your laptop/pc it just depends on your browser and installing a good dark reader extension.
2 notes · View notes
beproblemsolver · 2 years
Text
Send Emails with PHP SMTP PHPMailer
To send emails with PHP SMTP PHPmailer is vital in most backend projects we develop. Situations will arise when the mail() function won’t sufficient. Let’s Learn to use PHPMailer with Gmail SMTP.
Tumblr media
Read More: https://beproblemsolver.com/send-emails-with-php-smtp-phpmailer/
2 notes · View notes
jcmarchi · 14 days
Text
Two Ways to Create Custom Translated Messaging for HTML Forms
New Post has been published on https://thedigitalinsider.com/two-ways-to-create-custom-translated-messaging-for-html-forms/
Two Ways to Create Custom Translated Messaging for HTML Forms
HTML forms come with built-in ways to validate form inputs and other controls against predefined rules such as making an input required, setting min and max constraints on range sliders, or establishing a pattern on an email input to check for proper formatting. Native HTML and browsers give us a lot of “free” features that don’t require fancy scripts to validate form submissions.
And if something doesn’t properly validate? We get “free” error messaging to display to the person using the form.
These are usually good enough to get the job done, but we may need to override these messages if we need more specific error content — especially if we need to handle translated content across browsers. Here’s how that works.
The Constraints API
The Constraints API is used to override the default HTML form validation messages and allows us to define our own error messages. Chris Ferdinandi even covered it here on CSS-Tricks in great detail.
In short, the Constraints API is designed to provide control over input elements. The API can be called at individual input elements or directly from the form element.
For example, let’s say this simple form input is what we’re working with:
<form id="myForm">   <label for="fullName">Full Name</label>   <input type="text" id="fullName" name="fullName" placeholder="Enter your full name" required>   <button id="btn" type="submit">Submit</button> </form>
We can set our own error message by grabbing the <input> element and calling the setCustomValidity() method on it before passing it a custom message:
const fullNameInput = document.getElementById("fullName"); fullNameInput.setCustomValidity("This is a custom error message");
When the submit button is clicked, the specified message will show up in place of the default one.
Translating custom form validation messages
One major use case for customizing error messages is to better handle internationalization. There are two main ways we can approach this. There are other ways to accomplish this, but what I’m covering here is what I believe to be the most straightforward of the bunch.
Method 1: Leverage the browser’s language setting
The first method is using the browser language setting. We can get the language setting from the browser and then check whether or not we support that language. If we support the language, then we can return the translated message. And if we do not support that specific language, we provide a fallback response.
Continuing with the HTML from before, we’ll create a translation object to hold your preferred languages (within the script tags). In this case, the object supports English, Swahili, and Arabic.
const translations =   en:     required: "Please fill this",     email: "Please enter a valid email address",     ,   sw:     required: "Sehemu hii inahitajika",     email: "Tafadhali ingiza anwani sahihi ya barua pepe",   ,   ar:     required: "هذه الخانة مطلوبه",     email: "يرجى إدخال عنوان بريد إلكتروني صالح",   ;
Next, we need to extract the object’s labels and match them against the browser’s language.
// the translations object const supportedLangs = Object.keys(translations); const getUserLang = () =>   // split to get the first part, browser is usually en-US   const browserLang = navigator.language.split('-')[0];   return supportedLangs.includes(browserLang) ? browserLang :'en'; ; // translated error messages const errorMsgs = translations[getUserLang()];// form element const form = document.getElementById("myForm");// button elementconst btn = document.getElementById("btn");// name input const fullNameInput = document.getElementById("fullName");// wrapper for error messaging const errorSpan = document.getElementById("error-span"); // when the button is clicked… btn.addEventListener("click", function (event)   // if the name input is not there…   if (!fullNameInput.value)     // …throw an error     fullNameInput.setCustomValidity(errorMsgs.required);    // set an .error class on the input for styling     fullNameInput.classList.add("error");   );
Here the getUserLang() function does the comparison and returns the supported browser language or a fallback in English. Run the example and the custom error message should display when the button is clicked.
Method 2: Setting a preferred language in local storage
A second way to go about this is with user-defined language settings in localStorage. In other words, we ask the person to first select their preferred language from a <select> element containing selectable <option> tags. Once a selection is made, we save their preference to localStorage so we can reference it.
<label for="languageSelect">Choose Language:</label> <select id="languageSelect">   <option value="en">English</option>   <option value="sw">Swahili</option>   <option value="ar">Arabic</option> </select> <form id="myForm">   <label for="fullName">Full Name</label>   <input type="text" id="fullName" name="fullName" placeholder="Enter your full name" required>   <span id="error-span"></span>   <button id="btn" type="submit">Submit</button> </form>
With the <select> in place, we can create a script that checks localStorage and uses the saved preference to return a translated custom validation message:
// the <select> element const languageSelect = document.getElementById("languageSelect"); // the <form> element const form = document.getElementById("myForm"); // the button element const btn = document.getElementById("btn"); // the name input const fullNameInput = document.getElementById("fullName"); const errorSpan = document.getElementById("error-span"); // translated custom messages const translations =   en:     required: "Please fill this",     email: "Please enter a valid email address",   ,   sw:     required: "Sehemu hii inahitajika",     email: "Tafadhali ingiza anwani sahihi ya barua pepe",   ,   ar:     required: "هذه الخانة مطلوبه",     email: "يرجى إدخال عنوان بريد إلكتروني صالح",   ; // the supported translations object const supportedLangs = Object.keys(translations); // get the language preferences from localStorage const getUserLang = () =>   const savedLang = localStorage.getItem("preferredLanguage");   if (savedLang) return savedLang;   // provide a fallback message   const browserLang = navigator.language.split('-')[0];   return supportedLangs.includes(browserLang) ? browserLang : 'en'; ; // set initial language languageSelect.value = getUserLang(); // update local storage when user selects a new language languageSelect.addEventListener("change", () =>   localStorage.setItem("preferredLanguage", languageSelect.value); ); // on button click btn.addEventListener("click", function (event)   // take the translations   const errorMsgs = translations[languageSelect.value];   // ...and if there is no value in the name input   if (!fullNameInput.value)     // ...trigger the translated custom validation message     fullNameInput.setCustomValidity(errorMsgs.required);     // set an .error class on the input for styling     fullNameInput.classList.add("error");   );
The script sets the initial value to the currently selected option, saves that value to localStorage, and then retrieves it from localStorage as needed. Meanwhile, the script updates the selected option on every change event fired by the <select> element, all the while maintaining the original fallback to ensure a good user experience.
If we open up DevTools, we’ll see that the person’s preferred value is available in localStorage when a language preference is selected.
Wrapping up
And with that, we’re done! I hope this quick little tip helps out. I know I wish I had it a while back when I was figuring out how to use the Constraints API. It’s one of those things on the web you know is possible, but exactly how can be tough to find.
References
0 notes
mailnews · 3 months
Text
Tumblr media
TURISMO DA SUÍÇA
A Suíça em miniatura, uma experiência imperdível!
http://smtp.mailnewsdobrasil.com.br/email/SUICA-10-DE-24-2024/suica-10-de-24-2024.html
Caso não consiga visualizar o informativo, por favor acesse www.mailnews.com.br , e procure em INFORMATIVOS MAIS RECENTES, no canto esquerdo superior da página. Este informativo é publicado pela Mailnews e direcionado exclusivamente aos Agentes de Viagens.
0 notes
newcodesociety · 5 months
Text
0 notes