Skip to content

Instantly share code, notes, and snippets.

View marcingrzejszczak's full-sized avatar
🌴
PTO till May 6th 2024

Marcin Grzejszczak marcingrzejszczak

🌴
PTO till May 6th 2024
View GitHub Profile
@caniszczyk
caniszczyk / clone-all-twitter-github-repos.sh
Created October 9, 2012 04:25
Clone all repos from a GitHub organization
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'
@cbeams
cbeams / links.md
Last active January 28, 2019 18:02
Links from "Spring Framework 3.2 – Themes and Trends" webinar on January 16th, 2013
@hgomez
hgomez / jenkins-plugins-batch-install.md
Last active December 11, 2023 07:47
Mass install/update of Jenkins Plugins

Scripted Jenkins Plugins install

Jenkins has a very rich catalog of plugins and it's quite easy to install and update them via UI. BTW, when you want to add tons of plugin via UI, it's a fairly long and boring procedure.

Hopefully, mass installation (or update) could be easy using a simple bash script (curl/python required) :

Create a file containing plugins to be installed (or updated), ie iplugins :

@jkubrynski
jkubrynski / jstat_options
Created April 6, 2015 18:47
Put this file in ~/.jvm_stat and then execute jstat -gchisto <PID>
option gchisto {
column {
header "^TT^"
width 3
data sun.gc.policy.tenuringThreshold
}
column {
header "A0^"
width 8
scale K