As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/usr/bin/python | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected]) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
The OpenSSL toolkit stays under a dual license, i.e. both the conditions of | |
the OpenSSL License and the original SSLeay license apply to the toolkit. | |
See below for the actual license texts. Actually both licenses are BSD-style | |
Open Source licenses. In case of any license issues related to OpenSSL | |
please contact [email protected]. | |
(c) Tim Brown, 2014 | |
<mailto:[email protected]> | |
<http://www.nth-dimension.org.uk/> / <http://www.machine.org.uk/> |
import os | |
import requests | |
token = '' # token needs delete_repo permission | |
organization = '' # or user | |
url = 'https://api.github.com/repos/{}'.format(organization) | |
headers = {'Accept': 'application/vnd.github.v3+json', | |
'Authorization': 'token {}'.format(token)} | |
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/sh | |
# | |
# Copyright (C) 1995 - 1998, Ian A. Murdock <[email protected]> | |
# Copyright (C) 1998, 1999, Guy Maor | |
# Copyright (C) 2002, Matthew Wilcox | |
# Copyright (C) 2002, 2004, 2005, 2007, 2009 Clint Adams | |
# Copyright (C) 2009 Manoj Srivasta | |
# Copyright (C) 2016 Aline Freitas | |
# | |
# This script is called from /usr/src/linux/arch/i386/boot/install.sh. |
#!/bin/sh | |
set -eu | |
# This script is intended to be run as the xautolock locker and notifier. | |
# It requires i3lock, and dunst is optional. | |
# Copy or link this script as /usr/bin/slock to let xfce4-session run it. | |
if [ "$(basename "$0")" = "slock" ]; then | |
cmd=lock |
""" | |
This is the product of me spending a few minutes trying to | |
assess how much of my LastPass vault is potentially vulnerable | |
to the recent CloudFlare issue. | |
It's hacky, and probably broken in some way, but it's a start. | |
Gist comments with improvements very welcome. | |
""" |
#!/bin/bash | |
# ------------------------------------------------------------------------- | |
# Script to generate mysqldump from wordpress running inside a container | |
# | |
# Copyright (C) 2016 Aline Freitas <[email protected]> | |
# | |
# It has two command line arguments: | |
# -c: the docker container name | |
# -d: the html volume in your host pointing to the root of your wordpress installation. | |
# It needs to be where exist the wp-config.php file. |
O propósito aqui é de criar uma VM Azure usando chef em local-mode, ou seja a partir de uma máquina de trabalho.
Instalar ChefDK https://downloads.chef.io/chefdk
Instalar o plugin chef-provisioning-azurerm
Em qualquer terminal, seja num sistema Linux, Mac ou Windows Powershell o procedimento é o mesmo.
I hereby claim:
To claim this, I am signing this object: