Skip to content

Instantly share code, notes, and snippets.

View julie-ng's full-sized avatar

Julie Ng julie-ng

View GitHub Profile
@julie-ng
julie-ng / main.tf
Created August 3, 2020 17:31
Terraform - Azure Service Principal
locals {
name = "my-workspace"
}
# RESOURCE GROUP
resource "azurerm_resource_group" "workspace_rg" {
name = "${local.name}-rg"
location = var.location
}
@julie-ng
julie-ng / settings.json
Created October 5, 2019 19:42
VS Code Settings
{
"workbench.colorTheme": "One Monokai",
"workbench.colorCustomizations": {
"[One Monokai]": {
// "editor.background": "#282c34"
}
},
"editor.fontFamily": "Hack, Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 14,
"editor.minimap.enabled": false,
@julie-ng
julie-ng / azure-pipelines.yml
Created July 2, 2019 12:27
ML Azure Pipelines
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: 'Ubuntu-16.04'
@julie-ng
julie-ng / settings.json
Last active May 3, 2019 20:08
VS Code Settings
{
"terminal.integrated.shell.windows": "C:\\WINDOWS\\sysnative\\bash.exe",
"workbench.colorTheme": "One Monokai",
"workbench.colorCustomizations": {
"[One Monokai]": {
// "editor.background": "#282c34"
}
},
"editor.fontFamily": "Hack, Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 14,
@julie-ng
julie-ng / email.html
Created November 9, 2015 20:44
Email without inlined CSS
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- So that mobile will display zoomed in -->
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- enable media queries for windows phone 8 -->
<meta name="format-detection" content="telephone=no"> <!-- disable auto telephone linking in iOS -->
<title>Test: CSS, to inline or not?</title>
<style type="text/css">
@julie-ng
julie-ng / v0.html
Last active March 10, 2017 21:31
Email Layout Calculator Template
<script type="javascript/template" id="js-code-template">
<!-- Here is the mobile gmail first (but still works in Outlook) markup -->
<table width="{{ container }}" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
{% _(cols).times(function(n) { %}
{% if (n === 0) { %}
<!--[if mso]><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td valign="top" width="{{ colWidths[n] }}"><![endif]-->
{% } %}
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="left" class="col" style="width: 100%; max-width: {{ colWidths[n] }}px;">
@julie-ng
julie-ng / uxmunich-schedule-email.html
Created July 24, 2015 10:55
Example Responsive Email: UX Munich Schedule
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- So that mobile will display zoomed in -->
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- enable media queries for windows phone 8 -->
<meta name="format-detection" content="telephone=no"> <!-- disable auto telephone linking in iOS -->
<title>Schedule</title>
<style type="text/css">