Skip to content

Instantly share code, notes, and snippets.

aryeharmon

Block or report user

Report or block aryeharmon

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
View testAPI.json
[{"id":"7976","employee_name":"o3a4j6bnx","employee_salary":"123","employee_age":"23","profile_image":""},{"id":"7985","employee_name":"vv1jsjq29","employee_salary":"123","employee_age":"23","profile_image":""},{"id":"7988","employee_name":"sbtfghqff","employee_salary":"123","employee_age":"23","profile_image":""},{"id":"7989","employee_name":"utoauabzk","employee_salary":"123","employee_age":"23","profile_image":""},{"id":"7990","employee_name":"yghfbauiq","employee_salary":"123","employee_age":"23","profile_image":""},{"id":"7991","employee_name":"r2ruauxv4","employee_salary":"123","employee_age":"23","profile_image":""},{"id":"7993","employee_name":"samay 127ae088-2a79-441f-aa82-f62b3971e41b ","employee_salary":"123","employee_age":"33","profile_image":""},{"id":"8028","employee_name":"ebow2q9vo","employee_salary":"123","employee_age":"23","profile_image":""},{"id":"8029","employee_name":"hgqz02kkp","employee_salary":"123","employee_age":"23","profile_image":""},{"id":"8030","employee_name":"de3460jsm","em
View Route
'use strict';
var models = require('../models'),
express = require('express'),
winston = require('winston'),
router = express.Router(),
Middleware = require("../lib/Middleware"),
fs = require('fs'),
pluralize = require('pluralize');
View ubuntu16.04-command-line-install-android-sdk
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-7-jre
# install openjdk
sudo apt-get install openjdk-7-jdk
# download android sdk
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
View gist:5e8d935fcdbb76d6c3b6
function add_index() {
$_SESSION["box"] = $_POST['value'];
die;
}
if(isset($_SESSION["box"])){
switch ($output) {
case 1:
$boxcolor = "silver";
break;
View gist:701ef64d7061c4b88379
function add_index() {
$_SESSION["box"] = $_POST['value'];
}
if(isset($_SESSION["box"])){
switch ($output) {
case 1:
$boxcolor = "silver";
break;
case 2:
@aryeharmon
aryeharmon / gist:4b1a106315472ff319e8
Created Nov 4, 2015
yad eliezer donation script.
View gist:4b1a106315472ff319e8
<?php
if( !isset( $_COOKIE['landing'] ) ){
setcookie("HTTP_REFERER", $_SERVER['HTTP_REFERER'], time() + (86400 * 30), "/");
setcookie("landing", "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]", time() + (86400 * 30), "/");
}
function donation_btn_func( $atts ) {
$a = shortcode_atts( array(
'color' => 'pink',
'proj' => '',
You can’t perform that action at this time.