git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| /* Lorenz system animation | |
| * $ cc -Ofast lorenz.c -lm | |
| * $ ./a.out | mpv --no-correct-pts --fps=60 --fs - | |
| * $ ./a.out | x264 --fps 60 --frames 3600 -o lorenz.mp4 /dev/stdin | |
| * This is free and unencumbered software released into the public domain. | |
| * Ref: https://nullprogram.com/blog/2017/11/03/ | |
| * Ref: https://nullprogram.com/blog/2018/02/15/ | |
| */ | |
| #include <math.h> | |
| #include <stdio.h> |
| #!/usr/bin/env python3 | |
| import sys | |
| from datetime import datetime | |
| import webbrowser | |
| MONTHS = { | |
| 1: 'januar', | |
| 2: 'februar', | |
| 3: 'marcius', |
| from pydub import AudioSegment | |
| from PyQt5 import QtCore, QtWidgets | |
| from PyQt5.QtMultimedia import * | |
| import matplotlib.pyplot as plt | |
| import matplotlib.animation as animation | |
| import numpy as np | |
| import sys | |
| import time | |
| import math |
| import sys | |
| import itertools | |
| from z3 import * | |
| # | |
| # Original puzzle | |
| # | |
| ''' | |
| Five friends have their gardens next to one another, where they grow three kinds of crops: |
| import strformat | |
| # A small program to make using 256 colors in Nim less painful. | |
| # Original ZSH version from: | |
| # P.C. Shyamshankar <sykora@lucentbeing.com> | |
| # Copied from https://github.com/sykora/etc/blob/master/zsh/functions/spectrum/ | |
| # | |
| # Nim rewrite by Laszlo Szathmary <jabba.laci@gmail.com> | |
| # thanks to narimiran and kickeroo for making the code more idiomatic Nim code | |
| # |
| #!/usr/bin/env python3 | |
| """ | |
| Extract data from http://users.atw.hu/std66/egyetem/monika.png . | |
| It's from the game "Doki Doki Literature Club". | |
| Tamás Sinku showed me this problem. He also described the | |
| solution: take the middle of the image. A black pixel means 0, | |
| while a white pixel means 1. Read it byte by byte and convert | |
| it to text. You get a BASE64 string with some '\0' characters |
| Corresponding video: https://www.youtube.com/watch?v=XVQ5drokE6E (in Hungarian) | |
| settings.json | |
| ============= | |
| { | |
| "workbench.colorTheme": "Default Light+", | |
| "editor.fontSize": 18, | |
| "editor.minimap.enabled": true, | |
| "python.linting.pylintEnabled": false, |
| #!/usr/bin/env python3 | |
| # coding: utf8 | |
| """ | |
| A simple wrapper for the `mailx` command. | |
| Purpose | |
| ------- | |
| Send an email notification to yourself from a Python script. |
| #!/usr/bin/env python2 | |
| # encoding: utf-8 | |
| """ | |
| test if a URL is an image or not | |
| """ | |
| from __future__ import (absolute_import, division, | |
| print_function, unicode_literals) |