Skip to content

Instantly share code, notes, and snippets.

View nnarain's full-sized avatar
🚀
Heya!

Natesh Narain nnarain

🚀
Heya!
View GitHub Profile
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6 python3.6-dev
wget -O - https://bootstrap.pypa.io/get-pip.py | sudo python3.6
@nnarain
nnarain / OpenSimplexNoise.cs
Created December 29, 2017 04:22 — forked from digitalshadow/OpenSimplexNoise.cs
OpenSimplex Noise Refactored for C#
/* OpenSimplex Noise in C#
* Ported from https://gist.github.com/KdotJPG/b1270127455a94ac5d19
* and heavily refactored to improve performance. */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace NoiseTest
// The MIT License (MIT)
//
// Copyright (c) 2012-2013 Mikola Lysenko
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
from myplugins import BasePlugin
from argparse import ArgumentParser
class Plugin1(BasePlugin):
def __init__(self):
BasePlugin.__init__(self, 'plugin1')
def init_parser(self, parser):
parser.add_argument('-t', '--topics')
# Find open ssh ports on network
nmap -sS -p 22 192.168.10.0/24
from neopixel import *
from Queue import Queue
from SimpleXMLRPCServer import SimpleXMLRPCServer
from threading import Thread
from argparse import ArgumentParser
import logging
import time
class BacklightDriver:
@nnarain
nnarain / references.txt
Created August 19, 2018 21:28
Emulator References
Nintendo 64
-----------
* http://n64devkit.square7.ch/
https://cliutils.gitlab.io/modern-cmake/