Skip to content

Instantly share code, notes, and snippets.

View extratone's full-sized avatar
🗿
sudo exit

David Blue extratone

🗿
sudo exit
View GitHub Profile
@extratone
extratone / uniart.md
Created May 28, 2021 04:57
My old Unicode Art collection.

Unicode Art

   ( o . o)

    (•3•)
   Z(  )z
     /  \

    _██_

‹(•¿•)›

@extratone
extratone / piaac.md
Created May 30, 2021 23:35
PIAAC Proficiency Levels for Literacy
Achievement level and score range Task descriptions
Below Level 1 0 - 175 The tasks at this level require the respondent to read brief texts on familiar topics to locate a single piece of specific information. There is seldom any competing information in the text and the requested information is identical in form to information in the question or directive. The respondent may be required to locate information in short continuous texts. However, in this case, the information can be located as if the text were non-continuous in format. Only basic vocabulary knowledge is required, and the reader is not required to understand the structure of sentences or paragraphs or make use of other text features. Tasks below Lev
@extratone
extratone / ieeg.md
Last active June 1, 2021 09:50
"e.g. / i.e. / et al." | John A. Dutton e-Education Institute

It is important to use these abbreviations literally and to punctuate them correctly. Many writers confuse "e.g." and "i.e.," and many type "et al." improperly or do not properly recognize what words it represents.

The abbreviation "e.g." is from the Latin exempli gratia and means, literally, "for example." Periods come after each letter and a comma normally follows unless the example is a single word and no pause is natural:

Any facial response (e.g., a surprised blink of both eyes) was recorded.

The abbreviation "i.e." is from the Latin id est, meaning "that is." Loosely, "i.e." is used to mean "therefore" or "in other words." Periods come after each letter and a comma normally follows, depending on whether the wording following the abbreviation dictates a natural pause:

In every case Angle 1 was greater than Angle 2—i.e., every viewer perceived a circle.

@extratone
extratone / ts2mp4.md
Created June 29, 2021 07:39
Converting .ts files to .mp4 files with ffmpeg.
ffmpeg -i xperia.ts -c:v libx264 -c:a aac xperia.mp4
@extratone
extratone / ffmpegs.md
Created June 29, 2021 16:25
My personal collection of ffmpeg one-liners.
  1. Converting .ts files to .mp4 files with ffmpeg. ffmpeg -i xperia.ts -c:v libx264 -c:a aac xperia.mp4

  2. Converting .mov to mp4. ffmpeg -i decision.mov -vcodec h264 -acodec mp2 decision.mp4

Discord

(Unofficial) Discord server rules suggestions list

Author's Note

I'll start off with letting you know this is a fork from someone else. However, for some bizarre reason, this is the one everyone finds, so I better get round to updating this. Credit to Cristiano#2233 for the original idea.

Also, I've had a lot of people saying the rules are to strict. If you pick all the rules here, you're right, it would be very strict. However the rules below are guidelines! They are there for you to pick the ones you desire, you can ignore ones you don't want. Hopefully they might help with rules you wouldn't have thought of otherwise.

package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"net/url"
"os/exec"
"strconv"
@extratone
extratone / <audio>.md
Created July 22, 2021 03:45
Very simple audio player embed using a URL to an audio file within a GitHuh Repository.
<audio controls>
  <source src="https://github.com/extratone/bilge/raw/main/audio/Mono.mp3">
</audio>
\documentclass[sigconf,anonymous=$anonymous$]{acmart}
\usepackage{booktabs}
\usepackage{caption} % http://mirror.easyname.at/ctan/macros/latex/contrib/caption/caption-eng.pdf
\usepackage{balance} % balancing bibstyles as per request in accepted submission
\usepackage{graphicx}
% We will generate all images so they have a width \maxwidth. This means
% that they will get their normal width if they fit onto the page, but
% are scaled down if they would overflow the margins.
\documentclass[sigconf,anonymous=$anonymous$]{acmart}
\usepackage{booktabs}
\usepackage{caption} % http://mirror.easyname.at/ctan/macros/latex/contrib/caption/caption-eng.pdf
\usepackage{balance} % balancing bibstyles as per request in accepted submission
\usepackage{graphicx}
% We will generate all images so they have a width \maxwidth. This means
% that they will get their normal width if they fit onto the page, but
% are scaled down if they would overflow the margins.