I hereby claim:
- I am dlapiduz on github.
- I am ddl (https://keybase.io/ddl) on keybase.
- I have a public key whose fingerprint is 0024 4E67 297C 7F82 50BA A7C6 0E86 2246 FF97 2E79
To claim this, I am signing this object:
#!/bin/bash | |
repos=$(curl -s "https://api.github.com/search/repositories?q=user:18F+cg-" | jq -r '.items[] | .full_name') | |
for repo in $repos; do | |
echo "Protecting $repo" | |
curl -s "https://api.github.com/repos/$repo/branches/master" \ | |
-XPATCH \ | |
-H "Authorization: token $GH_KEY" \ |
I hereby claim:
To claim this, I am signing this object:
class python { | |
file { "/tmp/rpm": | |
owner => root, | |
group => root, | |
mode => 644, | |
ensure => directory, | |
source => "puppet:///files/rpm/", | |
recurse => true, | |
} |
[alias] | |
c = commit -m | |
ci = commit | |
st = status | |
a = add | |
aa= !git add -u && git add . && git status | |
cob = checkout -b | |
up = !git fetch upstream && git rebase upstream/master | |
ir = !git rebase -i origin/master | |
done = !git fetch && git rebase origin/master && git checkout master && git merge @{-1} && rake && git push |
CREATE TABLE hmda | |
(year integer, | |
respondent char(10), | |
agency integer, | |
loan_type integer, | |
property_type integer, | |
loan_purpose integer, | |
occupancy integer, | |
loan_amount integer, | |
preapproval integer, |
--- | |
platform: linux | |
image: docker:///owasp/zap2docker-stable | |
run: | |
path: zap-cli | |
args: | |
- quick-scan | |
- https://cloud.gov/ |
Use bundler and | |
alias bosh="BUNDLE_GEMFILE=SOMEPATH/Gemfile bundle exec bosh" |
require "rubygems" | |
require 'open-uri' | |
require "nokogiri" | |
url = "http://cdn.playwire.com/343/mrsses/397.xml" | |
doc = Nokogiri::HTML(open(url)) | |
doc.xpath('//item/content').each do |d| | |
url_to_get = d.attributes['url'].value |
cat ~/.ssh/id_dsa.pub | ssh user@hostname "cat - >> ~/.ssh/authorized_keys" |
def conditionally_enable_maintenance_page | |
return true | |
end |