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
# I wanted to generate 100 replicasets to check and overload etcd | |
# the manifest is a deployment with a template variable that apply a change worth a new rs (e.g. a image tag) | |
for I in $(seq 30 70); do export I && envsubst '$I' < <manifest.yml> | kubectl apply -f - && sleep 10; done; | |
# bombard an api with curl. Requires seq and gnu-parallel | |
seq 1000 | parallel -n0 "<request>" |
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
#!/bin/bash | |
# Copyright (c) 2010, 2012 Yu-Jie Lin | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in | |
# the Software without restriction, including without limitation the rights to | |
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
# of the Software, and to permit persons to whom the Software is furnished to do | |
# so, subject to the following conditions: | |
# |
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
`curl -H "" -H "" url` | |
`curl -X POST -H "" -H "Accept-Version: v1" -d <payload> url` | |
http://tipsonubuntu.com/2017/05/30/install-sublime-text-3-ubuntu-16-04-official-way/ | |
--youtube-dl | |
youtube-dl -x --audio-format mp3 https://www.youtube.com/watch\?v\=bpOR_HuHRNs -o "~/Music/%(title)s.%(ext)s" |