This guide has been updated for elementaryOS v5.0+.
sudo apt-get update
sudo apt-get -y install software-properties-common
# 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 |
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).
<?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 |
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.
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.
https
instead of http
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);
}
Create an empty git repo or reinitialize an existing one
git init
# a million commits | |
for Y in {1999..2018} | |
do | |
mkdir $Y | |
cd $Y | |
for M in {01..12} | |
do | |
mkdir $M | |
cd $M | |
for D in {01..31} |