Skip to content

Instantly share code, notes, and snippets.

require 'rubygems'
require 'blather/client'
require 'awesome_print'
require 'nokogiri'
require 'pretty-xml'
require 'nokogiri-pretty'
include PrettyXML
# This is a Blather bot that receives file transfers that are sent using
# XEP 0096, using either p2p SOCKS5 (XEP 0065), or through the server
#!/usr/bin/env ruby
# encoding: utf-8
require "rubygems"
require "amqp"
require "cinch"
class RailsMonitor
def initialize(bot)
@bot = bot
@AgoristRadio
AgoristRadio / gist:5803075
Last active January 2, 2023 08:54
Bitcoin Dev Luke Jr: Mixing Bitcoins is Money Laundering, and it's Illegal, also Tax Evasion is a Sin. Use of Bitcoin Nor Free Speech is a Right.
<BenderCoin> I was wondering if anyone knew if 'change' addresses are reused to receive change? or are new change addresses\
created when they are needed. I could not find anything on this with some searching.
<BenderCoin> The reason this is important is if someone uses a wallet to send btc to a mix service, then sends it back to t\
he same wallet, then spends it, if the new spend can use an old change address, then the mix service 'clean coins' have now\
been linked with this old change address.
<gmaxwell> BenderCoin: they are not reused.
<Mylon> Someone with more knowledge of the code will need to confirm / elaborate on this, but from what I understood, is th\
at they by default always generate new addresses
<Mylon> Though ofc this is wallet specific
<BenderCoin> gmaxwell, so your response was in regards to bitcoin-qt then.
@AgoristRadio
AgoristRadio / opentransactions-auditing-comments
Last active December 15, 2015 08:29
FellowTraveler comments on Open-Transactions Auditing
<FellowTraveler> okay amiller, et al, I believe I have finished writing up my thoughts / arguments on the auditing.
<FellowTraveler> There's an outline at the top, a list of scenarios, and a summary at the bottom.
<FellowTraveler> https://github.com/FellowTraveler/Open-Transactions/wiki/Auditing
<FellowTraveler> Basically I believe that amiller's requirement that third parties also have incentive to audit the transaction server, happens to be met in the case of Bitcoin, when OT is used in the scenario of voting groups.
<FellowTraveler> I believe that "kills two birds with one stone" and the rest of the article is a comparison of the various scenarios and their different incentives and vulnerabilities.
<FellowTraveler> I believe that without voting groups, there will not be any conventional Bitcoin issuers, since there is no value for them to offer in the realm of pure storage.
<FellowTraveler> Therefore I believe there will only be Bitcoin issuers who operate their own transaction server (such as knotwork) wh
@AgoristRadio
AgoristRadio / Fellow Traveler Quotes.md
Last active December 15, 2015 06:39
#fellowtraveler
(05:39:54 PM) fellowtraveler: what's the price up to today ?
(05:40:04 PM) fellowtraveler: holy fuck $71!
@AgoristRadio
AgoristRadio / Bitcoin OTC Gribble Examples.md
Last active December 15, 2015 06:19
Bitcoin OTC Gribble Examples #bitcoin-otc #gribble

Bitcoin OTC Gribble Examples

  • Place an Order to Sell 30 BTC at a dynamic price of whatever the last MTGox Price was in Person in Los Angeles Area:
<MyNick> ;;sell 30 btc at "{mtgoxlast}" USD in person local to Los Angeles/San Fernando Valley
<gribble> Order id 14160 created.
  • Get the cross Price of Gold and Bitcoin
@AgoristRadio
AgoristRadio / instapaper_bookmarklet.js
Created March 21, 2013 06:11
Bookmarklet Examples #bookmarklets
# Instapaper
javascript:function%20iprl5(){var%20d=document,z=d.createElement('scr'+'ipt'),b=d.body,l=d.location;try{if(!b)throw(0);d.title='(Saving...)%20'+d.title;z.setAttribute('src',l.protocol+'//www.instapaper.com/j/L26o1hPEPERe?u='+encodeURIComponent(l.href)+'&t='+(new%20Date().getTime()));b.appendChild(z);}catch(e){alert('Please%20wait%20until%20the%20page%20has%20loaded.');}}iprl5();void(0)
javascript:function
%
20
iprl5()
{
var %
@AgoristRadio
AgoristRadio / gist_helper.rb
Last active December 15, 2015 05:39 — forked from ninetwentyfour/gist_helper.rb
Create GitHub Gist With Ruby #github #ruby
# http://www.travisberry.com/2011/05/create-github-gist-with-ruby/
require 'net/http'
require 'uri'
require 'json'
def get_gist(fileName,content)
res = Net::HTTP.post_form(URI.parse('http://gist.github.com/api/v1/json/new'),
{ 'files[#{fileName}]' => content,
'login' => 'USER NAME HERE',
'token' => 'API TOKEN HERE',
@AgoristRadio
AgoristRadio / gist:5202850
Last active December 15, 2015 04:39
Is Open-Transactions server an Intermediary MSB? #opentransactions #digitalcash
<FellowTraveler> Hmm
<FellowTraveler> "intermediaries in the transfer of virtual currencies from one person to another person, or to another location, are money transmitters that must register with FinCEN as MSBs unless an exception applies."
<FellowTraveler> Is an OT server actually an intermediary? I don't think it is!
<FellowTraveler> an OT server is a notary.
<FellowTraveler> the transaction is between two people — the OT server countersigns it.
<FellowTraveler> the OT server never takes possession of any of the actual money.
<FellowTraveler> is a notary an intermediary ?
<FellowTraveler> basically the OT server "signs as a witness"
<FellowTraveler> it does not sign as a party.
<FellowTraveler> and it does not take any money in or out — the issuers do that.
@AgoristRadio
AgoristRadio / gist:1895999
Created February 24, 2012 00:12
Intro to Skyhook
(10:23:36 AM) AgoristDuane2: Does anyone on here know how I can mirror wikileaks?
(10:26:00 AM) nphyx: i think the best thing would be to download and permanently seed their torrents, that's the important part
(10:26:41 AM) AgoristDuane2: Okay well where do I find their torrents?
(10:27:57 AM) nphyx: generally they'll come up on any major torrent tracker
(10:28:08 AM) AgoristDuane2: ok
(10:28:14 AM) nphyx: the last one i grabbed was the cable leak, i think i found it on pirate bay
(10:28:27 AM) AgoristDuane2: okay cool
(10:28:55 AM) Hiro: how do you know if you are downloading and seeding the right stuff?
(10:29:23 AM) Hiro: even at 10K seeders those could all be fake, and the file corrupted with some good and lots of fake stuf
(10:29:26 AM) nphyx: I *think* they publish MD5s on their website, but don't quote me on that