ls -klsh ~/Library/Containers/com.docker.docker/Data/vms/0/Docker.raw
du -h ~/Library/Containers/com.docker.docker/Data/vms/0/Docker.raw
/* | |
Project: Interfacing SIM7600 GSM Module with Maker UNO | |
Item used: | |
- Maker UNO https://www.cytron.io/p-maker-uno | |
- SIM7600 https://www.cytron.io/p-4g-3g-2g-gsm-gprs-gnss-hat-for-raspberry-pi | |
*/ | |
#include <SoftwareSerial.h> | |
#include "Adafruit_FONA.h" |
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
PurpleSystemAppPort | |
PurpleSystemEventPort | |
UIASTNotificationCenter | |
com.apple.ABDatabaseDoctor | |
com.apple.AppSSO.service-xpc | |
com.apple.AuthenticationServicesCore.AuthenticationServicesAgent | |
com.apple.CARenderServer | |
com.apple.ClipServices.clipserviced | |
com.apple.CoreAuthentication.daemon | |
com.apple.DeviceAccess.xpc |
from typing import Dict | |
class EventEmitter: | |
def __init__(self): | |
self._callbacks: Dict[str, callable] = {} | |
def on(self, event_name, function): | |
self._callbacks[event_name] = self._callbacks.get(event_name, []) + [function] |
class Point { | |
set X(v) { | |
this.x = v; | |
} | |
get X() { | |
return this.x; | |
} | |
getX() { | |
console.log(this.X); | |
} |
Source: https://github.com/philc/vimium/wiki/Search-Engines
g: https://www.google.com/search?q=%s Google gi: https://www.google.com/search?tbm=isch&q=%s Google Images gm: https://www.google.com/maps?q=%s Google Maps recent: https://www.google.com/search?hl=en&tbo=1&tbs=qdr:y&q=%s Google (last year only) translate: http://translate.google.com/?source=osdd#auto|auto|%s Google Translator w: http://en.wikipedia.org/wiki/Special:Search?search=%s Wikipedia d: https://duckduckgo.com/?q=%s DuckDuckGo a: http://www.amazon.com/exec/obidos/external-search/?field-keywords=%s&mode=blended Amazon
//doHttpPost('localhost', 8000, '/TestPost', 'string' , 'TestTestTestTest', false); | |
//doHttpPost('localhost', 8000, '/TestPost', 'file' , '/Users/chengwei/Downloads/grid1.png', true); | |
function doHttpPost(_host, _port, _path, name, value, isFile, fileEncoding) { | |
var http = require('http'), | |
fs = require('fs'), | |
path = require('path'), | |
boundary = Math.random(), | |
postData, postOptions, postRequest; |
{ | |
"require": { | |
"slim/slim": "2.*", | |
"illuminate/database": "*", | |
"dhorrigan/capsule": "*" | |
} | |
} |