I hereby claim:
- I am neilrobbins on github.
- I am neilrobbins (https://keybase.io/neilrobbins) on keybase.
- I have a public key ASAKOSp_oy9wgl97yNBGB_z6JigdNoyDV7-O183TUwD_wwo
To claim this, I am signing this object:
ORG=PUT_THE_ORG_NAME_HERE;ACCESS_TOKEN=PUT_THE_TOKEN_HERE; curl --header "PRIVATE-TOKEN: $ACCESS_TOKEN" "https://gitlab.com/api/v4/groups/$ORG/projects" | sed 's/,/\'$'\n''/g' | grep -e 'ssh_url_to_repo*' | cut -d \" -f 4 | xargs -L1 git clone |
ORG=PUT_THE_ORG_NAME_HERE;PAGE=1;ACCESS_TOKEN=PUT_THE_TOKEN_HERE; curl "https://api.github.com/orgs/$ORG/repos?page=$PAGE&per_page=100&access_token=$ACCESS_TOKEN" | grep -e 'git_url*' | cut -d \" -f 4 | xargs -l1 git clone |
I hereby claim:
To claim this, I am signing this object:
#! /bin/sh - | |
#argument defaults | |
x="foo" | |
y="bar" | |
# argument handling | |
while test $# -gt 0 | |
do | |
case "$1" in |
vsql -e -w "PasswordHere" -c "\dt" | awk 'BEGIN { FS = "|" } $1 ~ /SchemaNameHere\>/ { for (i=1;i<=NF;i++) gsub (/(^ *)|(\W*$)/,"",$i); print "SELECT '\''" $1 "." $2 "'\'', COUNT(*) FROM " $1 "." $2 ";" }' | vsql -t -w "PasswordHere" | awk '/SchemaNameHere\>/ {print $1 "|" $3}' |
using System; | |
using System.Web; | |
using System.Web.Helpers; | |
namespace CSRF.Infrastructure | |
{ | |
public class AntiForgerySessionDataProvider : IAntiForgeryAdditionalDataProvider | |
{ | |
private readonly Func<string, string> _sessionKeyValuePair = sessionId => string.Format("Session: {0}", sessionId); | |
public string GetAdditionalData(HttpContextBase context) |
git log --pretty=format:"%h%x09%an%x09%ad%x09%s" --graph --date=short > gitlog.txt |
DECLARE @constraints_to_remove TABLE ( | |
schemaName nvarchar(128) NOT NULL, | |
tableName sysname NOT NULL, | |
constraintName sysname NOT NULL); | |
INSERT @constraints_to_remove ( | |
schemaName, | |
tableName, | |
constraintName) | |
SELECT |
awk '{gsub (/^[ \t]+|[ \t]+$/,""); print "\"" $0 "\"," > "OUTPUT.csv" }' INPUT.txt |
(defn foo | |
[arg] | |
(cond | |
(string? arg) | |
(println "a string") | |
(and (number? arg) | |
(pos? arg)) | |
(println "pos arg yo!") |