Skip to content

Instantly share code, notes, and snippets.

Avatar

Jon Wear genghisjahn

View GitHub Profile
@genghisjahn
genghisjahn / main.go
Created Apr 9, 2022
First Program Part II
View main.go
package main
import (
"flag"
"fmt"
"math/rand"
"strconv"
"time"
)
View factors.go
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 Feb 11, 2022
Number Guessing Game
View main.go
package main
import (
"fmt"
"math/rand"
"time"
)
func main() {
var n int
@genghisjahn
genghisjahn / Sicilian Games.md
Last active May 9, 2019
list of Sicilian chess games
View Sicilian Games.md
@genghisjahn
genghisjahn / boots.md
Last active Feb 22, 2019
1984 - Boots
View boots.md

...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 Feb 24, 2017
Top 10 List Things to Know about the new Basic Airline Ticket Option
View top10-really20.txt
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.
View row5.txt
Move: 1
0
* *
+ * *
* * * *
* * * * *
Move: 2
*
0 *
View row6.tx6
Move: 1
0
* *
+ * *
* * * *
* * * * *
* * * * * *
Move: 2
*
View row7.txt
Move: 1
*
* *
+ * *
* * * *
0 * * * *
* * * * * *
* * * * * * *
Move: 2
View row8.txt
Move: 1
0
* *
+ * *
* * * *
* * * * *
* * * * * *
* * * * * * *
* * * * * * * *