| Description | Command |
|---|---|
| Start a new session with session name | screen -S <session_name> |
| List running sessions / screens | screen -ls |
| Attach to a running session | screen -x |
| Attach to a running session with name | screen -r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice | |
| stun: | |
| stun.l.google.com:19302, | |
| stun1.l.google.com:19302, | |
| stun2.l.google.com:19302, | |
| stun3.l.google.com:19302, | |
| stun4.l.google.com:19302, | |
| stun.ekiga.net, | |
| stun.ideasip.com, |
Smart contracts, as the blockchain community defines them, are a subset of computable contracts. The idea of computable contarcts contracts has existed within scholarship since ish the 90's. However, the scholarship and theorizing around the ideas behind computable contracts has been accelerated since blockchain based "smart contracts" have become a technical reality.
- What are smart contracts? (disclosure, mostly my writing)
- What are smart contracts? (what blockchainers think is the original paper here)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var request = require ("request"); | |
| var urlWebHook = "https://hooks.slack.com/services/abcdef"; //the URL you get on your "incoming web hooks" page. | |
| function sendToSlack (s, theUsername, theIconUrl, theIconEmoji, theChannel) { | |
| var payload = { | |
| text: s | |
| }; | |
| if (theUsername !== undefined) { | |
| payload.username = theUsername; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var myVersion = "0.43"; | |
| //last build 4/17/2014; 1:03:26 PM | |
| var http = require ("http"); | |
| var AWS = require ("aws-sdk"); | |
| var s3 = new AWS.S3 (); | |
| var urlpack = require ("url"); | |
| var xmlrpc = require ("xmlrpc"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Minimal River Reader</title> | |
| <script src="http://fargo.io/code/jquery-1.9.1.min.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| var theRiver; | |
| function onGetRiverStream (updatedFeeds) { | |
| theRiver = updatedFeeds; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| /** | |
| * AccountController allows the User to change settings, link with their GitHub accounts, etc | |
| */ | |
| skeletonApp.controller('AccountController', [ | |
| '$scope', '$location', '$rootScope', 'OAuthService', 'ParseService', function($scope, $location, $rootScope, OAuthService, ParseService) { | |
| // redirect to "/login" if user is not logged in |
This gist assumes:
- you have a local git repo
- with an online remote repository (github / bitbucket etc)
- and a cloud server (Rackspace cloud / Amazon EC2 etc)
- your (PHP) scripts are served from /var/www/html/
- your webpages are executed by apache
- apache's home directory is /var/www/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Jureeka | |
| // @namespace http://www.jureeka.org | |
| // @description Turns legal citations in webpages into hyperlinks that direct you to online legal source material. | |
| // ==/UserScript== | |
| /* | |
| Warnings: | |
| * This triggers a memory leak bug in Firefox. |
NewerOlder