Skip to content

Instantly share code, notes, and snippets.

View jerryvig's full-sized avatar

Jerry Vigil jerryvig

  • Invitae
  • Austin, TX, USA
View GitHub Profile
@gideao
gideao / gtk3-with-pyenv.md
Last active March 30, 2019 03:10
How to install and compile PyGObject to use GTK+ 3 bindings on Python 3 and pyenv.

I'm using Arch Linux and in the current date I selected the most updated version of these libraries. If use system with stable but old packages you may encounter some problems.

I listed what was needed be installed on my system. I alredy have gcc and make and stuff like that installed. I recomend you to check out the documentation of each libary and see the build dependencies.

sudo pacman -S autoconf-archive gtk3 cairo

You will need install python 3 through pyenv and select it to use.

@chranderson
chranderson / nvmCommands.js
Last active July 23, 2024 09:37
Useful NVM commands
// check version
node -v || node --version
// list locally installed versions of node
nvm ls
// list remove available versions of node
nvm ls-remote
// install specific version of node
@stevenvo
stevenvo / numpy-array-sort.py
Last active March 16, 2021 08:23
Sort array by nth column in Numpy
# sort array with regards to nth column
arr = arr[arr[:,n].argsort()]
@Scarygami
Scarygami / with-debounce
Last active December 8, 2017 20:03
Polymer debounce sample
Polymer({
is: 'with-debounce',
properties: {
property1: {
type: String,
observer: '_doSomething'
},
property2: {
type: String,
observer: '_doSomething'