Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
we have statuses now? is this AOL?

John Fink jbfink

💭
we have statuses now? is this AOL?
View GitHub Profile
View code.py
import board
import random
import time
from digitalio import DigitalInOut, Direction
PRESS3 = DigitalInOut(board.BUTTON_3)
PRESS_JOYSTICK = DigitalInOut(board.SWITCH_PRESS)
def light():
View mapwarper-apt.txt
sudo apt-get install -y ruby ruby-dev postgresql-10-postgis-2.4 postgresql-server-dev-all postgresql-contrib build-essential git-core libxml2-dev libxslt1-dev imagemagick libmapserver2 gdal-bin libgdal-dev ruby-mapscript bundler nodejs
View letter-from-president.txt
These are unsettling times. The spread of COVID-19 around the world and its arrival in our own region has brought McMaster and all other organizations to uncharted territory. As of today, the risk of catching the virus continues to remain low.
The University’s focus is always clearly on our students, faculty and staff. And while the university has taken many measures to prepare and keep our community informed as the pandemic has unfolded, it is now time to take a more significant decision to suspend classes at McMaster.
McMaster in-person classes for undergraduate and graduate students will end at the end of day Friday March 13th and no in-person exams will be held at the end of this term.
Faculty members and instructors are asked to work with their Chairs, Directors and Deans to be prepared to communicate with students by Wednesday, March 18th to let them know how the remainder of their courses will be managed and grades assessed so that they can complete their credits within the normal timeframe of t
@jbfink
jbfink / uni-micro.txt
Created Dec 18, 2019
Mail to Urban Drivestyle about the Uni Micro shipment, plus notes
View uni-micro.txt
My email to UD:
-----
Hello Urban Drivestyle folks,
Went and fetched the bike today from the Toronto airport. By and large, it looks great. There are some things missing, however:
No throttle - I assume this was shipped separately via FedEx as I have a package that they will deliver tomorrow.
@jbfink
jbfink / sentiment.py
Created Nov 2, 2019
sentiment analysis python script, MY FIRST PYTHON SCRIPT
View sentiment.py
import sys
from textblob import TextBlob
print("The file you selected is:", sys.argv[1])
text_file = open(sys.argv[1],"r")
output = text_file.read()
#print(output)
text_sentiment = TextBlob(output)
print(text_sentiment.sentiment)
print("I'M PROGRAMMING")
View gist:e5af857fe32eeb00611fac02a7f0f913
./configure --prefix=/usr/local/stow/R-3.5.3 --enable-R-shlib --with-cairo=yes
View gpt-2-commie.txt
Model prompt >>> A spectre is haunting Europe - the spectre of Communism.
======================================== SAMPLE 1 ========================================
"The idea of a European socialist country as an institution of liberalization is still very much alive; that country would come back to its former role as a liberal, democratic, democratic republic within the European Union," says Bailas. "We need to understand where we are to take that view."
It is very true that the communist bloc has always served people. And there is still much to be said for this fact that was so strongly expressed in the 1930s and 1940s, when the United States and the other communist powers in Europe started to impose Communist-in-exile policies on the whole of the former European republic, or the communist bloc, and even the Russian Federation too. The great fear of the Nazis was that their program would only lead to the Nazi era.
The Nazi ideology was very strong and had a strong communist component, and we had to real
View gpt-2-oa.txt
Model prompt >>> Librarians who are required to publish for their work who don't commit to only submitting to OA journals are evil.
======================================== SAMPLE 1 ========================================
They should be labeled, and encouraged to do so. These authors, for example, were required to send in copies directly to OA journals in October of 2011.
They are being paid just as if they were a writer and are not even required to. (For those who still feel this way, I can see why: They are not, and that the very existence of that money is a threat.)
Why should someone write, in their spare time, about something their friends and family and colleagues have said, if they know they may receive the money?
View paul.txt
septonasal ug
nasoseptal ug
spatulose nag
spatulose gan
Spatangus Leo
postnasal gue
passulate nog
passulate gon
alpasotes gun
alpasotes gnu
View compile.sh
#!/bin/bash
make clean
time make RELEASE=1 LUA=1 ASTYLE=0
You can’t perform that action at this time.