Skip to content

Instantly share code, notes, and snippets.

ignoring mentions

Wayland waylandzhang

ignoring mentions
Block or report user

Report or block waylandzhang

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
waylandzhang / Atom Editor Cheat
Last active Apr 9, 2017 — forked from chrissimpkins/gist:5bf5686bae86b8129bee
Atom Editor Cheat Sheet (Sweetmeat)
View Atom Editor Cheat

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Key to the Keys

  • ⌘ : Command key
  • ⌃ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • → : Right arrow key
  • ↑ : Up arrow key
waylandzhang /
Created Dec 27, 2016 — forked from colinvh/
AWS Region Names

Alternative naming schemes for AWS regions


The intent is to define terse, standards-supported names for AWS regions.


waylandzhang /
Created Aug 4, 2016
curl -X "POST" "" \
-H "Content-Type: application/json" \
-H "X-Auth-Token: d2d7ab5d9a464c65a27a31ce94e290c4" \
-H "Accept: application/json" \
-d $'{"group": {"name": "myTestGroup", "description": "", "domain_id":"631b77056c4c4cc09646dea3e9d9ca1e"}}'
waylandzhang / array_frequent_functions.php
Last active Dec 25, 2015
Frequently Used Functions
View array_frequent_functions.php
// used in simpledb return values from AWS SDK2
function array_push_associative(&$arr) {
$args = func_get_args();
array_unshift($args); // remove &$arr argument
foreach ($args as $arg) {
if (is_array($arg)) {
foreach ($arg as $key => $value) {
$arr[$key] = $value;
You can’t perform that action at this time.