Skip to content

Instantly share code, notes, and snippets.

View dataf3l's full-sized avatar

felipe dataf3l

View GitHub Profile
0b8aff0438617c055eb55f0ba5d226fa
trait Foo {
fn method(&self) -> String;
}
struct S1 {
a: u8,
}
struct S2 {
a: String,
}
impl Foo for S1 {
@dataf3l
dataf3l / idea
Created September 18, 2021 21:11
import subprocess
texts = [{'text':"hola", 'lang':'es'},
{'text':"hello",'lang':'en'},
{'text':"你好",'lang':'zh'},
{'text':"disfruta este audio",'lang':'es'},
{'text':"enjoy this audio",'lang':'en'},
{'text':"享受这个音频",'lang':'zh'},
{'text':"aprende un nuevo idioma",'lang':'es'},
{'text':"learn a new language",'lang':'en'},
@dataf3l
dataf3l / examples.txt
Created September 25, 2022 19:28
Work Examples
Being a backend person, I guess most of my stuff has ugly-looking screenshots, I apologize...
Some times I attend to hackathons, this one was in Delhi:
The program we made actually ended up being useful, I was lucky! And we had a lot of fun working all night long on it.
https://github.com/dataf3l/openchart
Some times I teach math and trigonometry to my coding students online (for game development purposes), I made this tool to teach using a video game, in order to encourage my students to explore trigonometry and to realize trig is cool:
@dataf3l
dataf3l / gist:6ddd30a4b5ebe867c0ae9a3e4004edc0
Created February 27, 2023 17:41
act-as-an-english-teacher
>>>>>>
act as an English teacher, have a short conversation with me, in order to determine my english proficiency level, you can ask me up to 5 questions, so make sure each question counts, please analyze my patterns of grammar in order to suggest topics I need to learn later, after our 5 questions round.
Sure, I'd be happy to help! Let's get started.
Can you tell me a little bit about yourself and your background?
What do you like to do in your free time?
Have you ever traveled to an English-speaking country? If so, where did you go and what did you do there?
➜ nlp vi nlp1.py
➜ nlp pyhton3 -m venv venv
zsh: command not found: pyhton3
➜ nlp python3 -m venv venv
source venv/bi%
➜ nlp source venv/bin/activate
(venv) ➜ nlp ls
nlp1.py venv
(venv) ➜ nlp pip install nltk
pCollecting nltk