Instantly share code, notes, and snippets.

import time
current_milli_time = lambda: int(round(time.time() * 1000))
View Untitled.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View defaultdict.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Unicode table
Unicode table - List of most common Unicode characters *
* This summary list contains about 2000 characters for most common ocidental/latin languages and most printable symbols but not chinese, japanese, arab, archaic and some unprintable.
Contains character codes in HEX (hexadecimal), decimal number, name/description and corresponding printable symbol.
What is Unicode?
Unicode is a standard created to define letters of all languages ​​and characters such as punctuation and technical symbols. Today, UNICODE (UTF-8) is the most used character set encoding (used by almost 70% of websites, in 2013). The second most used character set is ISO-8859-1 (about 20% of websites), but this old encoding format is being replaced by Unicode.
How to identify the Unicode number for a character?
Type or paste a character:
import requests
import json
#r = requests.get('', json={"_id": "auth0|5a65b0c09f5e2b5157614782","ea" : "3517360013542"})
from flask import Flask
from flask import jsonify
from flask_cors import CORS
import sys
import os
def error(e):
exc_type, exc_obj, exc_tb = sys.exc_info()
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
return str(exc_type, fname, exc_tb.tb_lineno)
from itertools import combinations
import numpy as np
import pandas as pd
dates = pd.date_range('20130101',periods=40)
df = pd.DataFrame(np.random.randn(40,20),index=dates,columns=list('ABCDEFGHIJKLMNOPQRST'))
#df = df.set_index('0')
cc = []
i = 1
while i < len(df.columns)+1 :
View Margaux.R
#Prediction Gaucher contre Droitier
datBeatRLU <- data.frame(character(9), numeric(9),numeric(9),stringsAsFactors = FALSE)
names(datBeatRLU)[names(datBeatRLU)=="character.9."] <- "HH"
names(datBeatRLU)[names(datBeatRLU)=="numeric.9."] <- "Value"
names(datBeatRLU)[names(datBeatRLU)=="numeric.9..1"] <- "HValue"
write.csv(datBeatRLU, file = "datBeatRLU.csv")

1 Welcome to Sonic Pi

Welcome friend :-)

Welcome to Sonic Pi. Hopefully you're as excited to get started making crazy sounds as I am to show you. It's going to be a really fun ride where you'll learn all about music, synthesis, programming, composition, performance and more.

View index.html
<script src=""></script>
<script type="text/javascript" src=""></script>
<div id="app-3">
<span v-if="seen">{{ textFromApi }}</span>