Skip to content

Instantly share code, notes, and snippets.

View ofou's full-sized avatar
🚀
Launching

Omar Nomad ofou

🚀
Launching
View GitHub Profile
@ofou
ofou / notes.md
Last active August 19, 2016 21:26
Best tools for writing notes and papers with LATEX
  • classeur for writing Markdown with LATEX and realtime feedback.
  • authorea for writing papers with AWESOME templates. LATEX, Markdown, bibtex, etc.
@ofou
ofou / cuenta.java
Last active August 25, 2016 23:40
Cuenta números pares si es que el número ingresado es positivo o impares si es que el número ingresado es negativo.
public class ParImpar{
int numeroUsuario;
public int cuenta(int numeroUsuario){
int contador = 0;
int suma = 0;
if (numeroUsuario<0){
//suma negativos
while(contador!=numeroUsuario-1){
if(contador % 2 == 0){
contador = contador - 1;
@ofou
ofou / multiples.java
Last active September 2, 2016 02:59
Print multiples of a given positive number and error message if negative
import java.util.Scanner;
/**
* Created by @ofrancisco on 9/1/16.
*/
public class Main {
public static void main(String[] args) {
Scanner lector = new Scanner(System.in);
int numeroUsuario = lector.nextInt();
if(numeroUsuario<0){
@ofou
ofou / SR28_Vectors.tsv
Last active June 14, 2017 08:56
Nutritional Stadard Reference Dataset (SR28) for TensorFlow Embedding Projector
We can't make this file beautiful and searchable because it's too large.
15.87 717 0.85 81.11 2.11 0.06 0 0.06 24 0.02 2 24 24 643 0.09 0 0 1 0 0.005 0.034 0.042 0.11 0.003 3 0 3 3 18.8 0.17 2499 684 671 0 158 0 0 0 2.32 0 0 7 51.368 21.021 3.043 215
16.72 718 0.49 78.3 1.62 2.87 0 0.06 23 0.05 1 24 41 583 0.05 0.01 0.001 0 0 0.007 0.064 0.022 0.097 0.008 4 0 4 4 18.8 0.07 2468 683 671 1 135 6 0 13 1.37 0 0 4.6 45.39 19.874 3.331 225
0.24 876 0.28 99.48 0 0 0 0 4 0 0 3 5 2 0.01 0.001 0 0 0 0.001 0.005 0.003 0.01 0.001 0 0 0 0 22.3 0.01 3069 840 824 0 193 0 0 0 2.8 0 0 8.6 61.924 28.732 3.694 256
42.41 353 21.4 28.74 5.11 2.34 0 0.5 528 0.31 23 387 256 1146 2.66 0.04 0.009 14.5 0 0.029 0.382 1.016 1.729 0.166 36 0 36 36 15.4 1.22 721 198 192 0 74 0 0 0 0.25 0.5 21 2.4 18.669 7.778 0.8 75
41.11 371 23.24 29.68 3.18 2.79 0 0.51 674 0.43 24 451 136 560 2.6 0.024 0.012 14.5 0 0.014 0.351 0.118 0.288 0.065 20 0 20 20 15.4 1.26 1080 292 286 0 76 0 0 0 0.26 0.5 22 2.5 18.764 8.598 0.784 94
48.42 334 20.75 27.68 2.7 0.45 0 0.45 184 0.5 20 188 152 629 2.38 0.019 0.034 14.5 0 0.07 0.52 0.38
@ofou
ofou / SR28_Names.tsv
Last active June 14, 2017 08:22
Nutritional Standard Reference Dataset (SR28) Names for TensorFlow Embedding Projector
NDB_No Shrt_Desc
1001 BUTTER, WITH SALT
1002 BUTTER, WHIPPED, W/ SALT
1003 BUTTER OIL, ANHYDROUS
1004 CHEESE, BLUE
1005 CHEESE, BRICK
1006 CHEESE, BRIE
1007 CHEESE, CAMEMBERT
1008 CHEESE, CARAWAY
1009 CHEESE, CHEDDAR
@ofou
ofou / SR28_Vectors_Col_Names.tsv
Created June 14, 2017 08:27
Nutritional Stadard Reference Dataset (SR28) Columns Names for TensorFlow Embedding Projector
Water_(g) Energ_Kcal Protein_(g) Lipid_Tot_(g) Ash_(g) Carbohydrt_(g) Fiber_TD_(g) Sugar_Tot_(g) Calcium_(mg) Iron_(mg) Magnesium_(mg) Phosphorus_(mg) Potassium_(mg) Sodium_(mg) Zinc_(mg) Copper_mg) Manganese_(mg) Selenium_(µg) Vit_C_(mg) Thiamin_(mg) Riboflavin_(mg) Niacin_(mg) Panto_Acid_mg) Vit_B6_(mg) Folate_Tot_(µg) Folic_Acid_(µg) Food_Folate_(µg) Folate_DFE_(µg) Choline_Tot_ (mg) Vit_B12_(µg) Vit_A_IU Vit_A_RAE Retinol_(µg) Alpha_Carot_(µg) Beta_Carot_(µg) Beta_Crypt_(µg) Lycopene_(µg) Lut+Zea_ (µg) Vit_E_(mg) Vit_D_µg Vit_D_IU Vit_K_(µg) FA_Sat_(g) FA_Mono_(g) FA_Poly_(g) Cholestrl_(mg)
@ofou
ofou / MissingFeatureSeries.md
Last active August 9, 2019 08:53
Cool Startup, Research and Projects Ideas

Missing Feature Series

A creative exploration of the missing features in popular tech companies.

Spotify

  • Sample recognition and music exploration.
  • Wave visualization in the playback control.
  • Traveling by music. What are listning in your neigbour city? Musical maps
@ofou
ofou / SR28 Emoji Metadata.tsv
Last active July 19, 2017 06:12
SR28 Emoji Foods Dataset
Name Emoji Category
grapes 🍇 fruit
melon 🍈 fruit
watermelon 🍉 fruit
tangerine 🍊 fruit
lemon 🍋 fruit
banana 🍌 fruit
pineapple 🍍 fruit
red apple 🍎 fruit
green apple 🍏 fruit
@ofou
ofou / Tensorflow SR28 Emoji Foods.json
Last active July 19, 2017 06:13
Tensorflow Emoji Foods Config File
{
"embeddings": [
{
"tensorName": "Emoji Foods",
"tensorShape": [
1000,
50
],
"tensorPath": "https://gist.githubusercontent.com/Peel40/6b92773a163be49d111932c6bfa9199d/raw/7f745139ea08fa4b702c1b9154869ceb6c7536b1/SR28%2520Emoji%2520Tensors.tsv",
"metadataPath": "https://gist.githubusercontent.com/Peel40/6b92773a163be49d111932c6bfa9199d/raw/7f745139ea08fa4b702c1b9154869ceb6c7536b1/SR28%2520Emoji%2520Metadata.tsv"