sudo apt-get install openvpn
sudo cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0 /etc/openvpn/easy-rsa2
cd /etc/openvpn/easy-rsa2
| ffmpeg -i INFILE -r 25 -f mpeg -vcodec mpeg1video -ar 48000 -b 1500k -acodec mp2 -ar 44100 -ac 1 -y OUTFILE.mpg |
| #!/usr/bin/env bash | |
| ############### USAGE ############### | |
| # | |
| # 1. Create a new workspace on Cloud9 using the "Blank" template | |
| # | |
| # 2. Run this command in the console: | |
| # bash <(curl -fsSL https://gist.githubusercontent.com/padde/3c6301f15cbd5025e131740dae33aa95/raw/c9-elixir.sh) | |
| # | |
| # 3. There is no step 3! |
| require 'active_support/duration' | |
| offset = 0 | |
| puts "attempt 0 immediately" | |
| 0.upto(24) do |count| | |
| # https://github.com/mperham/sidekiq/blob/v6.1.2/lib/sidekiq/job_retry.rb#L225 | |
| average_jitter = (15 * (count + 1)) | |
| delay = count**4 + 15 + average_jitter |
| #!/bin/bash | |
| echo "===================================================================" | |
| echo "This bash script will upload tomato.trx in the current directory to" | |
| echo "192.168.11.1 during the router's bootup." | |
| echo | |
| echo "* Set your ethernet card's settings to:" | |
| echo " IP: 192.168.11.2" | |
| echo " Mask: 255.255.255.0" | |
| echo " Gateway: 192.168.11.1." |
| class Fixnum | |
| def each_bit | |
| 8.times do |p| | |
| yield (self & 1 << p) >> p | |
| end | |
| end | |
| end |
| # in ~/Library/KeyBindings/DefaultKeyBinding.dict | |
| { | |
| "~ " = ("insertText:", " "); | |
| } |
| plot = Plot[Cos[x],{x,0,2\[Pi]}]; | |
| mydata = Flatten[Cases[plot, Line[x__] -> x, Infinity], 1]; | |
| Export["/Users/padde/Desktop/plot-data.dat", mydata, "CSV"]; |
I hereby claim:
To claim this, I am signing this object: