Skip to content

Instantly share code, notes, and snippets.


Jarvis Mercer - (AMSL) JARVIS-AI

  • Studying AI in University
View GitHub Profile
# a million commits
for Y in {1999..2018}
mkdir $Y
cd $Y
for M in {01..12}
mkdir $M
cd $M
for D in {01..31}
Created Jul 5, 2020 — forked from jedmao/
Common git commands in a day-to-day workflow

Git Cheat Sheet

Initial Setup

Initialize a repo

Create an empty git repo or reinitialize an existing one

git init
Created Mar 9, 2020 — forked from mrkwatz/
Firefox 57 Windows 10 UWP Style Overlay Scrollbars

As far as I am aware the time has come and as of Firefox 72 XUL has been stripped from firefox and so the method used to inject this scrollbar theme is no longer supported -- reference the following for future scroll themes:

Mozilla is currently working to phase out the APIs used to make this theme work. I will try to maintain each version until that time but eventually there will be no workaround. When that time comes there is a new, but more limited api for applying simple themes to scrollbars. In nightly I am currently using the following userContent.css

	scrollbar-width: thin;
	scrollbar-color: rgb(82, 82, 82) rgb(31, 31, 31);
Created Feb 28, 2020 — forked from nguyenanhtu/
Guide to configure SSL in XAMPP for Windows

How to test 'https' in XAMPP for localhost ? I will guide you


  • Create certificate
  • Config Apache to access https instead of http
  • Config mod rewrite to generate SSL url
  • Config Virtual host to test site

Step 1 : Create certificate

  • Go to your XAMPP installation directory (in my case it’s E:\xampp), figure out apache folder. In this, find & run batch file
Last active Feb 20, 2020
Chrome Dino game cheats

Hack Google Chrome and Make your Dinosaur Immortal

The game can be hacked pretty easily, making your dinosaur not even flinch at the sight of a cactus.

To hack the game, first go the the error message page where your dinosaur is hanging out.

Go ahead and press the space bar to start the game. Once the game starts, right-click and select Inspect” to open up Chrome DevTools, then select the Console tab.

Created Feb 17, 2020 — forked from straker/
Basic Snake HTML Game

Basic Snake HTML Game

Snake is a fun game to make as it doesn't require a lot of code (less than 100 lines with all comments removed). This is a basic implementation of the snake game, but it's missing a few things intentionally and they're left as further exploration for the reader.

Further Exploration

JARVIS-AI / wp-config.php
Created Jan 15, 2020
Set WordPress site URL in the config file instead of the database
View wp-config.php
// WordPress stores the site URL in the database by default (which I have never
// understood), and it's a pain to have to type out the UPDATE SQL or search in
// phpMyAdmin to change it. This is a simple way to put the URL into
// wp-config.php instead.
// Note that you will still need to update any URLs that appear in the content,
// especially when you copy a database from a development site to production:
JARVIS-AI / instructions.rst
Created Nov 13, 2019 — forked from Nachtalb/telegram-desktop-multiple-accounts.rst
Add multiple accounts in Telegram Desktop [Linux | MacOSX | Windows]
View instructions.rst

How to add multiple accounts to Telegram Desktop

Table of Contents


ATM of writing this, there is no way inside the Telegram Client to switch accounts (event though this feature exists in the offical mobile clients and there is a long running issue here: telegramdesktop/tdesktop#4261).

JARVIS-AI / .zshrc
Last active Nov 10, 2019 — forked from cristovao-trevisan/.zshrc
zsh configuration using zplugin
View .zshrc
export SDKMAN_DIR="/home/cristovao/.sdkman"
[[ -s "/home/cristovao/.sdkman/bin/" ]] && source "/home/cristovao/.sdkman/bin/"
## installer
source '/home/cristovao/.zplugin/bin/zplugin.zsh'
autoload -Uz _zplugin

elementaryOS Apps and Configs

This guide has been updated for elementaryOS v5.0+.

Enbale PPA support

sudo apt-get update
sudo apt-get -y install software-properties-common

Install original plank dock

You can’t perform that action at this time.