Skip to content

Instantly share code, notes, and snippets.

View alanpaivaa's full-sized avatar
🏠
Working from home

Alan Paiva alanpaivaa

🏠
Working from home
View GitHub Profile
@AnirudhDagar
AnirudhDagar / pyg_setup.sh
Created April 17, 2020 08:38
PyTorch Geometric Setup Script for Mac OS X
# Works on OS X, with conda installed.
# Create conda environment for PyTorch Geometric
echo "Creating pyg environment"
conda create -n pyg python=3.6
echo "Activate pyg Env"
source activate pyg
# PyTorch Conda Installation
@renshuki
renshuki / ubuntu_agnoster_install.md
Last active December 30, 2024 16:16
Ubuntu 16.04 + Terminator + Oh My ZSH with Agnoster Theme

Install Terminator (shell)

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").

Install ZSH

@jmcd
jmcd / Foo.swift
Last active February 22, 2018 07:10
MKMapView contested annotation location handling in Swift
import UIKit
import MapKit
/**
* Define behaviour of app through its lifetime
*/
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
@JaviLorbada
JaviLorbada / FRP iOS Learning resources.md
Last active April 20, 2025 21:15
The best FRP iOS resources.

Videos

@staltz
staltz / introrx.md
Last active April 29, 2025 08:33
The introduction to Reactive Programming you've been missing
@kmpm
kmpm / gist:6022b4de1023c712cdf7
Last active January 17, 2019 16:32
How to get VyOS to use the RTL8111/8168B Ethernet Controller in a Shuttle DS437

VyOS on Shuttle DS437

vyos >= 1.2.0-rc11

Everything just works... The 2 ethernet interfaces turned up as eth0 and eth2 and the internal wireless as wlan0. Everything I have tested so far with the interfaces just work out of the box, even wireless.

lspci -nn
@iainconnor
iainconnor / Android Studio .gitignore
Created January 24, 2014 20:20
A .gitignore for use in Android Studio
# Built application files
/*/build/
# Crashlytics configuations
com_crashlytics_export_strings.xml
# Local configuration file (sdk path, etc)
local.properties
# Gradle generated files