Skip to content

Instantly share code, notes, and snippets.

View atbtavares's full-sized avatar

Andre Tavares atbtavares

View GitHub Profile
@filipegorges
filipegorges / README.md
Created November 11, 2017 22:14
Configuração do Docker no Hyper-V (Windows)

Docker + Hyper-V (Windows 10)

Step-by-step

  1. Ativar a feature Hyper-V na tela Windows Features (Requer Windows 10 PRO, ou Windows Server com Hyper-V)
  2. Reiniciar
  3. Seguir o passo a passo da sessão Example, até o step TRÊS (https://docs.docker.com/machine/drivers/hyper-v/)
  4. Abrir o PowerShell como Administrador, e execute: docker-machine create –d hyperv --hyperv-virtual-switch "Primary Virtual Switch" default
  5. Criar ou mover a pasta do projeto para a pasta C:/Users
  6. Botão direito na pasta, Properties -> Security
@Kamisama666
Kamisama666 / phpzmqinstall.sh
Last active March 18, 2023 15:58
Installation of ZeroMQ and php-zmq extension on Ubuntu 14.04. Must be run as root
#!/bin/bash
cd /tmp
apt-get update
apt install -y libtool pkg-config build-essential autoconf automake uuid-dev git wget
git clone git://github.com/jedisct1/libsodium.git
cd libsodium/
./autogen.sh
./configure && make check
make install
ldconfig
@gblmarquez
gblmarquez / .tmux.conf
Created August 6, 2015 14:28
.tmux.conf with fish as default shell
# Default termtype. If the rcfile sets $TERM, that overrides this value.
set -g default-terminal screen-256color
# support logging out and back in
set -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION"
# pbcopy support
set-option -g default-command "reattach-to-user-namespace -l bash"
# vi mode
@vasuman
vasuman / sonicwall.py
Created July 14, 2014 17:49
Sonicwall auto-login
#!/usr/bin/env python2
# Dependencies:
# * Requests
# Simply change stuff and run the script
import time
import re
from hashlib import md5
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active June 29, 2024 08:12
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: