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
// The ArrayList of slaves is not serializable, so fetching them should be marked as @NonCPS so that | |
// no attempt is made to serialize and save the local state of the function. See here for details: | |
// https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#serializing-local-variables | |
@NonCPS | |
def getSlaves() { | |
def slaves = [] | |
hudson.model.Hudson.instance.slaves.each { | |
slaves << it.name | |
} | |
return slaves |
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
root = true | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
indent_size = 2 | |
; Use tabs for indentation (Makefiles require tabs) | |
[{Makefile,**.mk}] |
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
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit" |
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 -g prefix C-a | |
unbind % | |
bind | split-window -h | |
bind - split-window -v | |
bind-key k select-pane -U | |
bind-key j select-pane -D | |
bind-key h select-pane -L | |
bind-key l select-pane -R | |
# status bar |
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
* Sensu | |
- As a nagios replacement basically, plus the extra goodies tha sensu has itself | |
(mutators, events filters , handlers, API, etc). | |
* Riemann | |
- When state tracking is needed, cause of the powerful stream processing language, | |
I'm planning to aggregate events from client agents running on riak nodes, | |
erlang queue size grow, cassandra, others, to track trends and report | |
on events, the idea is to report posible problems before they became critical. |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDHkf7Pnw1swrjJL/m9emEBUzMByLMmLYSCvZn1fZXkc0jwtxV0evHYgbtO3TsZnHr8kMjbWkNHkFHhfnS2yZJ3aWbsIhAuZdqfK8em5JhNfO3xj/wVErC92s6rGiaFNuG3VGOi8iN5hTW3BSJNmUSDSLXVdfmxOvft44T403/cRRtzlYVmBq52rzUvp0KEcPjXLWr3wLOsisnnFOajggfVbeps3gp99DathXvF2PNvr+8NQvfcLfLj6cS7gDcua72Ngig5zXoVX4Wd0yFYNkoR9bpadxfGO53721emxu5x6O1XgiHVWRJcRj+x+zZDx6DQ65Es6LXhNFA77zhxJK5nqX1NPS1BxMxl2ddStOU9W/q9//Hsq/bI8/8ECf2H8CiQU1oS8aL3vxTpOu0ZW5o12Q8xM7G8P62TgnkZccVJ/92POW9LkmXfIYxOg/wmEVtoLGJHAwNe9RCnT1eb1Mh1ge+718H/uB6Xf4l8Blrz8Mv0LKpTN0xN0l9MOGbCt4PNH4fLPuYP2pQyGS48lNOrT2QZ1rraiMyt9+mLaqXbR9x4wk56miH66LLUtgUHENQ1DO/9s8IaES/fXc4KN3dxC8+6yOo0njF4D8aMO4NmkqKenYkuq6DbaeckwUHtH4L33AZHYVS4TCcHTL1pZkXjWitMExLh9y3eD2xXALmpGw== jorge@thor |
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
import rg | |
class Robot: | |
def act(self, game): | |
# if we're in the center, stay put | |
if self.location == rg.CENTER_POINT: | |
return ['guard'] | |
# if there are enemies around, attack them | |
for loc, bot in game.robots.iteritems(): |
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
-- | |
-- xmonad example config file. | |
-- https://github.com/ckoch786/Xmonad | |
-- A template showing all available configuration hooks, | |
-- and how to override the defaults in your own xmonad.hs conf file. | |
-- | |
-- Normally, you'd only override those defaults you care about. | |
-- |
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
defaults | |
log global | |
mode http | |
option httplog | |
option dontlognull | |
retries 3 | |
option redispatch | |
timeout connect 5s | |
timeout client 50s | |
timeout server 50s |
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
Verifying that +jespada is my blockchain ID. https://onename.com/jespada |