I hereby claim:
- I am haxorjim on github.
- I am haxorjim (https://keybase.io/haxorjim) on keybase.
- I have a public key whose fingerprint is 131A 3533 D6E7 F053 C747 9202 5DC4 1870 630A 1789
To claim this, I am signing this object:
| brew tap elastic/tap | |
| brew install elastic/tap/metricbeat-full | |
| vi /usr/local/etc/metricbeat/metricbeat.yml | |
| #output.logstash: | |
| # hosts: ["elk.local:5044"] | |
| brew services start elastic/tap/metricbeat-full |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # Open the specified file on GitHub. It will use the master branch by default: | |
| # | |
| # gh app/controllers/application_controller.rb | |
| # | |
| # Specify the current branch: | |
| # | |
| # gh -c app/controllers/application_controller.rb | |
| # |
| jsCache = { | |
| expirationSeconds: 60, | |
| cache: {}, | |
| cacheFunction: function (func, parameters) { | |
| var value; | |
| // generate the cache key using the function definition and parameters to be passed |
| var svn = module.exports = {}; | |
| var execSync = require("exec-sync"), | |
| util = require('util'); | |
| // equivalent to svn log command | |
| svn.log = function (options) { | |
| // TOOD: modify this to accept an options object that configures the xml, v, limit, username, password variables | |
| var log = execSync(util.format('%s log --xml -v -r%d:%d --username %s --password %s %s', options.svn, options.nextRevision, options.maxRevision, options.username, options.password, options.remote), true); | |
| <html> | |
| <head> | |
| <title>Tiny RSS</title> | |
| <script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
| <script type="text/javascript"> | |
| var feeds = []; | |
| google.load("feeds", "1"); |
| function fedex12(p_tracking_number varchar2) return boolean is | |
| trk varchar2(12); | |
| tot number:=0; | |
| mult number:=1; | |
| chr varchar2(1); | |
| begin | |
| --if the data passed is 12 digits then strip everything but valid FedEx tracking number characters. | |
| if length(p_tracking_number) = 12 then | |
| for x in 1..length(p_tracking_number) loop | |
| chr := upper(substr(p_tracking_number,x,1)); |
| <?php | |
| // http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/ | |
| $numLevels = 18; | |
| $zoomFactor = 2; | |
| $verySmall = 0.00001; | |
| $forceEndpoints = true; | |
| for($i = 0; $i < $numLevels; $i++) |