Skip to content

Instantly share code, notes, and snippets.

View mixn's full-sized avatar
💭
$ npx milos

Miloš Sutanovac mixn

💭
$ npx milos
View GitHub Profile
// mixN Config - created 15-06-2019
// Influenced by https://pastebin.com/3AnRzY3G
// Main Settings
con_enable "1" //Enables Console
gameinstructor_enable "0" //Removes in-game instructions
cl_showhelp "0" //Removes on-screen help
cl_autohelp "0" //Removes automatic help
cl_disablefreezecam "1" //Disables Freezecam
cl_disablehtmlmotd "1" //Removes "Message of the day" page when joining a server
# Remove items from the Trash after 30 days
defaults write com.apple.finder FXRemoveOldTrashItems -bool true
# Keep folders on top when sorting by name
defaults write com.apple.finder _FXSortFoldersFirst -bool true
function readLinesSync (fileName) {
// Dummy
const file = {
fileName,
isAtEndOfFile: () => false,
close: () => 'Closed'
};
return {
[Symbol.iterator] () {