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
# for emacs M-x term | |
function fish_title | |
true | |
end |
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
Set-Alias lvim 'C:\Users\USER\.local\bin\lvim.ps1' | |
Import-Module PSReadLine | |
Enable-PowerType | |
Set-PSReadLineOption -PredictionSource HistoryAndPlugin -PredictionViewStyle ListView | |
oh-my-posh --init --shell pwsh --config 'C:\OhMyPoshThemes\dlg.omp.json' | Invoke-Expression | |
Import-Module -Name Terminal-Icons | |
Import-Module PSFzf | |
Set-PsFzfOption -PSReadLineChordProvider ‘Ctrl+f’ -PSReadLineChordReverseHistory ‘Ctrl+r’ |
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 sys | |
import pygame as pg | |
class Game(object): | |
""" | |
A single instance of this class is responsible for | |
managing which individual game state is active | |
and keeping it updated. It also handles many of | |
pygame's nuts and bolts (managing the event |
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
;; Added by Package.el. This must come before configurations of | |
;; installed packages. Don't delete this line. If you don't want it, | |
;; just comment it out by adding a semicolon to the start of the line. | |
;; You may delete these explanatory comments. | |
(package-initialize) | |
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") | |
("marmalade" . "http://marmalade-repo.org/packages/") | |
("melpa" . "http://melpa.org/packages/") | |
("melpa_stable" . "http://stable.melpa.org/packages/"))) |
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
/* | |
TO compile: | |
ccache g++ -Wall -Wextra -pipe -lsndfile -lopenal -lboost_chrono -lboost_system -lboost_thread libsndfile_test.cxx | |
TO run: | |
./a.out $AUDIO_FILE | |
*/ | |
#include <sndfile.h> |