Skip to content

Instantly share code, notes, and snippets.

View r3nya's full-sized avatar
☮️
¯\_(ツ)_/¯

Andrew M. r3nya

☮️
¯\_(ツ)_/¯
View GitHub Profile
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
#!/usr/bin/perl
# ShellBOT
# 0ldW0lf - oldwolf@atrix-team.org
# - www.atrix-team.org
# Stealth ShellBot Vers?o 0.2 by Thiago X
# Feito para ser usado em grandes redes de IRC sem IRCOP enchendo o saco :)
# Mudan?as:
# - O Bot pega o nick/ident/name em uma URL e entra no IRC disfar?ado :);
# - O Bot agora responde PINGs;
# - Voc? pode definir o prefixo dos comandos nas configura??es;
<?php
class Setting {
public $values=array();
protected static $_instance = null;
private $config;
function __construct() {
@r3nya
r3nya / vim.md
Last active January 21, 2016 14:26

Config

" Auto install vim-plug
if empty(glob("~/.vim/autoload/plug.vim"))
  execute '!curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.github.com/junegunn/vim-plug/master/plug.vim'
endif

" Plugins
call plug#begin('~/.vim/plugged')
import React, { PropTypes, Component, cloneElement, Children } from 'react';
const window = window;
export default class Fullscreen extends Component {
constructor(props) {
super(props);
this.state = this.getDimensions();
}
import React, { PropTypes, Component, cloneElement, Children } from 'react';
import classNames from 'classnames';
import styles from './Fullscreen.scss';
export default class Fullscreen extends Component {
static propTypes = {
children: PropTypes.node,
scroll: PropTypes.boolean
};
@r3nya
r3nya / .babelrc
Last active February 4, 2016 00:33
{
"presets": ["react", "es2015", "stage-0"],
"plugins": ["transform-decorators-legacy"],
"env": {
"development": {
"presets": ["react-hmre"]
}
}
}
@r3nya
r3nya / gulpfile.js
Created March 22, 2016 11:25
run-sequence
var runSequence = require('run-sequence');
gulp.task('some-task', function() {
runSequence(
['task-1', 'task-2', 'task-3'], // These 3 can be done in parallel
'task-4', // ...then just do this
['task-5', 'task-5'], // ...then do these things in parallel
'task-6', // ...then do this
// ....
);
[alias]
st = status --short --branch
last = log --numstat -1
aa = add --all
bv = branch -vv
ba = branch -ra
filelog = log -u
fl = log -u
grep = grep -Ii
gr = grep -Ii
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.