Skip to content

Instantly share code, notes, and snippets.


HTeuMeuLeu hteumeuleu

View GitHub Profile
hteumeuleu / ios-blockquotes.html
Created Jan 28, 2021
Testing blockquotes style resets in Apple Mail iOS
View ios-blockquotes.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>iOS blockquote</title>
<blockquote>Lorem ipsum dolor sit amet, consectetur, adipisicing elit. Ab magni, qui quidem repellendus beatae rem amet veniam a ullam similique eius velit, exercitationem facere maxime praesentium voluptatum minus quae corrupti?</blockquote>
hteumeuleu / fortnite.html
Created Nov 25, 2020
Fornite email on 2020/11/25
View fortnite.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href=",800&display=swap" rel="stylesheet">
<link href="" rel="stylesheet">
<link href="" rel="stylesheet">
<link href="" rel="stylesheet">
hteumeuleu / transformElementForDarkMode.ts
Created Sep 24, 2020
View transformElementForDarkMode.ts
import Color from 'color';
import { getPaletteAsRawColors } from 'owa-theme';
const EMPTY_STRING = '';
const ATTR_COLOR = 'color';
const ATTR_BGCOLOR = 'bgcolor';
const DATA_OG_STYLE_COLOR = 'data-ogsc';
const DATA_OG_ATTR_COLOR = 'data-ogac';
hteumeuleu /
Created Jul 7, 2020
Bash script to get all pattern images from Pokémon shirts
for i in {1..250}
curl $url > pokemon/$i.jpg
hteumeuleu / 000webhost-gmail-dark-mode.html
Created May 11, 2020
000webhost cute email that turns horrible in Gmail's dark mode
View 000webhost-gmail-dark-mode.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta charset="UTF-8" />
.ReadMsgBody {
width: 100%;
background-color: #FFFFFF;
hteumeuleu / s_.html
Last active May 9, 2020 Files
View s_.html
<!DOCTYPE html>
Arguments for this template:
1. Body HTML String
2. Signature
3. Elided text HTML String
4. Hint text String
5. Hint text color String
6. padding-top of the body in px
7. padding-bottom of the body in px
hteumeuleu / background-blend-mode-demo.html
Created Feb 26, 2020
Demo of using background-blend-mode to attenuate background images in dark mode in
View background-blend-mode-demo.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
@media only screen and (min-width:650px) {
.demo-object { display:block!important; }
hteumeuleu / script.js
Created Feb 21, 2020
Script file from Gmail Android APK
View script.js
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
var aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ba=function(a){a=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,a];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}return globalThis},t=ba(this),ca=function(a,b){if(b){var c=t;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&
ca("String.prototype.endsWith",function(a){return a?a:function(b,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.endsWith must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype.endsWith must not be a regular expression");var d=this+"";b+="";void 0===c&&(c=d.length);c=Math.max(0,Mat
View mona-lisa-vml.html
<!DOCTYPE html>
<html lang="en" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:w="urn:schemas-microsoft-com:office:wordml"
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
hteumeuleu / email-lego-20191204.html
Created Dec 9, 2019
Ton guide pour t'aider à construire la meilleure expérience VIP LEGO®
View email-lego-20191204.html
<!DOCTYPE html>
<html xmlns="" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />