Skip to content

Instantly share code, notes, and snippets.

Some courses I think are neat and have recordings
Lots of deep learning, + some cs, science and math
Online classes in progress
* Stanford CS224n NLP w/ DL https://web.stanford.edu/class/archive/cs/cs224n/cs224n.1194/
Online classes todo
* Stanford CS224W ML with Graphs http://web.stanford.edu/class/cs224w/
* Stanford CS234 RL (vids from 2019) https://web.stanford.edu/class/cs234/CS234Win2019/schedule.html https://web.stanford.edu/class/cs234/
* Stanford CS330 Deep Multi-Task and Met aLearning (vids from 2019) https://cs330.stanford.edu/
/**
* How to do markdown export, i.e. [Title](URL), in tabsave
* 1. Download the project from https://github.com/raphaelrk/tabsave
* 2. Change the following code in script.js (https://github.com/raphaelrk/tabsave/blob/master/script.js)
**/
// old code
return tabs.map(tab => (`
${tab.title}
<br>
0+3+6+9+$+(2+5+8)(0+3+6+9)*(1+4+7)+(1+4+7+(2+5+8)(0+3+6+9)*(2+5+8))(0+3+6+9+(1+4+7)(0+3+6+9)*(2+5+8))*(2+5+8+(1+4+7)(0+3+6+9)*(1+4+7))+(0+3+6+9+$+(2+5+8)(0+3+6+9)*(1+4+7)+(1+4+7+(2+5+8)(0+3+6+9)*(2+5+8))(0+3+6+9+(1+4+7)(0+3+6+9)*(2+5+8))*(2+5+8+(1+4+7)(0+3+6+9)*(1+4+7)))(0+3+6+9+(2+5+8)(0+3+6+9)*(1+4+7)+(1+4+7+(2+5+8)(0+3+6+9)*(2+5+8))(0+3+6+9+(1+4+7)(0+3+6+9)*(2+5+8))*(2+5+8+(1+4+7)(0+3+6+9)*(1+4+7)))*(0+3+6+9+$+(2+5+8)(0+3+6+9)*(1+4+7)+(1+4+7+(2+5+8)(0+3+6+9)*(2+5+8))(0+3+6+9+(1+4+7)(0+3+6+9)*(2+5+8))*(2+5+8+(1+4+7)(0+3+6+9)*(1+4+7)))
@raphaelrk
raphaelrk / HackerMode.js
Last active July 11, 2018 06:18
React Native Hacker Mode. Execute JS using your fingertips.
/**
* React Native Hacker Mode
* Raphael Rouvinov-Kats
*
* Screen with a REPL
* Helpful for debugging your app when it's in production
* - See the redux state by typing `return this.props.state`
* - Import your redux actions/dispatch to dispatch redux actions
* - Fetch your push token and figure out why it's not
* registering with your backend ( reason I wrote this! )
@raphaelrk
raphaelrk / playbook.md
Last active December 11, 2023 21:22
Playbook!!!!

Playbook Reach-out

Hello!!

Thanks so much for helping me get this out- really appreciate it :)

Should take under ten minutes but its impact can last a lifetime. So open up your laptop, and let's do this!

What to do

  1. Post the attached message with photo (take your pick - available here) to your Facebook. Posting also in relevant groups (e.g. your class's Facebook group) is amazing and much appreciated.
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
void msort(int *arr, int n)
{
}
// tinyurl.com/oct11-cs-section
@raphaelrk
raphaelrk / cs50tf.c
Last active February 23, 2016 20:58
Let's do a speedy run-down on bitwise operators
First, know or recall that we can write the number 12 in three different ways
int twelve_dec = 12;
int twelve_hex = 0xC;
int twelve_bin = 0b1100;
bitwise operators operate bit-by-bit
NOT (complement) ~00000001100 = 11111110011
OR 0b1100 | 0b1010 = 0b1110
import java.io.*;
import java.util.*;
public class Solution {
public static final int RIGHT = 1;
public static final int LEFT = 2;
public static final int DOWN = 3;
public static final int UP = 4;
Nov 10 2015 DLP Comp Meeting 3: node.js
npm: node package manager
babel: es6 to old js
gulp and grunt: the "make" of node.js
sass: compiles to css
bower: frontend packages (e.g. bootstrap d3 backbone fontawesome jQuery normalize underscore) most updated versions with small include
webpack: module bundler- lots of little pictures->one big spritesheet, concatenating files to static assets
yeoman: scaffolding. run 'yo' and you get the above and more. tool to manage your tools to manage your tools. "yo react-fullstack"