Skip to content

Instantly share code, notes, and snippets.

@hteumeuleu
hteumeuleu / script.js
Created February 21, 2020 14:47
Script file from Gmail Android APK
(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
@hteumeuleu
hteumeuleu / mona-lisa-vml.html
Created January 8, 2020 08:56
Mona Lisa in VML
<!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 December 9, 2019 11:48
Ton guide pour t'aider à construire la meilleure expérience VIP LEGO®
<!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>
@hteumeuleu
hteumeuleu / list.html
Last active September 23, 2019 20:42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>List</title>
<meta name=Generator content="Microsoft Word 15 (filtered medium)">
<style type="text/css">
@list heart {
mso-level-number-format: bullet;
mso-level-text: ♥;
@hteumeuleu
hteumeuleu / fontTable.xml.rels
Last active September 4, 2019 19:19
Font file reference XML from a docx archive
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship Id="rId8" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" Target="fonts/font8.odttf"/>
<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" Target="fonts/font3.odttf"/>
<Relationship Id="rId7" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" Target="fonts/font7.odttf"/>
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" Target="fonts/font2.odttf"/>
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" Target="fonts/font1.odttf"/>
<Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" Target="fonts/font6.odttf"/>
<Relationship Id="rId5" Type="http://schemas.openxmlformats.org/officeD
@hteumeuleu
hteumeuleu / button-overlapping-top.html
Last active August 13, 2019 14:40
Example of button overlapping from the top for @james on #emailgeeks Slack
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>button overlapping</title>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:600px;">
<tr>
<td>
@hteumeuleu
hteumeuleu / button-overlapping.html
Last active August 13, 2019 09:46
Example of button overlapping for @irmavdk on #emailgeeks Slack
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>button overlapping</title>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:600px; background:#e5f3f6;">
<tr>
<td>
@hteumeuleu
hteumeuleu / gmail-view-entire-message-styles.html
Last active June 18, 2019 14:14
Gmail "View Entire Message" styles
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Gmail View Entire Message Bug</title>
<style>.box { background: #3cbc67 !important; }</style>
<style>
div { font-size:0; }
div a { display: block; padding: 20px; color:#fff !important; font-size: 3rem; background: #c44230 !important; }
</style>
@hteumeuleu
hteumeuleu / lego-newsletter-FR-20190603.html
Created June 3, 2019 16:20
Plus de 70 nouveaux ensembles LEGO® débarquent pour l'été !
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="date=no">
<meta name="format-detection" content="address=no">
<!DOCTYPE html>
<html>
<head>
<title>srcset attribute</title>
</head>
<body>
<h1>srcset</h1>
<img src="https://i.imgur.com/pnUUCFQ.png" srcset="https://i.imgur.com/35cz49W.png 480w, https://i.imgur.com/X7vSnQV.png 640w, https://i.imgur.com/JqqqI8g.png 1440w" sizes="100vw" style="display:block; width:100%; height:auto;" />
</body>
</html>