Skip to content

Instantly share code, notes, and snippets.

Set Network Location (work/home/public) on a NIC without a gateway (this occurs when setting up a router and internal NIC doesn't have a gateway because external one does):
1. If this is need for a stand alone server , run local security policy editor
2. select network list Manager Policies
3. At the right Side you can select & double click: Unidentified Networks
4. In the location type select Private , which means that all Unidentified networks will be consider as private profile network
5. you can also allow the user to change the Location profile
http://social.technet.microsoft.com/Forums/en-US/winserverPN/thread/58e53691-64cd-44b9-98a2-ff1697e3ea83
@mpipalia
mpipalia / gist:4288017
Last active October 14, 2015 01:38
Raspberry PI
Good PSU: http://www.amazon.com/gp/product/B004OZMWUS/ref=as_li_qf_sp_asin_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=B004OZMWUS&linkCode=as2&tag=nerdvitt-20 (Blackberry Folding Blade Charger for Playbook).
CCTV: http://www.codeproject.com/Articles/665518/Raspberry-Pi-as-low-cost-HD-surveillance-camera
@mpipalia
mpipalia / gist:3289839
Last active October 8, 2015 06:08
Other Development
Step-by-Step Gameboy emulator in javascript: http://imrannazar.com/GameBoy-Emulation-in-JavaScript:-The-CPU
Office 2003 format library (without using PIA): http://npoi.codeplex.com/
Aforge.net: Computer vision library in C#: http://www.aforgenet.com/
Encryption for C# and Java (including TLS and X.509): http://www.bouncycastle.org
Secret shared amongst multiple people, and X people needed to retrieve secret: https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing
@mpipalia
mpipalia / Webdev_info.txt
Last active September 30, 2015 16:48
Random useful stuff related to web development
Hosting
BuyVM: extremely cheap, hard to get...
Anti-Spam
https://www.projecthoneypot.org/
Javascript
XXTEA: http://www.movable-type.co.uk/scripts/tea-block.html
TLS: https://github.com/digitalbazaar/forge
emscripten: https://github.com/kripken/emscripten/wiki - llvm to js compiler. Has links to libz/lzma, sqlite, xml validation in js.