Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🕵🏻‍♂️

HTeuMeuLeu hteumeuleu

💭
🕵🏻‍♂️
View GitHub Profile
@hteumeuleu
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">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>iOS blockquote</title>
</head>
<body>
<h1>Blockquotes</h1>
<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
hteumeuleu / fortnite.html
Created Nov 25, 2020
Fornite email on 2020/11/25
View fortnite.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fortnite</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:600,800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Francois+One" rel="stylesheet">
<link href="https://fonts.google.com/specimen/Raleway" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
@hteumeuleu
hteumeuleu / transformElementForDarkMode.ts
Created Sep 24, 2020
webpack://owa/packages/framework/owa-dark-mode-utilities/lib/utils/transformElementForDarkMode.ts
View transformElementForDarkMode.ts
import Color from 'color';
import { getPaletteAsRawColors } from 'owa-theme';
const VALID_CONTRAST_VALUE = 4.5;
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';
const DATA_OG_STYLE_BACKGROUNDCOLOR = 'data-ogsb';
@hteumeuleu
hteumeuleu / pokeloop.sh
Created Jul 7, 2020
Bash script to get all pattern images from Pokémon shirts
View pokeloop.sh
for i in {1..250}
do
url="https://pokemon.originalstitch.com/en/img/pattern_all/$i.jpg"
curl $url > pokemon/$i.jpg
done
@hteumeuleu
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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8" />
<style>
.ReadMsgBody {
width: 100%;
background-color: #FFFFFF;
}
@hteumeuleu
hteumeuleu / s_.html
Last active May 9, 2020
com.google.android.apk 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
hteumeuleu / background-blend-mode-demo.html
Created Feb 26, 2020
Demo of using background-blend-mode to attenuate background images in dark mode in Outlook.com
View background-blend-mode-demo.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>background-blend-mode</title>
<style>
@media only screen and (min-width:650px) {
.demo-object { display:block!important; }
}
</style>
@hteumeuleu
hteumeuleu / script.js
Created Feb 21, 2020
Script file from Gmail Android APK
View script.js
(function(){/*
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&&
null!=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}};
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"
xmlns:wx="urn:schemas-microsoft-com:office:auxHint">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Preview</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
@hteumeuleu
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="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<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" />
<title></title>