THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| if (Meteor.isServer) { | |
| var Fiber = Npm.require('fibers'); | |
| function async (cb) { | |
| Meteor.setTimeout(function () { | |
| cb(null, 'hello'); | |
| }, 3000); | |
| } | |
| Meteor.methods({ |
| (function(global){ | |
| "use strict"; | |
| function constEnumPropValueDesc(v){ | |
| return { | |
| value: v, | |
| enumerable: true, | |
| configurable: false, | |
| writable: false | |
| }; |
| var ripple = require('ripple-lib'); | |
| // Example destination and amount | |
| // -------------------------------------------------- | |
| var destination = "rfbKLd1VLB3o6fpkhCJexckArjoMmBm2wG"; | |
| var amount = "1/CNY/rJL724ibxVFb9EKkTe2StQ4u6ViWAQm1Wc"; | |
| // -------------------------------------------------- |
| var ripple = require('ripple-lib'); | |
| var remote = ripple.Remote.from_config({ | |
| // "trace" : true, | |
| "websocket_ip" : "122.70.133.11", | |
| "websocket_port" : 5006, | |
| "websocket_ssl" : false | |
| }); | |
| remote.connect(); | |
| Meteor.startup(function () { | |
| Session.set('YTApiReady', false); | |
| Session.set('channelRendered', false); | |
| }); | |
| onYouTubeIframeAPIReady = function() { | |
| Session.set('YTApiReady', true); | |
| }; | |
| Template.channel.created = function () { |
| /* | |
| Gmail/Google Reader Sidebar Scroll Shadows | |
| ------------------------------------------- | |
| Neat effect that mimics the scroll shadows that appear in the GOogle sitde bar and visually cues users to scroll up or down depending on their position. | |
| Credit goes to Lea Verou for this awesome find. | |
| Source: | |
| Lea's Talk: http://www.youtube.com/watch?v=3ikye7Qc7Ak | |
| Code Source: http://lea.verou.me/more-css-secrets/#slide9 | |
| <html> | |
| <head> | |
| <title>Test</title> | |
| <script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
| <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> | |
| <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> | |
| <script src="http://fb.me/react-0.5.1.js"></script> | |
| <script src="http://fb.me/JSXTransformer-0.5.1.js"></script> | |
| </head> |
| HEDGE = node riphedge | |
| all: | |
| npm install ripple-lib | |
| hedge: | |
| -while date; do \ | |
| $(HEDGE); \ | |
| sleep 100; \ | |
| done |
| (defmodule joes-fav | |
| (export all)) | |
| (defun universal-server () | |
| (receive | |
| ((tuple 'become server-function) | |
| (funcall server-function)))) | |
| (defun factorial | |
| ((0) 1) |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!