Skip to content

Instantly share code, notes, and snippets.

View genghisjahn's full-sized avatar

Jon Wear genghisjahn

View GitHub Profile

Races & Classes

#D&D5e

Races

  • Dwarf:
    • Hill Dwarf: Stout and sturdy, Hill Dwarves are known for their endurance and resilience. They excel in craftsmanship and are often found in mountain strongholds and underground cities.
    • Mountain Dwarf: Mountain Dwarves are tough and battle-hardened, with a natural affinity for warfare and a strong sense of honor. They are renowned for their skill in smithing and mining.
  • Elf:
  • High Elf: High Elves are graceful and refined, with a deep connection to magic and the natural world. They are skilled in both arcane and martial arts, often dwelling in secluded forests or ancient cities.
@genghisjahn
genghisjahn / main.go
Created April 9, 2022 19:05
First Program Part II
package main
import (
"flag"
"fmt"
"math/rand"
"strconv"
"time"
)
@genghisjahn
genghisjahn / factors.go
Created March 6, 2022 16:52
FindFactors
package main
import "fmt"
func main() {
for i := 1; i <= 10000; i++ {
f := getFactors(i)
if len(f) == 1 {
fmt.Println(i, "is prime.")
@genghisjahn
genghisjahn / main.go
Last active February 11, 2022 03:22
Number Guessing Game
package main
import (
"fmt"
"math/rand"
"time"
)
func main() {
var n int
@genghisjahn
genghisjahn / Sicilian Games.md
Last active May 9, 2019 18:32
list of Sicilian chess games
@genghisjahn
genghisjahn / boots.md
Last active February 22, 2019 18:21
1984 - Boots

...always the reference was to slips, errors, misprints, or misquotations which it was necessary to put right in the interests of accuracy.

But actually, he thought as he re-adjusted the Ministry of Plenty’s figures, it was not even forgery. It was merely the substitution of one piece of nonsense for another. Most of the material that you were dealing with had no connexion with anything in the real world, not even the kind of connexion that is contained in a direct lie. Statistics were just as much a fantasy in their original version as in their rectified version. A great deal of the time you were expected to make them up out of your head. For example, the Ministry of Plenty’s forecast had estimated the output of boots for the quarter at 145 million pairs. The actual output was given as sixty-two millions. Winston, however, in rewriting the forecast, marked the figure down to fifty-seven millions, so as to allow for the usual claim that the quota had been overfulfilled. In any case, sixty-two millions was no

@genghisjahn
genghisjahn / top10-really20.txt
Last active February 24, 2017 05:31
Top 10 List Things to Know about the new Basic Airline Ticket Option
Top 10 things you should know about the new basic airline ticket plans
1. Two drink minimum required for all pilots
2. That little clasp thing that holds up your seat tray is $5.00.
3. You can count on getting to wear that yellow dixie cup looking oxygen mask.
4. Inflight entertainment shows only rick astley videos
5. Pre-flight instructional video is about notifying next of kin
6. You gotta leave your shoes at the security check point.
7. When the captain gets on the intercom and says, "everybody lean to the left" you better do it
8. Dragging behind a flock of birds is the only way you'll have enough gas to arrive at your destination.
@genghisjahn
genghisjahn / colorgitbash.bash
Created June 12, 2014 03:41
Colorful Informative Github Bash Prompt
export PS1='$(git branch &>/dev/null; if [ $? -eq 0 ]; then \
echo "\[\e[0;32m\][GIT: \[\e[0;31m\]$(basename `pwd`); \[\e[0;33m\]$(git branch | grep ^*|sed s/\*\ //) \
$(echo `git status` | grep "nothing to commit" > /dev/null 2>&1; if [ "$?" -eq "0" ]; then \
echo "\[\e[0;32m\]clean"; else \
echo "\[\e[0;31m\]dirty"; fi)\[\e[0;32m\]] \$ "; else \
echo "\[\e[0;31m\][\w]\[\e[m\] \$ "; fi) \[\e[0m\]'
@genghisjahn
genghisjahn / row5.txt
Created September 13, 2016 21:12
row5.txt
Move: 1
0
* *
+ * *
* * * *
* * * * *
Move: 2
*
0 *
@genghisjahn
genghisjahn / row6.tx6
Created September 13, 2016 21:11
row6.txt
Move: 1
0
* *
+ * *
* * * *
* * * * *
* * * * * *
Move: 2
*