Skip to content

Instantly share code, notes, and snippets.

View JARVIS-AI's full-sized avatar
💀
Learning

Jarvis Mercer - (AMSL) JARVIS-AI

💀
Learning
View GitHub Profile
@JARVIS-AI
JARVIS-AI / gitcom.md
Created July 5, 2020 13:08 — forked from jednano/gitcom.md
Common git commands in a day-to-day workflow

Git Cheat Sheet

Initial Setup

Create an empty git repo or reinitialize an existing one

git init
@JARVIS-AI
JARVIS-AI / Firefox_Scrollbars-W10style.md
Created March 9, 2020 11:13 — forked from mrkwatz/Firefox_Scrollbars-W10style.md
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

:root{
	scrollbar-width: thin;
	scrollbar-color: rgb(82, 82, 82) rgb(31, 31, 31);
}
@JARVIS-AI
JARVIS-AI / SSLXampp.md
Created February 28, 2020 08:48 — forked from nguyenanhtu/SSLXampp.md
Guide to configure SSL in XAMPP for Windows

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

Menu

  • 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
@JARVIS-AI
JARVIS-AI / dino.md
Last active April 5, 2024 11:16
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.

@JARVIS-AI
JARVIS-AI / README.md
Created February 17, 2020 17:56 — forked from straker/README.md
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
JARVIS-AI / wp-config.php
Created January 15, 2020 13:21
Set WordPress site URL in the config file instead of the database
<?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:
// https://gist.github.com/davejamesmiller/a8733a3fbb17e0ff0fb5
@JARVIS-AI
JARVIS-AI / instructions.rst
Created November 13, 2019 16:03 — forked from Nachtalb/telegram-desktop-multiple-accounts.rst
Add multiple accounts in Telegram Desktop [Linux | MacOSX | Windows]

How to add multiple accounts to Telegram Desktop

Table of Contents

Introduction

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
JARVIS-AI / .zshrc
Last active November 10, 2019 16:39 — forked from cristovao-trevisan/1 - .zshrc
zsh configuration using zplugin
# SDKMAN
export SDKMAN_DIR="/home/cristovao/.sdkman"
[[ -s "/home/cristovao/.sdkman/bin/sdkman-init.sh" ]] && source "/home/cristovao/.sdkman/bin/sdkman-init.sh"
# ZPLUGIN
## installer
source '/home/cristovao/.zplugin/bin/zplugin.zsh'
autoload -Uz _zplugin
@JARVIS-AI
JARVIS-AI / 1-elementary-os-apps.md
Created November 9, 2019 22:02 — forked from ankurk91/1-elementary-os-apps.md
elementary OS 5.0 Juno

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

@JARVIS-AI
JARVIS-AI / README.md
Last active November 8, 2019 16:56
Install Plenv - Perl version manager and modules for better world with perl [LOVE PERL]

Love Perl

In this gist you will learn how to make your perl a better place to programme pler apps Obviously you will need some modules

Install Perl - Plenv - CPANM - Perl Modules

Install PLENV

Go to It's repo