Skip to content

Instantly share code, notes, and snippets.

View 7h3kk1d's full-sized avatar

Alexander Bandukwala 7h3kk1d

View GitHub Profile
{
"name": "template_name",
"content": {
"name" : {"first" : "first", "last":"last"},
"users" : ["user1","user2","user3"],
"address" : "100 first st."
}
}
var Benchmark = require('benchmark');
var suite = new Benchmark.Suite;
// add tests
suite.add('Calling cow api', {
defer: true,
fn: function(deferred) {
deferred.resolve();
}
Aug 6 18:49:57 alexander-Latitude-E6430 pptp[28743]: nm-pptp-service-28723 log[logecho:pptp_ctrl.c:677]: Echo Reply received.
Aug 6 18:50:15 alexander-Latitude-E6430 wpa_supplicant[1653]: wlan0: CTRL-EVENT-SCAN-STARTED
Aug 6 18:50:20 alexander-Latitude-E6430 wpa_supplicant[1653]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Aug 6 18:52:02 alexander-Latitude-E6430 pppd[28724]: No response to 5 echo-requests
Aug 6 18:52:02 alexander-Latitude-E6430 pppd[28724]: Serial link appears to be disconnected.
Aug 6 18:52:02 alexander-Latitude-E6430 pppd[28724]: Connect time 3.5 minutes.
Aug 6 18:52:02 alexander-Latitude-E6430 pppd[28724]: Sent 104722 bytes, received 8096 bytes.
Aug 6 18:52:02 alexander-Latitude-E6430 pppd[28724]: MPPE disabled
Aug 6 18:52:05 alexander-Latitude-E6430 pppd[28724]: Connection terminated.
EMAIL_UST_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'username@domain.com'
EMAIL_HOST_PASSWORD = 'password'
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER
* systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Sun 2014-05-11 14:36:49 CDT; 8min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 122 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 122 (code=exited, status=1/FAILURE)
May 11 14:36:49 archmac systemd-modules-load[122]: Module 'b43' is blacklisted
May 11 14:36:49 archmac systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
@7h3kk1d
7h3kk1d / fizzbuzz.scm
Created December 11, 2012 13:37
FizzBuzz Test in MIT/GNU Scheme
(define n 0)
(do ()
((= n 101))
(cond
((eq? (modulo n 15) 0) (display "FizzBuzz\n"))
((eq? (modulo n 3) 0) (display "Fizz\n"))
((eq? (modulo n 5) 0) (display "Buzz\n"))
(else (map display (list n "\n")))
)
(set! n (+ n 1))