I hereby claim:
- I am adriancb on github.
- I am adriancb (https://keybase.io/adriancb) on keybase.
- I have a public key ASAkQk6CBZPmdoM0GOpGNzmYsIFhIJ4veX8KX7a3z6vHigo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import ftplib | |
import os | |
import re | |
""" | |
MIT license: 2017 - Jwely | |
Example usage: | |
``` python | |
import ftplib |
# create a separate partition and initialize with ext4 | |
sudo mkfs.ext4 /dev/xvdb | |
# turn off journaling | |
sudo tune2fs -o journal_data_writeback /dev/xvdb | |
sudo tune2fs -O ^has_journal /dev/xvdb | |
# add to fstab | |
echo '/dev/xvdb /mnt/databases ext4 defaults,auto,noatime,nodiratime,noexec 0 0' | sudo tee -a /etc/fstab |
ffmpeg -i input.avi -acodec libfaac -b:a 128k -vcodec mpeg4 -b:v 1200k -flags +aic+mv4 output.mp4 | |
ffmpeg -i input.mkv -c:v copy -c:a copy output.mp4 |
unless ENV['DRB'] | |
require 'simplecov' | |
SimpleCov.start 'rails' do | |
add_group "Views", "app/views" | |
add_filter '/spec/' | |
add_filter '/config/' | |
add_filter '/lib/' | |
add_filter '/vendor/' | |
end |
PURGE BINARY LOGS BEFORE DATE_SUB( NOW( ), INTERVAL 7 DAY); |
require 'rubygems' | |
require 'mechanize' | |
FIRST_NAME = 'FIRST_NAME' | |
LAST_NAME = 'LAST_NAME' | |
PHONE = 'PHONE' | |
EMAIL = 'EMAIL@provider.com' | |
PARTY_SIZE = 2 | |
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' } |
class people::tommeier { | |
require ruby | |
include chrome | |
include firefox | |
include iterm2::dev | |
include sublime_text_2 | |
include caffeine |
outputTap: function(results, launcher){ | |
if (launcher) { | |
launcher.app.runners.forEach(function(runner) { | |
runner.get('messages').forEach(function(message) { | |
console.log('\n' + message.get('text')) | |
}) | |
}) | |
} |
- 14773 |