I hereby claim:
- I am nullstyle on github.
- I am nullstyle (https://keybase.io/nullstyle) on keybase.
- I have a public key whose fingerprint is EE73 7BBD E936 B0F0 4DB3 8E31 80F3 1915 AC09 77F4
To claim this, I am signing this object:
| Making clean in . | |
| test -z "test-suite.log .gitignore~ *~" || rm -f test-suite.log .gitignore~ *~ | |
| rm: ~: is a directory | |
| make[1]: [clean-generic] Error 1 (ignored) | |
| rm -rf .libs _libs | |
| test -z "lib/libsoci.a lib/lib3rdparty.a lib/libmedida.a" || rm -f lib/libsoci.a lib/lib3rdparty.a lib/libmedida.a | |
| rm -f *.o | |
| rm -f lib/asio/src/*.o | |
| rm -f lib/http/*.o | |
| rm -f lib/json/*.o |
| var gulp = require('gulp'); | |
| var spawn = require('child_process').spawn; | |
| var _ = require("lodash"); | |
| gulp.task("test", ['db:ensure-created-test'], function() { | |
| log("running tests here"); | |
| }); | |
| gulp.task("db:ensure-created", function() { | |
| log("creating db"); |
| <?php | |
| $url = "https://test.stellar.org:9002"; | |
| $post_data = array( | |
| "method" => "create_keys" | |
| ); | |
| $data_string = json_encode($post_data); | |
| $ch = curl_init(); | |
I hereby claim:
To claim this, I am signing this object:
An example of something that livescript brings to the table above and beyond javascript I'd like to show you the <- operator.
As explained in the docs, Backcalls let you "unnest" callbacks, making async code more readable. For example:
#async node.js
err, data <- fs.read-file "1.txt"
console.log data| [Service] | |
| ExecStart=/usr/bin/docker run --name=webs.0.service ubuntu /bin/bash -c 'while true; do echo Hello World; sleep 1; done' | |
| ExecStop=/usr/bin/docker kill webs.0.service | |
| [Unit] | |
| After=docker.service | |
| Description=aedile: webs.0.service | |
| Requires=docker.service |
| require 'rubygems' | |
| require 'typhoeus' | |
| Typhoeus::Request.get("http://msn.com") #succeeds | |
| Typhoeus::Request.post("http://msn.com") #segfault |
| # =========================== | |
| # = Getting an access token = | |
| # =========================== | |
| require 'oauth' | |
| require 'satisfaction' | |
| satisfaction = Satisfaction.new | |
| satisfaction.set_consumer "XXXX", "XXXXXXXXX" | |
| request_token = satisfaction.request_token | |
| system("open #{satisfaction.authorize_url(request_token)}") | |
| puts "waiting for you to authorize the token... press return to continue" |
| <%= link_to_function "Our Support Community", "GSFN.goto_gsfn()" %> |
| <%= FastPass.script(CONSUMER_KEY, CONSUMER_SECRET, current_user.email, current_user.name, current_user.id) %> |