Skip to content

Instantly share code, notes, and snippets.

View tomatohammado's full-sized avatar

Hammad Malik tomatohammado

View GitHub Profile
@tomatohammado
tomatohammado / ac-critters.md
Last active May 3, 2020 16:17
Animal Crossing Critter Tables

Animal Crossing Critter Tables

High-Value – Active

Fish

Name Location Shadow Size Time Price Availability
Koi Pond Large 4pm - 9am 4,000 All Year
Ranchu Goldfish Pond Small 9am - 4pm 4,500 All Year
@tomatohammado
tomatohammado / obj-and-json.js
Created November 27, 2019 19:15
Native Object vs JSON examle
const testObj = {
name: "Hammad",
age: 30,
favoriteAnime: [
"Cowboy Bebop",
"Dragon Ball",
"Death Note",
"Samurai Champloo"
],
holla: () => console.log("hollaaaaaaa")
@tomatohammado
tomatohammado / review.md
Last active November 20, 2019 19:17
SEI 34 Week 2 Day 3 Homeroom Review 2019-11-20

JS Review leading into JS Debugging Lab

We should review stuff!

Topics We've Covered

  • Data Types
  • Conditional Statements
  • Loops
  • Functions
@tomatohammado
tomatohammado / useful-css.md
Last active August 8, 2019 09:59
I made this CSS cheatsheet at my last job

Fun CSS Stuff

Sanitze.css

Official Site and github repo

I like this base css sheet, has everything normalize has and some "opinionated" additions that I like, such as border-box by default.

<link
@tomatohammado
tomatohammado / create--prettier-md-config.sh
Last active July 23, 2019 19:15
Shell Script to create `.prettierrc` with Markdown settings
#!/bin/bash
GREEN='\033[1;32m'
YELLOW='\033[1;33m'
LCYAN='\033[1;36m'
NC='\033[0m' # No Color
# Create files
echo -e "${YELLOW}Creating ${NC}./.prettierrc"
@tomatohammado
tomatohammado / termina.bash
Created June 26, 2019 13:11
that time I somehow got a repo to express-jwt-study/Users/hammad/SEI/sei_30/sandbox/express-jwt-study
Last login: Sun Jun 23 10:22:14 on console
Starting ssh-agent...
Identity added: /Users/hammad/.ssh/id_rsa (tomatohammado@gmail.com)
~
➜ cd SEI/sei_30/lessons
SEI/sei_30/lessons
➜ gcl git@git.generalassemb.ly:dc-wdi-react-redux/Project.git 0901-project-three
Cloning into '0901-project-three'...
@tomatohammado
tomatohammado / update-global-gitignore.md
Last active June 26, 2019 18:02
SEI31 - Update Global `gitignore` for students that ran installfest before 20 Jun 2019

Update Global gitignore

Purpose

The older global gitignore included files that are only appropriate for certain projects. That caused edge-case issues where students would work on projects outside of the normal lessons but not be able to see the changes to their files.

We have since removed the potentially problematic files from the global gitignore, and very shortly in the course you will become knowledgeable about how to use your own local gitignore file in your projects as you need them!

Instructions

@tomatohammado
tomatohammado / installfest.bash
Last active June 20, 2019 15:04
fresh install, pt3
Last login: Thu Jun 20 09:21:40 on ttys000
mon✔ ~
09:28 $ mongod
2019-06-20T09:28:22.723-0400 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
2019-06-20T09:28:22.739-0400 I CONTROL [initandlisten] MongoDB starting : pid=26486 port=27017 dbpath=/data/db 64-bit host=Hammads-MacBook-Air.local
2019-06-20T09:28:22.739-0400 I CONTROL [initandlisten] db version v4.0.3
2019-06-20T09:28:22.739-0400 I CONTROL [initandlisten] git version: 7ea530946fa7880364d88c8d8b6026bbc9ffa48c
2019-06-20T09:28:22.739-0400 I CONTROL [initandlisten] allocator: system
2019-06-20T09:28:22.739-0400 I CONTROL [initandlisten] modules: none
2019-06-20T09:28:22.739-0400 I CONTROL [initandlisten] build environment:
@tomatohammado
tomatohammado / installfest.bash
Last active June 20, 2019 13:21
fresh install, pt2
Last login: Wed Jun 19 23:41:57 on ttys000
MacBook-Air:~ hammad$ brew --version
Homebrew 2.1.6
Homebrew/homebrew-core (git revision fef8; last commit 2019-06-19)
MacBook-Air:~ hammad$ git --version
git version 2.22.0
MacBook-Air:~ hammad$ brew cask install sublime-text visual-studio-code
==> Tapping homebrew/cask
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 3694, done.
@tomatohammado
tomatohammado / installfest.bash
Last active June 20, 2019 04:01
fresh install, pt 1
Last login: Wed Jun 19 23:33:30 on console
MacBook-Air:~ hammad$ xcode-select --version
xcode-select version 2354.
MacBook-Air:~ hammad$ ls -a ~
. .bash_sessions Movies
.. Desktop Music
.CFUserTextEncoding Documents Pictures
.DS_Store Downloads Public
.Trash Library
MacBook-Air:~ hammad$ echo $PATH