Installing Xcode and the command line tools need to be done first because it installs gcc.
https://developer.apple.com/xcode/features/
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
| # http://www.dggodfrey.com/blog/2014/11/06/fix-slow-intellij-idea/ | |
| # https://github.com/adben/config/blob/master/idea.vmoptions | |
| # http://hamletdarcy.blogspot.in/2008/02/10-tips-to-increase-intellij-idea.html | |
| # https://zeroturnaround.com/free/optimizer-for-intellij-idea/ | |
| -ea | |
| -server | |
| -Xms1G | |
| -Xmx2048m | |
| -Xss2m |
| { | |
| "aps": { | |
| "alert": "Tops at FLAT 25% off! No min cart. Use code TOPS25. Only till 1 pm.", | |
| "sound ": "default", | |
| "pushType": "productlist", | |
| "categoryid": "245", | |
| "categoryname": "Tops", | |
| "parentid": "2", | |
| "filter": { | |
| "OrderBy": "position" |
Installing Xcode and the command line tools need to be done first because it installs gcc.
https://developer.apple.com/xcode/features/
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
| { | |
| "events": [ | |
| { | |
| "device_id": "d67b6e4942940e21", | |
| "event": "click", | |
| "ip": "27.5.115.5", | |
| "login_status": "N", | |
| "os_name": "android23", | |
| "url": "jabong://in/c/men/shoes/discount-more-than-39/?cmpgp=menfootwear-eoss16" | |
| }, |
| { | |
| "events": [ | |
| { | |
| "customer_id": "1605910", | |
| "event": "identify", | |
| "device_type": "ios", | |
| "device_tokens": "5641494ea49fd47079ddc3c6f6a00da7", | |
| "device_id": "5641494ea49fd47079ddc3c6f6a00da7", | |
| "device_idfa": "5641494ea49fd47079ddc3c6f6a00da7", | |
| "device_idfv": "5641494ea49fd47079ddc3c6f6a00da7", |
| package main | |
| import "fmt" | |
| import "strconv" | |
| import "time" | |
| const ( | |
| JADE_TS = "2006-01-02 15:04:05.000Z07:00" | |
| JRFC3339 = "2006-01-02T15:04:05Z07:00" | |
| ) |
| #!/bin/bash | |
| userDir=bijay | |
| githubUser=bijayrungta | |
| homeDir=/home/${userDir} | |
| mkdir -p ${homeDir}/.ssh | |
| if [ f ${homeDir}/.ssh/authorized_keys ]; then | |
| echo "User ${userDir} exists with an 'authorized_keys' file" | |
| else | |
| wget https://github.com/${githubUser}.keys -O /tmp/${githubUser}.keys; |
| // URL for Jira's REST API for issues | |
| var getIssueURL = "https://[Your Jira host]/rest/api/2/issue/"; | |
| // Personally I prefer the script to handle request failures, hence muteHTTPExceptions = true | |
| var fetchArgs = { | |
| contentType: "application/json", | |
| headers: {"Authorization":"Basic [Your BASE64 Encoded user:pass]"}, | |
| muteHttpExceptions : true | |
| }; |
| function bjMigrateMac() | |
| { | |
| # http://lowendmac.com/2009/step-by-step-guide-to-manual-mac-system-migration/#nowork | |
| host="$1" | |
| if [ ! "${host}" ]; then | |
| host="mac13" | |
| fi | |
| declare -a aHomeFilesToSync=( |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |