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
waylandzhang / Atom Editor Cheat Sheet.md
Last active Apr 9, 2017 — forked from chrissimpkins/gist:5bf5686bae86b8129bee
Atom Editor Cheat Sheet (Sweetmeat)
View Atom Editor Cheat Sheet.md

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
waylandzhang / aws.md
Created Dec 27, 2016 — forked from colinvh/aws.md
AWS Region Names
View aws.md

Alternative naming schemes for AWS regions

Purpose

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

Schemes

@waylandzhang
waylandzhang / api.sh
Created Aug 4, 2016
K5-api-create-group
View api.sh
curl -X "POST" "https://identity.cloud.global.fujitsu.com/v3/groups" \
-H "Content-Type: application/json" \
-H "X-Auth-Token: d2d7ab5d9a464c65a27a31ce94e290c4" \
-H "Accept: application/json" \
-d $'{"group": {"name": "myTestGroup", "description": "", "domain_id":"631b77056c4c4cc09646dea3e9d9ca1e"}}'
@waylandzhang
waylandzhang / array_frequent_functions.php
Last active Dec 25, 2015
Frequently Used Functions
View array_frequent_functions.php
<?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.