Simple fibonacci number calculator.
Usage: fib nth Fibonacci number
Short cheatsheet handy while learning to use Irssi. Adapted from IRC-client.md by Nishant Modak.
To switch between open channels / windows
Alt + N where N is the number corresponding to the open window
To ignore joins / quits / nicks changes on a specific channel.
| ; ___ _ __ ___ __ ___ | |
| ; / __|_ _ __ _| |_____ / /| __|/ \_ ) | |
| ; \__ \ ' \/ _` | / / -_) _ \__ \ () / / | |
| ; |___/_||_\__,_|_\_\___\___/___/\__/___| | |
| ; An annotated version of the snake example from Nick Morgan's 6502 assembly tutorial | |
| ; on http://skilldrick.github.io/easy6502/ that I created as an exercise for myself | |
| ; to learn a little bit about assembly. I **think** I understood everything, but I may | |
| ; also be completely wrong :-) |
| # IslandCreator: A tool for generating island terrain meshes | |
| # procedurally with Simplex Noise | |
| @tool | |
| extends Node3D | |
| # Globals | |
| var _noise = FastNoiseLite.new() | |
| @export var groundMaterial: Material |
| // ==UserScript== | |
| // @name Hide Twitter Trending | |
| // @version 1 | |
| // @description Hides the "What's happening" sidebar on Twitter | |
| // @run-at document-idle | |
| // ==/UserScript== | |
| // Greasemonkey script to hide the twitter trending page | |
| #!/usr/bin/python | |
| import sys | |
| from PyQt5.QtWidgets import QApplication, QDialog, QVBoxLayout, QDateEdit, QPushButton, QLabel | |
| from PyQt5.QtCore import QDate | |
| from PyQt5 import uic | |
| # A tiny program to compare two dates and get the difference in days | |
| class DateCompare(QDialog): |
| /* | |
| Calculate the nth Fibonacci number. | |
| example usage: ./fib 50 | |
| (Calculates the 50th fibonacci number) | |
| (Do what you want with this) | |
| https://opensource.org/license/0bsd/ | |
| Zero-Clause BSD | |
| =============== |
| uniform float time; | |
| uniform vec2 resolution; | |
| uniform vec2 mouse; | |
| uniform int iterations; | |
| uniform float zoom = 0.1; | |
| uniform float zoomPos1 = 0.755; | |
| uniform float speedMod = 0.3; |
| ;; .emacs | |
| ;;; uncomment this line to disable loading of "default.el" at startup | |
| ;; (setq inhibit-default-init t) | |
| ;; enable visual feedback on selections | |
| (setq transient-mark-mode t) | |
| ;; default to better frame titles | |
| (setq frame-title-format |
| # program that graphs tribble population growth | |
| from pylab import * | |
| import math | |
| def p(t): | |
| return math.e ** (0.2 * t) | |