Skip to content

Instantly share code, notes, and snippets.

this will ve recovered

Keybase proof

I hereby claim:

  • I am aalvz on github.
  • I am aalvz (https://keybase.io/aalvz) on keybase.
  • I have a public key ASDIKvwPaocVIiI_399Yy7vjh8PJ2rLZiKA7hf8pHIr-zwo

To claim this, I am signing this object:

@AAlvz
AAlvz / buildbot-changes-pb.py (printing changedict)
Last active September 27, 2016 18:21
I'm trying to send custom properties to the build.
log.msg("Found links: " + repr(changedict['links']))
89 del changedict['links']
90 print changedict
91
92 d = self.master.data.updates.addChange(**changedict)
93
94 # set the return value to None, so we don't get users depending on
95 # getting a changeid
96 d.addCallback(lambda _: None)
apt-get install sudo
groupadd sysadmin
useradd -s /bin/bash -m -d /home/intern1 -g sysadmin -G sudo intern1
visudo
passwd intern1
mkdir /opt/tinker
cd /opt/tinker
sudo apt-get install git
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_4.x | bash -
Master.cfg
---
```
104 c['www'] = dict(port=8020,
105 plugins=dict(waterfall_view={}, console_view={}),
106 change_hook_dialects={
107 'base': True,
108 'somehook': {'option1':True,
109 'option2':False}})
GOROLE (FIRST ROLE)
https://github.com/AAlvz/ansible-go
SECOND ROLE
tasks/main.yml
- debug: msg="System {{ lookup('env','GOPATH' }}"
FIRST PROVISION
##################################
# Directory structure on puppetmaster (/etc/puppet)
##################################
hieradata
│   ├── development
│   │   ├── agent.yaml
│   │   ├── hosts.yaml
│   │   └── puppetmaster.yaml
│   └── production
@AAlvz
AAlvz / Install_ABP_Chrome.md
Last active August 29, 2015 14:09
Install ABP in Chrome

Installing ABP in Google Chrome

This is the guide to setup AdBlock Plus manually on Google Chrome.

Large way.

@AAlvz
AAlvz / 0_reuse_code.js
Last active August 29, 2015 14:07
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console