Skip to content

Instantly share code, notes, and snippets.

Raphael Rouvinov-Kats raphaelrk

Block or report user

Report or block raphaelrk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View divisible-by-three.txt
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 Jul 11, 2018
React Native Hacker Mode. Execute JS using your fingertips.
View HackerMode.js
/**
* 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 Jun 18, 2017
Playbook!!!!
View playbook.md

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.
View msort_boilerplate.c
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
void msort(int *arr, int n)
{
}
// tinyurl.com/oct11-cs-section
View cs50tf.c
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
View spiraltraverse.java
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;
View DLP node.js comp meeting
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"
View jamesbeshara.txt
Ignite@CU James Beshara talk
Tilt, YCombinator
Bricks? No, brick and mortar!
Presentation is the most important, mortar-like cliches
It's all about the People, not the person(CEO/etc.)
If you have any doubts there are no doubts. Everyone you onboard should be smarter than you and the last person
Should think every week for 90 seconds "Jeez, it's so great X is onboard, otherwise this wouldn't work"
View sdl seminar.c
Writing 2D Games in C using SDL
cs50 seminar
Simple DirectMedia Layer
Windows Max Linux iOS Android
input/output- audio, keyboard, mouse, joystick, graphics
Source engine
goals:
install libraries
View web audio seminar.js
talked about javascript, functions/passing functions, objects, classes, async/callbacks
audio as a pipeline
source is audio data generater or loaded
oscillator, mp3, mic
destination is output
laptop speakers, ScriptProcessorNode
You can’t perform that action at this time.