Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
#!/bin/bash | |
# Function to recursively reinstall packages | |
reinstall_packages() { | |
local package=$1 | |
local dependencies=$(apt-cache depends $package | grep "Depends:" | awk '{print $2}') | |
for dep in $dependencies; do | |
reinstall_packages $dep | |
done |
const timing = store => next => action => { | |
performance.mark(`${action.type}_start`); | |
let result = next(action); | |
performance.mark(`${action.type}_end`); | |
performance.measure( | |
`${action.type}`, | |
`${action.type}_start`, | |
`${action.type}_end` | |
); | |
return result; |
# Convert an existing docker container into a "docker run" command line. | |
# | |
# This is useful when trying to debug containers that have been created | |
# by orchestration tools. | |
# | |
# Install jq: stedolan.github.io/jq/ | |
function format_run() { | |
cid=$1 |
#coding: utf-8 | |
import imaplib | |
import sys | |
''' | |
Simple script that delete emails from a given sender | |
params: | |
-username: Gmail username | |
-pw: gmail pw | |
-label: If you have a label that holds the emails, specify here |
const sendEmail = require('./sendEmail').sendEmail; | |
/** | |
* Deplooyment: | |
* | |
* $ gcloud beta functions deploy sendEmail --trigger-topic sendEmail | |
* | |
*/ | |
/** |
import 'dart:convert'; | |
void main() { | |
for (int i = 0; i < 5; i++) { | |
print('hello ${i + 1}'); | |
} | |
String json = | |
"[ { \"customerName\":\"Jack Kal\", \"fromAddress\":\"120 King Street, \", \"fromLocation\":{ \"latitude\":123, \"longitude\":456.88 }, \"item\":\"lipstick\", \"notes\":\"small, pick up by receipeint\", \"price\":5, \"requestTimeStamp\":\"201806301359\", \"requstId\":123456, \"status\":\"pending\", \"toAddress\":\"6666 Harlow Road, L5N4T2, Mississuaga, ON \", \"toLocation\":{ \"latitude\":125, \"longitude\":458.88 } }, { \"customerName\":\"Jet Lee\", \"fromAddress\":\"240 Queen Street, \", \"fromLocation\":{ \"latitude\":1239, \"longitude\":456.88 }, \"item\":\"milk powder\", \"notes\":\"drop off\", \"price\":6, \"requestTimeStamp\":\"201806301959\", \"requstId\":123457, \"status\":\"pending\", \"toAddress\":\"8888 Harlow Road, L5N4T2, Mississuaga, ON \", \"toLocation\":{ \"latitude\":125, \"longitude\":458.88 }, \"weight\":\"8 KG\" } ]"; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Google Sign-in 2.0 - Necessary Client</title> | |
<script src="https://apis.google.com/js/client:platform.js?onload=clientLoaded" async defer></script> | |
</head> | |
<body> | |
<button id="enable_offline_access">Enable Offline Access</button> |
# Start the old vagrant | |
$ vagrant init centos-6.3 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |
public class Monitors { | |
public static native void startProfiling(Object monitor); | |
public static native void stopProfiling(); | |
public static native long getBlockTime(); | |
public static native long getBlockCount(); | |
static { | |
System.loadLibrary("monitors"); | |
} |