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
# Redis Cheatsheet | |
# All the commands you need to know | |
redis-server /path/redis.conf # start redis with the related configuration file | |
redis-cli # opens a redis prompt | |
# Strings. |
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
:: This version is not as powerfull as vbs version, please prefere the other one. | |
:: It's just there if you need a non-visual basic way to perform this. | |
:: Restrictions: | |
:: - Password cannot contain a % or finish with @ | |
:: - Chrome adds a / at the end of the URL, not yet managed | |
:: The aim of this script is to execute putty with parameters like ssh://login@host | |
:: Installation: | |
:: - Launch putty.reg to associate ssh:// and telnet:// to this script | |
:: - Edit the putty path in parameter below like puttyPath="C:\Program Files (x86)\putty.exe" |
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
// Check if a slave has < 10 GB of free space, wipe out workspaces if it does | |
import hudson.model.*; | |
import hudson.util.*; | |
import jenkins.model.*; | |
import hudson.FilePath.FileCallable; | |
import hudson.slaves.OfflineCause; | |
import hudson.node_monitors.*; | |
for (node in Jenkins.instance.nodes) { |
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
<html> | |
<head> | |
<title>SignalMan</title> | |
<script src="/Scripts/jquery-1.6.4.min.js"></script> | |
<script src="/Scripts/jquery.signalR-1.1.2.js"></script> | |
<script type="text/javascript"> | |
window.signalman = { connected: false, hub: null, argumentCount: 0 }; | |
$(function() { |