Skip to content

Instantly share code, notes, and snippets.

View Siunami's full-sized avatar

Matthew Siu Siunami

View GitHub Profile
/*
Created by Matthew Siu on 2017-1-17.
http://www.matthewsiu.com/
https://github.com/Siunami
https://www.linkedin.com/in/matthewwilsonsiu
*/
// BEGIN WITH PIN 5
// This can be changed to any starting values desired
int pinState[10] = {LOW, LOW, LOW, LOW, HIGH, LOW, LOW, LOW, LOW, LOW};
@aparrish
aparrish / spacy_intro.ipynb
Last active March 14, 2025 21:43
NLP Concepts with spaCy. Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / understanding-word-vectors.ipynb
Last active August 27, 2025 09:42
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zackschuster
zackschuster / links.md
Last active March 13, 2019 21:19
@MylesBorins academic links 1 July 2017
@impshum
impshum / stats.py
Created December 23, 2017 00:39
Get mongodb stats using python with pymongo
from pymongo import MongoClient
try:
client = MongoClient('localhost')
db = client.searchfollow
except:
print("Could not connect to MongoDB")
call = db.command("dbstats")

Why read books when you can learn things the hard way? Because good books are written by people with experience, people who learnt from their mistakes. No point in comitting the same mistakes and learning from them, when you can read a book and do better. Be better informed so that you make mistakes that very few have yet to come across.

HTML, CSS & JavaScript

Learn

Starting with the best introductory books to HTML, CSS & JS by Jon Duckett, just so that I am not caught unaware by any unexpected JS in the other books. Then moving on to the high quality publishers of content on Web Design, because as a beginner I should be learning from the best. Then everything else, keeping in mind that even if I learn just one thing that's extremely useful or thoughtful from an entire book, that's still great.

  1. HTML and CSS: Design and Build Websites by Jon Duckett (Official Site)
  2. JavaScript and JQuery: Interactive Front-End Web Development by Jon Duckett ([Official Site]
{
"Bad": {
"Bored": ["Indifferent", "Apathetic"],
"Busy": ["Pressured", "Rushed"],
"Stressed": ["Overwhelmed", "Out of control"],
"Tired": ["Sleepy", "Unfocussed"]
},
"Fearful": {
"Scared": ["Helpless", "Frightened"],
"Anxious": ["Overwhelmed", "Worried"],
@cablej
cablej / default.md
Created June 21, 2025 18:46
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.