sudo apt install snapd
sudo snap install leagueoflegends --edge --devmode
sudo snap refresh --candidate wine-platform-runtime
sudo snap refresh --candidate wine-platform-4-staging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import System.Environment | |
main = do | |
args <- getArgs | |
print args |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define LOWER 0 /* lower limit of temp. table (in Fahrenheit) */ | |
#define UPPER 300 /* upper limit */ | |
#define STEP 20 /* step size */ | |
double fahrenheitToCelsius(int fahr) { | |
return (5.0 / 9.0) * (fahr - 32.0); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
One of the biggest problems with coding and programming with beginners is | |
how intimidating it can be. This guide explains why coding can appear to be | |
difficult for those who are unfamiliar with it and how they should approach | |
learning how to code. | |
In my experience, I have found that the people who struggle most with | |
coding are those who are not comfortable with typing. It seems obvious that | |
this would be the case, but too often do I assume that everyone is good at | |
typing. So, the first step would be to make sure that you can type on your | |
keyboard reasonably quickly and be able to identify what each and every key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
I hereby claim:
- I am airicbear on github.
- I am airicbear (https://keybase.io/airicbear) on keybase.
- I have a public key ASAdCGruWDbkXmyLx7IDzjK4zh5YaLu58HgdqLtyArmn9go
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Convert markdown files to PDF format. | |
# Dependencies: | |
# - pandoc (apt): sudo apt install pandoc | |
# - xetex (apt): sudo apt install texlive-xetex | |
for FILE in ./md/*.md; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
youtube-dl --extract-audio --audio-format vorbis -o "%(title)s.%(ext)s" $@ |
Instructions courtesy of ubuntu18.com
sudo apt-add-repository "deb http://archive.canonical.com/ubuntu bionic partner"
sudo apt update
sudo apt install adobe-flashplugin