Skip to content

Instantly share code, notes, and snippets.

View dangerousbeans's full-sized avatar

Joran Kikke dangerousbeans

  • New Zealand
View GitHub Profile
Verify myself: aaaa2d825a464affb73790e4676cec1d
http://blockchain-devs.xpo.network #
This file has been truncated, but you can view the full file.
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Eos = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
var asn1 = exports;
asn1.bignum = require('bn.js');
asn1.define = require('./asn1/api').define;
asn1.base = require('./asn1/base');
asn1.constants = require('./asn1/constants');
// Compile with a traditional, safe version of Solidity
pragma solidity 0.0.1;
contract MultiSigParty_________Letsgo {
mapping (address => uint) amounts_of_danger;
address[] public sheep;
// Don't send money to this
function() public payable {
SomethingHappened("some money arrived", 42);
pragma solidity ^0.4.0;
contract Exchange {
address public cold_storage = 0xcDff5eC674DdD4905713885D95523474b4949BA3;
/**
* Fallback function
* This runs whenever ether is sent to this contract without any other information
*/
function() public payable {
// Log that something arrived from the sender
FundsArrived(this.balance, msg.sender);
joran@SilverStar: ~/Documents/development/patchdeck master ⚡ $ node server.js
Log level: notice
RELOAD INDEX: {"version":5,"since":1460595421286.001}
LOAD LINKS SINCE null 1460595421286.001
.buffer.js:627
const buffer = this.subarray(start, end);
^
RangeError: Maximum call stack size exceeded
at new Uint8Array (native)
@dangerousbeans
dangerousbeans / ffmpeg_commands.sh
Created January 17, 2016 21:51
ffmpeg Video Stabilization with Vid.Stab
# For all .MP4 files, generate matching video stabalization files, ending .trf
find . -name "*.MP4" -print0 | xargs -0 -I filename ffmpeg -i filename -vf vidstabdetect=shakiness=10:accuracy=15:result="filename.trf" -f null -
# For all pairs of MP4 and .trf files, transform and output matching video
find . -name "*.MP4" -print0 | xargs -0 -I filename ffmpeg -i filename -vf vidstabtransform=input="filename.trf" -qscale 1 filename.stabilisted.mp4
INDEX = 0
begin
while true do
INDEX = INDEX + 1
puts "DERP"
raise Exception if INDEX > 10
end
Curry ordering technical suport
13 March 2011 at 09:56
I tried to order curry. I was hungry. The JustEat site glitched out and wouldn't accept veggi Korma and Saag Paneer at the same time, so I clicked live support chat....
----------------------------------
There are no operators available at the moment. If you would like to leave a message, please type it in the input field below and click "Send" button
Hi. Welcome to Just-Eat Customer Services.
IntercomRails.config do |config|
# == Intercom app_id
#
config.app_id = ENV['INTERCOM_APP_ID']
# == Intercom secret key
# This is required to enable secure mode, you can find it on your Intercom
# "security" configuration page.
#
config.api_secret = ENV['INTERCOM_API_SECRET']
@dangerousbeans
dangerousbeans / gist:10095859
Created April 8, 2014 06:02
Mac OS Postgres Manual commands
Start:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
Stop:
pg_ctl -D /usr/local/var/postgres stop -s -m fast