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
# ~/.bash_completion | |
USER_BASH_COMPLETION_COMPAT_DIR="$HOME/.bash_completion.d/" | |
readonly USER_BASH_COMPLETION_COMPAT_DIR | |
# source compat completion directory definitions | |
if [[ -d $USER_BASH_COMPLETION_COMPAT_DIR && -r $USER_BASH_COMPLETION_COMPAT_DIR && \ | |
-x $USER_BASH_COMPLETION_COMPAT_DIR ]]; then | |
for i in $(LC_ALL=C command ls "$USER_BASH_COMPLETION_COMPAT_DIR"); do | |
i=$USER_BASH_COMPLETION_COMPAT_DIR/$i |
This file has been truncated, but you can view the full file.
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
execve("/usr/bin/tmux", ["tmux"], [/* 21 vars */]) = 0 | |
brk(NULL) = 0x7fffbd700000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8917ad0000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=24795, ...}) = 0 | |
mmap(NULL, 24795, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8917ac9000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) |
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
[23:41:37] project / (master *) | |
> vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Checking if box 'ubuntu/xenial64' is up to date... | |
==> default: Clearing any previously set forwarded ports... | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 8000 (guest) => 8001 (host) (adapter 1) |
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
INFO global: Vagrant version: 1.9.5 | |
INFO global: Ruby version: 2.2.5 | |
INFO global: RubyGems version: 2.4.5.1 | |
INFO global: VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1" | |
INFO global: VAGRANT_OLD_ENV_PWD="/home/matheus/workspace/sthima/netell" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_OLD_ENV_TERM="xterm-256color" | |
INFO global: VAGRANT_OLD_ENV_NAME="DESKTOP-SR404CD" | |
INFO global: VAGRANT_OLD_ENV_LESSOPEN="| /usr/bin/lesspipe %s" | |
INFO global: VAGRANT_INSTALLER_ENV="1" |
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
INFO global: Vagrant version: 1.9.5 | |
INFO global: Ruby version: 2.2.5 | |
INFO global: RubyGems version: 2.4.5.1 | |
INFO global: VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1" | |
INFO global: VAGRANT_OLD_ENV_PWD="/home/matheus/workspace/sthima/netell" | |
INFO global: VAGRANT_OLD_ENV_LESSOPEN="| /usr/bin/lesspipe %s" | |
INFO global: VAGRANT_OLD_ENV_VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1" | |
INFO global: VAGRANT_OLD_ENV_LANG="en_US.UTF8" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" | |
INFO global: VAGRANT_OLD_ENV_SSH_AUTH_SOCK="/tmp/ssh-wlHqbEDYEREC/agent.756" |
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
#!/usr/bin/env python3 | |
from subprocess import run, PIPE | |
completed_process = run(["docker-machine.exe", "env", "--shell", "bash"], stdout=PIPE) | |
docker_env = completed_process.stdout.decode("ascii") | |
for line in docker_env.split("\n"): | |
if "DOCKER_CERT_PATH" in line: |
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
all: | |
nasm -f bin -o small-raw.so small-raw.asm | |
chmod +x small-raw.so |
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 usdt module | |
const USDT = require("usdt"); | |
// Create a Provider, which we'll use to register probes | |
const provider = new USDT.USDTProvider("nodeProvider"); | |
// Register your first probe with two arguments by passing its types | |
const probe1 = provider.addProbe("firstProbe", "int", "char *"); | |
// Enable provider (needed to fire probes later) |
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
from time import sleep | |
import stapsdt | |
# Create a Provider, which we'll use to register probes | |
provider = stapsdt.Provider("pythonapp") | |
# Register your first probe with two arguments by passing its types | |
probe = provider.add_probe( | |
"firstProbe", stapsdt.ArgTypes.uint64, stapsdt.ArgTypes.int32) |
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 file is generated by ./tools/gen-postmortem-metadata.py. Do not edit directly. | |
// | |
// Need to import standard headers before redefining private, otherwise it | |
// won't compile | |
#include <algorithm> | |
#include <array> | |
#include <atomic> |
OlderNewer