A side by side comparison (now that I finally got it figured out!) of Play Framework v2.2.x promise unwrapping in Java and Scala.
public Promise<ObjectNode> getEmployees(final Optional<String> filterEmail)
{
// Call the webservice
Paste these functions into the js console on https://dogedraw.firebaseapp.com and run them to nyaan nyaan nyaan..
Developed at http://hs.hact.io 2015!!
function clearScreen(w, h, color) {
var pixelDataRef = new Firebase('https://dogedraw.firebaseio.com/pixels');
for (var i = 0; i < h; i++) {
There was a library I remember seeing that implemented some measure of chaining (similar to JQuery's?), might have been related to futures? Dunno.. should find it again.
rails g model identity name:string email:string password_digest:string |
require 'formula' | |
require 'requirement' | |
class Ruby192EqualGreater < Requirement | |
fatal true | |
# default_formula 'ruby' | |
satisfy { | |
ruby_ver_required = Version.new('1.9.2') |
#!/usr/bin/env python | |
# Copyright (c) 2013 Glenn 'devalias' Grant | |
import os | |
import sys | |
############## | |
# /dev/alias Import path hack for ./drone-bizsploit | |
############## | |
import pprint | |
mypath = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) |
@echo off | |
@rem ---------------- | |
@rem Config - Banner | |
@rem ---------------- | |
set BAT_VER=0.1 (20130703) | |
set BANNER_DASH=-------------------------------- | |
set BANNER_NAMEVER=Erpscan Automator v%BAT_VER% | |
set BANNER_BY=Created By: Glenn 'devalias' Grant (http://devalias.net) | |
set BANNER_UPDATES=Updates at: https://gist.github.com/alias1/6118709 | |
set BANNER_LICENSE=License: The MIT License (MIT) - Copyright (c) 2013 Glenn 'devalias' Grant (see http://choosealicense.com/licenses/mit/ for full license text) |