This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET NOCOUNT ON | |
GO | |
PRINT 'Using Master database' | |
USE master | |
GO | |
PRINT 'Checking for the existence of this procedure' | |
IF (SELECT OBJECT_ID('sp_generate_inserts','P')) IS NOT NULL --means, the procedure already exists | |
BEGIN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cloner { | |
curl -H "Authorization: token $1" -s "https://api.github.com/orgs/$2/repos?per_page=1000" \ | |
| sed -n '/"ssh_url"/s/.*ssh_url": "\([^"]*\).*/\1/p' \ | |
| sort -u \ | |
| xargs -n1 git clone; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Mocha = require ('mocha') | |
const assert = require('chai').assert | |
const mocha = new Mocha ({ui: 'bdd'}) | |
mocha.suite.emit('pre-require', this, 'solution', mocha) | |
const even = (n) => n % 2 === 0; | |
describe('Test suite', () => { | |
it('should work', () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT DISTINCT eventname | |
FROM cloudtrail_logs_chargedup_cloudtrail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const serverless = require("serverless-http"); | |
const express = require("express"); | |
const app = express(); | |
// require("express-async-errors"); | |
app.get("/hello", function(_req, res, _next) { | |
console.log("Hello, World"); | |
try { | |
res.status(200).json({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euf -o pipefail | |
scrum=("What did you work on yesterday?" "What are you going to work on today?" "Any blockers?" "Good progress" "Well done" "Any update on this?") | |
RANDOM=$$$(date +%s) | |
selected=${scrum[$RANDOM % ${#scrum[@]} ]} | |
say $selected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tap "concourse/tap" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
brew "autojump" | |
brew "python" | |
brew "awscli" | |
brew "base64" | |
brew "ccat" | |
brew "dockutil" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2018-10-26T08:14:32.613Z","extensionVersion":"v3.2.0"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am aterreno on github. | |
* I am aterreno (https://keybase.io/aterreno) on keybase. | |
* I have a public key ASDyN280WSSo-gmnCpFj-LyLFpCn7KjU9-sdbdV6p0CqmQo | |
To claim this, I am signing this object: |
NewerOlder