Skip to content

Instantly share code, notes, and snippets.

Neural Networks

Types

  • Perceptron (P)
  • Feed Forward (FF)
  • Radial Basis Network (RBF)
  • Deep Feed Forward (DFF)
  • Recurrent Neural Network (RNN)
  • Long / Short Term Memory (LSTM)
@sonnyksimon
sonnyksimon / python-future.org.markdown
Last active December 31, 2019 18:12
HOWTO: coding for python 2 and 3

print

from __future__ import print_function    # (at top of module)

print('Hello', 'Guido')

print('Hello', file=sys.stderr)

print('Hello', end='')
@sonnyksimon
sonnyksimon / js-code-completion-nlp
Last active July 8, 2019 21:43
JS Code Completion as a "N"LP Problem
JavaScript Code Completion as a "N"LP Problem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://courses.csail.mit.edu/6.864/fall_2016/past_projects.html
Many techniques in natural language processing rely on statistical
methods because natural language is fuzzy and imprecise. In contrast,
computer languages follow precise known rules, so tools for working
with computer languages are usually strictly rule-based.
@sonnyksimon
sonnyksimon / redditarch,txt
Created July 5, 2019 12:05
reddit's architecture
lisp -lang
postgres -db
python -lang
supervise -monitor
sloney -db-replication
memcached -cache
spread -cache-sync
thingdb -table-structure
haproxy -load-balancer(logged-in-users)
akamai -cdn(logged-out-users)
@sonnyksimon
sonnyksimon / emacs.sh
Last active July 5, 2019 21:54
emacs without any gui
cd emacs-26.2/
./configure --with-x-toolkit=no --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no --with-gnutls=no --wihout-x
make
sudo make install
@sonnyksimon
sonnyksimon / emacs.md
Last active July 10, 2019 14:21
Emacs for vi users

Emacs for vi users

taken from http://www.elmindreda.org/emacs.html

"Why can't I enter command mode?"

Introduction

This is intended as an introductory guide for vi users wishing to learn the basics of Emacs. I’m writing it because I’m one of them, and I suspect that I’m not alone in being mystified by the lack of a command mode, text objects and

Computer Incident Security Incident Handling Guide
https://csrc.nist.gov/publications/detail/sp/800-61/rev-2/final
@sonnyksimon
sonnyksimon / mock-blog
Created July 31, 2019 19:15
API testing
[{"title":"Trippledex","body":"Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\n\nProin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl.\n\nAenean lectus. Pellentesque eget nunc. Donec quis orci eget orci vehicula condimentum.","created":"2019-04-22T20:06:31Z","author":"cszwandt0"},
{"title":"Pannier","body":"Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi.","created":"2018-08-13T20:18:23Z","author":"hpowderham1"},
{"title":"Temp","body":"Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.\n\nFusce consequat. Nulla nisl. Nunc nisl.\n\nDuis bibendum, felis sed interdum venenatis, turpis enim blandit mi, in porttitor pede justo eu massa. Donec dapibus. Duis at velit eu est congue e
@sonnyksimon
sonnyksimon / refind_ubuntu.sh
Created August 10, 2019 03:58
Install rEFInd for Ubuntu
#!/bin/bash
set -e
if [[ $EUID -ne 0 ]]; then
echo "ERROR: Must be run with root privileges."
exit 1
fi
apt-add-repository ppa:rodsmith/refind
@sonnyksimon
sonnyksimon / githubcookies.markdown
Created August 12, 2019 20:59
Cookies on GitHub
Name of Cookie Reason
user_session This cookie is used to log you in.
logged_in This cookie is used to signal to us that the user is already logged in.
dotcom_user This cookie is used to signal to us that the user is already logged in.
_gh_sess This cookie is used for temporary application and framework state between pages like what step the user is on in a mu