Skip to content

Instantly share code, notes, and snippets.

View jmorenop89's full-sized avatar
👨‍💻
Happy Code

Jesús Moreno Plasencia jmorenop89

👨‍💻
Happy Code
View GitHub Profile
@almino
almino / current-geolocation.ts
Last active July 16, 2020 04:39
place componnent
export class CurrentGeolocation {
public static getGeolocation(options?: any) : Promise<Position> {
if (window.navigator.geolocation) {
/* https://gist.github.com/varmais/74586ec1854fe288d393 */
return new Promise(function (resolve, reject) {
navigator.geolocation.getCurrentPosition(resolve, reject, options);
});
}
}
}
@elidickinson
elidickinson / html_email_buttons_1.html
Last active September 3, 2025 18:27
HTML email buttons that work
<div>
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://www.EXAMPLE.com/" style="height:40px;v-text-anchor:middle;width:300px;" arcsize="10%" stroke="f" fillcolor="#d62828">
<w:anchorlock/>
<center style="color:#ffffff;font-family:sans-serif;font-size:16px;font-weight:bold;">
Button Text Here!
</center>
</v:roundrect>
<![endif]-->
<![if !mso]>