Skip to content

Instantly share code, notes, and snippets.

@agentready
agentready / 2016_presidential_race_us_based_likes.py
Created February 16, 2016 21:37 — forked from bahoo/2016_presidential_race_us_based_likes.py
Which presidential candidate has the most US based likes on Facebook?
# for context, many marketing teams will buy cheap likes on Facebook by running
# ads in countires where US presidential elections don't take place.
# this can produce misleading counts of "Likes" when you visit their page.
# looking at only US-based likes will give you a more honest assessment of
# relative popularity of the candidates on Facebook in the US.
# but of course, YMMV. :)
import requests
# I can't get these warnings to hide, but w/e.
@agentready
agentready / adwords-ad-scheduling
Created February 17, 2016 10:39 — forked from underdown/adwords-ad-scheduling
Adwords Ad scheduling
/**
*
* Advanced ad scheduling
*
* This script will apply ad schedules and set the bid modifier for the schedule
* at each hour according to a multiplier timetable in a Google sheet.
*
* Version: 1.0
* brainlabsdigital.com
*
@agentready
agentready / Sublime-Text-3-3103-License.txt
Created April 20, 2016 04:59
Sublime Text 3 3103 License
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
93F6323C FD7F7544 3F39C318 D95E6480
FCCC7561 8A4A1741 68FA4223 ADCEDE07
@agentready
agentready / index.html
Created May 18, 2016 12:37
Just a test
<!DOCTYPE html>
<html ng-app="hubSearch">
<head>
<title>HubSearch</title>
<link rel="stylesheet" href="_dist/app.css"/>
<script>
var _languages = ["","ActionScript","Ada","Apex","Arc","Arduino","ASP","Assembly","Augeas","AutoHotkey","Boo","Bro","C","C#","C++","Ceylon","Clojure","CoffeeScript","ColdFusion","Common Lisp","Coq","D","Dart","DCPU-16 ASM","Delphi","Dylan","eC","Eiffel","Elixir","Emacs Lisp","Erlang","F#","Factor","Fancy","Fantom","FORTRAN","Go","Gosu","Groovy","Haskell","HaXe","Io","Ioke","Java","JavaScript","Julia","Kotlin","Logtalk","Lua","Matlab","Max/MSP","Mirah","Nemerle","Nimrod","Nu","Objective-C","Objective-J","OCaml","ooc","Opa","OpenEdge ABL","Parrot","Perl","PHP","PowerShell","Prolog","Puppet","Pure Data","Python","R","Racket","Rebol","Ruby","Rust","Scala","Scheme","Scilab","Self","Shell","Smalltalk","Standard ML","SuperCollider","Tcl","Turing","Vala","Verilog","VHDL","VimL","Visual Basic","XQuery"];
</script>
<script src="_dist/app.js"></script>
</head>
@agentready
agentready / info.php
Created May 18, 2016 13:19
just a test
<?php
echo phpinfo();
?>
@agentready
agentready / 0_reuse_code.js
Created May 18, 2016 15:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@agentready
agentready / test.html
Created November 30, 2016 04:34
hayat sir
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>jquery</title>
<script src="http://cdn.dev/jq/jquery.min.js"></script>
</head>
<body>
<form id="myform">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>jquery</title>
<script src="http://cdn.dev/jq/jquery.min.js"></script>
</head>
<body>
<form id="myform">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>jquery</title>
<script src="http://cdn.dev/jq/jquery.min.js"></script>
</head>
<body>
<form id="myform">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>jquery</title>
<script src="http://cdn.dev/jq/jquery.min.js"></script>
</head>
<body>
<form id="myform">