Skip to content

Instantly share code, notes, and snippets.

View Praetoreean's full-sized avatar
💭
I may be slow to respond.

Studio One Praetoreean

💭
I may be slow to respond.
View GitHub Profile
@Praetoreean
Praetoreean / darkice.cfg
Created September 4, 2020 08:00 — forked from exiva/darkice.cfg
DarkIce config
# this section describes general aspects of the live streaming session
[general]
duration = 0 # duration of encoding, in seconds. 0 means forever
bufferSecs = 5 # size of internal slip buffer, in seconds
reconnect = yes # reconnect to the server(s) if disconnected
realtime = yes # run the encoder with POSIX realtime priority
rtprio = 3 # scheduling priority for the realtime threads
# this section describes the audio input that will be streamed
[input]
@Praetoreean
Praetoreean / irc.md
Created December 20, 2019 07:32 — forked from xero/irc.md
irc cheat sheet

#IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

##The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
    • Leaves the specified channel.
@Praetoreean
Praetoreean / sources.list
Created February 27, 2019 15:36 — forked from rohitrawat/sources.list
Ubuntu 16.04 Xenial default /etc/apt/sources.list
#deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
@Praetoreean
Praetoreean / icecast.xml
Created November 6, 2018 07:37 — forked from gipi/icecast.xml
Simple configuration file for icecast2 server
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
@Praetoreean
Praetoreean / horoscope.md
Created February 11, 2018 22:24 — forked from albenik/horoscope.md
Матерный гороскоп

Овен

Баран - он баран и есть. Всегда прав и ниибет. Проще убить сразу, чем начинать с ним спорить, потому что переспорить Овна возможно только в одном случае - если он слепоглухонемой безрукий и безногий инвалид (и то, есть огромный шанс, что даже в этом случае он все равно покажет вам хуй). Зато Овны честные. Иногда такие честные, что аж зубы сводит: предельно честно ответит, если вам не идет стрижка или платье полнит. С этим ничего не поделаешь, придется смириться (или убить, как уже говорилось выше). В домашних делах Овен, как правило, бесполезен - он умеет только генерировать гениальные идеи, а прахом бытия старается подошв не осквернять. Впрочем, если дать Овну понять, что Стрелец моет полы лучше его - костьми, сука, ляжет, но будет каждую субботу канифолить ваш паркет, потому что нет на свете вещи, которую Овен бы Стрельцу уступил. С Овном никогда не бывает скучно - этот знак обладает каким-то кармическим, сука, талантом искать приключения на свою прекрасную жопу. Легко и быстро умеет зарабатывать де

@Praetoreean
Praetoreean / fix-wordpress-permissions.sh
Created June 17, 2017 23:46 — forked from Adirael/fix-wordpress-permissions.sh
Fix wordpress file permissions
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
#
WP_OWNER=www-data # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group
WP_ROOT=$1 # <-- wordpress root directory