Skip to content

Instantly share code, notes, and snippets.

#installar brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
#actualizar brew
brew update
#installar git
brew install git
@nonameentername
nonameentername / fix-surface-pro-pen.sh
Created April 16, 2015 22:47
Update Surface Pro in Ubuntu to support pen pressure sensitivity using the wacom drivers.
#!/bin/bash
#load wacom driver
sudo modprobe wacom
#unbind touch screen
echo 2-1.6:1.0 | sudo tee /sys/bus/usb/drivers/usbhid/unbind
#unbind pen
echo 2-1.5:1.1 | sudo tee /sys/bus/usb/drivers/usbhid/unbind
@nonameentername
nonameentername / share
Last active December 14, 2015 16:19
simple script to easily share files
#!/usr/bin/env python
#pip install pybonjour pyzmq
import argparse
import os
import pybonjour
import select
import sys
import sys