Run k6 for all branches prefixed with k6/
, i.e. k6/my-test
View resize
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
tell application "Google Chrome" to set the bounds of the front window to {1376, 0, 3440, 1440} | |
tell application "iTerm" to set the bounds of the front window to {1376, 0, 3440, 1440} | |
tell application "Slack" to set the bounds of the front window to {0, 0, 1376, 1440} | |
tell application "System Events" to tell application process "WhatsApp" | |
tell window 1 | |
set {size, position} to {{1376, 1440}, {0, 0}} | |
end tell |
View README.md
View README.md
- download gpr into
~/bin
- change org and repo in the script
chmod +x ~/bin/gpr
- edit
~/.zshrc
addingexport PATH="$HOME/bin:$PATH"
cd your-cloned-dir
thengpr
View create-users.ts
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
/* | |
For deploying it: | |
Install aws-cdk: https://github.com/awslabs/aws-cdk then | |
npm run build | |
cdk deploy | |
*/ | |
import cdk = require('@aws-cdk/cdk') |
View putsbox-reset-password.html
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head profile="http://selenium-ide.openqa.org/profiles/test-case"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="selenium.base" href="http://putsbox.com" /> | |
<title>Test</title> | |
</head> | |
<body> | |
<table cellpadding="1" cellspacing="1" border="1"> |
View index.html
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
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-3914566-6', 'auto'); | |
ga('send', 'pageview'); | |
</script> |
View Gemfile
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
source 'https://rubygems.org' | |
gem 'sinatra' | |
gem 'active_support' |
View query.go
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
package main | |
import ( | |
"fmt" | |
"github.com/crowdmob/goamz/aws" | |
"github.com/crowdmob/goamz/dynamodb" | |
"log" | |
"os" | |
"time" | |
) |
View scan.rb
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
require 'aws-sdk' | |
require 'pry-byebug' | |
class MobyEvent | |
SCAN_WORKERS = 4 | |
class << self | |
def client | |
@dynamodb ||= Aws::DynamoDB::Client.new( | |
region: 'us-east-1', |
View gist:418119705b569fb2f9a5
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
# lib/liquid_i18n_rails.rb | |
module LiquidI18nRails | |
def t(string) | |
I18n.t(string.to_sym) | |
end | |
end | |
# config/initializers/liquid.rb | |
require 'liquid_i18n_rails' | |
Liquid::Template.register_filter LiquidI18nRails |
NewerOlder