Skip to content

Instantly share code, notes, and snippets.

eunicekokor / emotion-breakpoints.js
Created Oct 28, 2019
handling breakpoints /w emotion
View emotion-breakpoints.js
/** @jsx jsx */
import { jsx, css } from '@emotion/core'
const breakpoints = {'mobile': 320, 'tablet':768, 'desktop':992, 'desktop-xl': 1200};
const mq = (size) => `@media (min-width: ${breakpoints[size]}px)`
View gist:3ce558374614f88346e1abcfcf585262
Verifying my Blockstack ID is secured with the address 1A7tfjS83WVde7eEoMUvAUK8SdEWatZCRv
View gist:4e3090b3423520e59e483cf6a5475823
Verifying my Blockstack ID is secured with the address 1A7tfjS83WVde7eEoMUvAUK8SdEWatZCRv

Keybase proof

I hereby claim:

  • I am eunicekokor on github.
  • I am eunice ( on keybase.
  • I have a public key ASDQTbkh4PuEqTlN8wppsFRcZyvv3J26Du-d-7LWLiE3lgo

To claim this, I am signing this object:

eunicekokor / _layout.scss
Created May 26, 2016
Responsive Grid Layouts Utilizing SASS
View _layout.scss
$content-width: 58.75rem;
$padding-col: 0.625rem;
*::before {
box-sizing: border-box;
margin: 0;
padding: 0;
eunicekokor /
Last active Apr 29, 2016
to get the populations of each nyc neighborhood
def get_population():
with open('population.json') as f:
contents = json.load(f)['data']
pop_dict = {}
for i,stuff in enumerate(contents):
if '2010' in contents[i]:
pop_dict[str(stuff[12])] = int(stuff[13])
return pop_dict
eunicekokor / gist:ae351283cc8d2dcdea45
Created Feb 28, 2016 — forked from ttezel/gist:4138642
Natural Language Processing Notes
View gist:ae351283cc8d2dcdea45

#A Collection of NLP notes


###Calculating unigram probabilities:

P( wi ) = count ( wi ) ) / count ( total number of words )

In english..

View FetchTrackAndAnalysisData.js
function fetchSongInfo(track) {
info('Getting song info for ' + + ' by ' + track.artists[0].name);
var url = '';
var track_id = fromSpotify(track.uri);
$.getJSON(url, { id: track_id, format:'jsonp', bucket : 'audio_summary'}, function(data) {
if (checkResponse(data)) {
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<style id="jsbin-css">
body {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 300;
View index.html
<!DOCTYPE html>
<script src=""></script>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
html {
font-family: 'Lucida Grande', Helvetica, sans-serif;
color: white;