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 / 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 / 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 / configure_muliple_gcc.sh
Created November 7, 2019 13:10 — forked from SunnyRaj/configure_muliple_gcc.sh
Configure multiple GCC versions on ubuntu
#!/usr/bin/env bash
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt update
sudo update-alternatives --remove-all gcc
sudo update-alternatives --remove-all g++
sudo apt-get install -y gcc-4.8 g++-4.8 gcc-4.9 g++-4.9 gcc-5 g++-5 gcc-6 g++-6 gcc-7 g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10
@JARVIS-AI
JARVIS-AI / elementaryos.md
Created November 4, 2019 20:41 — forked from suberb/elementaryos.md
elementaryOS | Things To Do After Installing Elementary OS Loki [Best OS For Switching From Windows & Mac]

FIRST THING FIRST


  • Update OS
sudo apt-get update && sudo apt-get upgrade

@JARVIS-AI
JARVIS-AI / .bash_profile
Created November 4, 2019 20:33 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management