View jquery_laravel_jsonp_example.md

JSONP Example With jQuery And Laravel

javascript

$.ajax({ url: '/my-pretty-url', dataType: 'jsonP' })
  .done(function (data, textStatus, jqXHR) {
    console.log(data)
  })
  .fail(function (jqXHR, textStatus, err) {
    throw(err)
View keybase.md

Keybase proof

I hereby claim:

  • I am rudiculous on github.
  • I am rdcl (https://keybase.io/rdcl) on keybase.
  • I have a public key whose fingerprint is C6C8 E33A 1526 5DB4 6989 5D47 4CF9 B171 7C5D 2ED1

To claim this, I am signing this object:

View fun-with-iterators.js
/* # Fun With Iterators
*
* This snippet of code demonstrates how generator functions, iterators
* and promises work in JavaScript.
*
* ## Promises
*
* A promise is an object that represents a value that is yet to be
* determined. As soon as this value is known the promise will be
* resolved. If however something went wrong, the promise will be
View eratosthenes.rs
extern crate time;
fn main() {
let nano = 1_000_000_000.0;
let upto = 1_000_000_000;
let start = time::precise_time_ns();
let primes = sieve(upto);
let end = time::precise_time_ns();
View tcp-proxy.coffee
#!/usr/bin/env coffee
# vim: set ft=coffee:
"use strict"
# A TCP proxy that allows you to dump all communication.
net = require 'net'
[executing, script, source, dest] = process.argv