Skip to content

Instantly share code, notes, and snippets.

@elisencode
elisencode / settings_vscode_dev_web.txt
Last active May 16, 2026 10:56
settings_vscode_dev_web
# Setting up code editor for dev web: VS Code
## Extensions:
1. Prettier - Code formatter (by prettier.io).
2. One Monokai Theme (by Joshua Azemoh).
3. indent-rainbow (by oderwat).
4. Live Server (by Ritwick Dey).
## Settings: Search settings:
@elisencode
elisencode / transcription_with_whisper
Last active January 16, 2025 19:48
transcription_with_whisper.md
Quote of the Week:
> “It is not knowledge, but the act of learning – not possession, but the act of getting there – which generates the greatest satisfaction.”
> — Carl Friedrich Gauss, 18th century Mathematician and Astronomer
Mon premier collab pour faire de la retranscription.
Whisper is a general-purpose speech recognition model.
It is trained on a large dataset of diverse audio and is also a multitasking model that can perform multilingual speech recognition, speech translation, and language identification.
Google Colab (Jupyter Notebook) command line:
@elisencode
elisencode / mindset_programmers.md
Last active May 8, 2024 07:54
mindset_of_successful_programmers

Mindset of Successful Programmers by bigboxSWE

Modified by me below: Become a better programmer mindset:
They know the basics really well by reading books, doing video tutorials, and by building a bunch of projects and they're always eager to learn more, so they do a bunch of practice, they swallow their pride and doing these basic things, they're very comfortable with being uncomfortable because they're still learning and they're on this continuous pursuit of mastery.

Summary: Focus on PRACTICE; Ego is the Enemy; Get comfortable being uncomfortable.

E.g.,

@elisencode
elisencode / make_desktop_shortcut.md
Last active May 8, 2024 07:24
Make a desktop shortcut on ubuntu

How to make a desktop shortcut on Ubuntu

For Application Shortcuts:

I think TheBuntuNewb's answer is pretty good. Do that using file manager:

1. Open `/usr/share/applications`
2. Copy the application shortcut to desktop
3. Right click on the shortcut on the desktop and select Allow Launching
@elisencode
elisencode / .gitignore Java
Created May 7, 2024 17:07 — forked from dedunumax/.gitignore Java
A complete .gitignore file for Java.
##############################
## Java
##############################
.mtj.tmp/
*.class
*.jar
*.war
*.ear
*.nar
hs_err_pid*
@elisencode
elisencode / the_day_i_will_die.py
Created March 30, 2023 14:03 — forked from hugs/the_day_i_will_die.py
Inspired by Kevin Kelly's "My Life Countdown" - in Python
# Inspired by: http://kk.org/ct2/2007/09/my-life-countdown-1.php
# Life expectancy data:
# http://www.health.state.ny.us/health_care/medicaid/publications/docs/adm/06adm-5att8.pdf
$ python
>>> from datetime import date, timedelta
>>> birth_year = 1976
>>> birth_date = date(1976,3,2)
>>> life_expectancy = 76.09
@elisencode
elisencode / add_ssh_key_linux_to_cloud_server.md
Last active March 12, 2023 14:53
add_ssh_key_linux_to_cloud_server steps
@elisencode
elisencode / spelling_check_emacs_org_mode.txt
Created March 11, 2023 10:28
spelling_check_emacs_org_mode for english and french
0. sudo apt update
1. sudo apt install aspell-en asplell-fr
2. (setq-default ispell-program-name "aspell")
3. toglle on-the-fly spell checking: M-x flysplell-mode
4. M-x ispell-change-dictionary
@elisencode
elisencode / org_structure_template_alist.txt
Last active March 11, 2023 10:21
Org-mode template, adding source code blocks, type ~C-c C-,~
;;;****************************************
;;; Org-mode + babel
;;;****************************************
;;; BEGIN---------------------------------------
;;; Inspired from moocrr
;;; * Org-mode + babel
;;; ** Seamless use of babel (no confirmation, lazy export)
;; In org-mode 9 you need to have #+PROPERTY: header-args :eval never-export
;; in the beginning or your document to tell org-mode not to evaluate every
@elisencode
elisencode / template_headers.txt
Last active March 11, 2023 10:09
template_headers.org
# -**- mode: org -**-
# -**- coding: utf-8 -**-
#+SETUPFILE: ./template_headers.org
#+STARTUP: overview
#+TITLE: JOURNAL - TITLE
#+TITLE: NOTES - TITLE
#+SUBTITLE: By [WHO]
#+AUTHOR: [ME]
#+DATE: Starts [C-x C-!] - Ends [C-x C-!]
#+LANGUAGE: en