This file contains 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
/* usbreset -- send a USB port reset to a USB device | |
* | |
* Compile using: gcc -o usbreset usbreset.c | |
* | |
* | |
* */ | |
This file contains 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
# Referred to https://dev.to/gjrdiesel/installing-curl-with-http3-on-macos-2di2 | |
# Clean up any old version of curl you may have already tried to install | |
brew remove -f curl | |
# Download the curl ruby install script provided by cloudflare | |
curl -O https://gist.githubusercontent.com/sinwoobang/bfc7cc8d4d38157bde064fc2ccb60c64/raw/bf55b7c6af9ed06d2cd909ea167a69948a800e7d/curl.rb | |
# Install curl via that script from the latest git repos | |
brew install --HEAD -s curl.rb |
This file contains 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
#! /bin/bash | |
# | |
# Copyright(c) 2011-2013 Brother Industries, Ltd. | |
# All Rights Reserved. | |
# | |
#Brother retains any and all copyrights to the Software. | |
#In no case this Agreement shall be construed to assign | |
#or otherwise transfer from Brother to User any copyrights | |
#or other intellectual property rights to whole or any part | |
#of the Software. |
This file contains 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
<?xml version="1.0" encoding="UTF-8" ?> | |
<opml version="1.1"> | |
<head><title>Dansk Radio HD</title><ownerEmail>x2q@x2q.net</ownerEmail></head> | |
<body> | |
<outline text="DR Netradio"> | |
<outline type="audio" text="DR P1" url="http://live-icy.gss.dr.dk/A/A03H.mp3.m3u" /> | |
<outline type="audio" text="DR P2 Klassisk" url="http://live-icy.gss.dr.dk/A/A04H.mp3.m3u" /> | |
<outline type="audio" text="DR P3" url="http://live-icy.gss.dr.dk/A/A05H.mp3.m3u" /> | |
<outline type="audio" text="DR P4 Østjylland" url="http://live-icy.gss.dr.dk/A/A14H.mp3.m3u" /> | |
<outline type="audio" text="DR P5" url="http://live-icy.gss.dr.dk/A/A25H.mp3.m3u" /> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<ThreeDSecure> | |
<Message id="999"> | |
<VEReq> | |
<version>1.0.2</version> | |
<pan>4444333322221111</pan> | |
<Merchant> | |
<acqBIN>411111</acqBIN> | |
<merID>99000001</merID> | |
<password>99000001</password> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<ThreeDSecure> | |
<Message id="999"> | |
<CRReq> | |
<version>1.0.1</version> | |
<pan>4444333322221111</pan> | |
<Merchant> | |
<acqBIN>411111</acqBIN> | |
<merID>99000001</merID> | |
<!--<password>99000001</password>--> |
This file contains 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
links "http://www.google.dk/search?q=MasterCard+"merID"+ThreeDSecure" |
This file contains 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
#!/bin/sh | |
# WD Live Duplicity Back Up To Amazon S3 (and Glacier) | |
# | |
# Requires python-boto, duplicity, util-linux, and trickle to be installed | |
# Install using: apt-get install python-boto duplicity util-linux trickle | |
# | |
# See this blog post for more info: | |
# http://www.x2q.net/blog/2013/02/24/howto-backup-wd-mybook-live-to-amazon-s3-and-glacier/ |
This file contains 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
#!/usr/bin/env ruby -w | |
require 'net/http' | |
require 'net/https' | |
require 'openssl' | |
require 'uri' | |
DIR = File.dirname(__FILE__) | |
uri = URI.parse("https://test.directory.securecode.com:443/") |
This file contains 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
source :rubygems | |
gem 'rack-contrib' | |
gem 'thin' | |
gem 'rack-ssl-enforcer' |
NewerOlder