Skip to content

Instantly share code, notes, and snippets.

import React from "react";
import TodoForm from "./TodoForm";
import Todo from "./Todo";
/*
TodoMVC
1. add todo
2. display todos
3. cross off todo
4. show number of active todos
@heroheman
heroheman / ranger-cheatsheet.md
Last active February 7, 2026 09:22
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@angellicadearaujo
angellicadearaujo / GaussLU.py
Last active July 6, 2024 22:39
LU decomposition with Python
def LU(A):
n = len(A) # Give us total of lines
# (1) Extract the b vector
b = [0 for i in range(n)]
for i in range(0,n):
b[i]=A[i][n]
# (2) Fill L matrix and its diagonal with 1
@RandomResourceWeb
RandomResourceWeb / ButtonToBrowser
Created July 17, 2016 08:57
How to open a link through a tkinter button in Python
#---------------------------------
# Random Resource Web ©
# Randomresourceweb.blogspot.com
#---------------------------------
from tkinter import *
import webbrowser
root = Tk()
@m3nd3s
m3nd3s / NERDTree.mkd
Last active December 19, 2025 17:05
My Vim Cheat Sheet

NERDTree

o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|

O.......Recursively open the selected directory..................|NERDTree-O|