type Customer {
id: ID!
email: String!
}
#!/usr/bin/env sh | |
# NOTE: First, have to ignore the following warnings to make it build on M1 Chip. | |
# | |
# -Wno-constant-logical-operand -Wno-format-nonliteral -Wno-self-assign | |
# | |
# To do so the above line should be appended to consts CFLAGS and CXXFLAGS | |
# under the 'Programs producing files for the HOST machine' section of | |
# the generated Makefile in dir 'build-gdb'. |
This is about how to split a GitHub pull request, following a real in-the-wild example.
So it happened that I once wanted to fix a bug (#832) on the shelljs
repository.
I forked the repository, cloned it and created a new branch called ln-directory-dest
. I fixed the bug, created a pull request, and implemented initial review feedback.
At this point, I had added the commits A, B, C, D, E and [F](https://github.com/Loilo/shelljs/commit/946ab48bf5cf9c8aac03407
import UIKit | |
//Abbreviated OpenAPI product response for example purposes | |
let jsonData = """ | |
{ | |
"paging": { | |
"total": 8, | |
"offset": 0, | |
"limit": 40, | |
"returned": 8 |
/* | |
This has been tested in Chrome v55.0.2883.95 (64-bit) | |
1. Log into ADP website using the URL: https://my.adp.com/static/redbox/login.html (Make sure you are NOT in Incognito mode) | |
2. Open Developer Tools console | |
3. Run the following code in the console: | |
*/ | |
var xhr = new XMLHttpRequest(); | |
xhr.open('GET', 'https://my.adp.com/v1_0/O/A/payStatements?adjustments=yes&numberoflastpaydates=300'); |
// Haven Bypass 0.1 | |
// Use this with Chrome | |
// Please comment if this doesn't work for you. | |
// | |
// Usage: | |
// 0. Be on a page with an "ENTER" link and incomplete items or a page with video/quiz/slideshow. | |
// 1. Paste this code into javascript console and press enter | |
// 2. Repeat #1 until you're done. | |
// | |
// If you are having issues try navigating one level deeper than the main menu |
sns.publish({ | |
TargetArn: device.arn, | |
MessageStructure: 'json', | |
Message: JSON.stringify({ | |
default: 'you will never see this muah!', | |
APNS_SANDBOX: JSON.stringify({ | |
aps: { | |
'alert': '', | |
'content-available': 1 | |
}, |
#!/bin/sh | |
# Configure homebrew permissions to allow multiple users on MAC OSX. | |
# Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
# allow admins to manage homebrew's local install directory | |
chgrp -R admin /usr/local | |
chmod -R g+w /usr/local | |
# allow admins to homebrew's local cache of formulae and source files | |
chgrp -R admin /Library/Caches/Homebrew |
Go through this amazon link http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html
Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv
instead. If you are looking for the previous version of this document, see the revision history.
$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10
$ pyenv install 2.6.9