Skip to content

Instantly share code, notes, and snippets.

@GeekBrony
GeekBrony / radio_system.liq
Last active July 13, 2023 14:52
Liquidsoap Radio System
###########################################################################################
# Liquidsoap Radio System - built by GeekBrony, based from Liquidsoap. #
###########################################################################################
# Primary Features:
# - AutoDJ that crossfades between songs and has a 1/10 chance of landing on a Station ID/Jingle/Ad.
# - AutoDJ also selects tracks from "High Priority", "Low Priority" and "New Songs" playlists randomly.
# - Live Shows (that automatically dump to a directory)
# - Mic to speak over the stream.
# - Requests via Telnet/Web Interface, which have a 80-90% chance of queuing up when a song ends.
@seungwonpark
seungwonpark / square-wave.tex
Created June 6, 2017 16:18
Fourier Series of Square Wave
% Fourier Series of Square Wave - illustrated and computed by TeX.
% Author : Seungwon Park (swpark.me)
% convert -delay 10 -loop 0 -density 400 -alpha remove square-wave.pdf square-wave.gif
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{amsmath,amssymb}
\usepackage{centernot}
\begin{document}
\foreach \angle in {0,4,...,360}{
@Yatoom
Yatoom / setup.md
Last active June 16, 2024 01:14
Thinkfan configuration

Thinkfan setup

Note: I configured this thinkfan setup for my old Thinkpad w520 on Ubuntu 17.10.

1. Install necessary programs

Install lm-sensors and thinkfan.

sudo apt-get install lm-sensors thinkfan