I hereby claim:
- I am callumj on github.
- I am callumj (https://keybase.io/callumj) on keybase.
- I have a public key whose fingerprint is 27C2 6E66 2C8B 759D C7C8 98AC 9CDF BAFF 07E0 F16D
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'open-uri' | |
require 'uri' | |
require 'base64' | |
require 'openssl' | |
require 'cgi' | |
def query_aws(host, path, action, params = {}, method = "GET") |
--- | |
# Configures the system for deploying My School Day | |
- name: Ensure backend directory exists | |
file: path=/apps/backend state=directory owner=app group=apps mode=0770 | |
- name: Ensure shared directory exists | |
file: path=/apps/shared state=directory owner=app group=apps mode=0770 | |
- name: Ensure shared sub directories exist |
I hereby claim:
To claim this, I am signing this object:
<html> | |
<head> | |
<style type="text/css"> | |
td, th { | |
text-align: center; | |
} | |
.view { | |
cursor: pointer; | |
} |
files = Dir.glob("#{ENV["FOLDER"]}/**.csv").sort | |
files.each do |file| | |
worksheet = workbook.add_worksheet(file.gsub("#{ENV["FOLDER"]}/", "").gsub(".csv", "").gsub("*", "")) | |
row_indx = 0 | |
CSV.foreach(file) do |row| | |
row.each_with_index do |cell, cell_indx| | |
worksheet.add_cell(row_indx, cell_indx, cell) | |
end | |
row_indx += 1 | |
end |
tcpdump -i eth0 -s 0 -l -w - dst port 3306 | strings | perl -e ' | |
while(<>) { chomp; next if /^[^ ]+[ ]*$/; | |
if(/^(INSERT|UPDATE)/) { | |
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); | |
$time = "$hour:$min"; | |
if (defined $q) { | |
if ($q =~ /INSERT\s+INTO\s+`(\w+)`/) { | |
print "$time,insert,$1\n"; | |
} | |
if ($q =~ /UPDATE\s+`(\w+)`/) { |
--1be8c94f995d47bb81e298f853aba9c0 | |
Content-Disposition: form-data; name="avatar"; filename="FSQ-Scr1.png" | |
Content-Type: image/png | |
âPNG | |