This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": ["meta.function.section.section.latex", "meta.function.section.subsection.latex"], | |
"settings": { | |
"fontStyle": "bold", | |
} | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZERO = 'nol' | |
ONE_SHORTHAND = 'se' | |
TEN = 'puluh' | |
TEEN = 'belas' | |
HUNDRED = 'ratus' | |
DIGIT_TO_WORD = { | |
'1' : 'satu', | |
'2' : 'dua', | |
'3' : 'tiga', | |
'4' : 'empat', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Example usage: cat in.txt | ./scrambler.py > out.txt | |
# echo "My text here" | ./scrambler.py | cat | |
import random | |
import string | |
import sys | |
def scramble_word(word: str): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"editor.bracketPairColorization.enabled": true, | |
"editor.matchBrackets":"always", | |
"workbench.colorCustomizations": { | |
"editorBracketHighlight.foreground1": "#FFD900", | |
"editorBracketHighlight.foreground2": "#D96FD5", | |
"editorBracketHighlight.foreground3": "#87CEFA", | |
"editorBracketHighlight.unexpectedBracket.foreground": "#ff0000", | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame.camera | |
import pygame.image | |
import moviepy.video.io.ImageSequenceClip | |
import os.path | |
import time | |
import shutil | |
import sys | |
import re | |
import platform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
from math import * | |
def plotEquation(equation, start=0, end=10, increment=0.1): | |
inputs = [] | |
results = [] | |
i = start | |
while i <= end: | |
inputs.append(i) | |
x = i |