Skip to content

Instantly share code, notes, and snippets.

View thiphariel's full-sized avatar
💤

Thiph thiphariel

💤
  • 19:50 (UTC +02:00)
View GitHub Profile
@thiphariel
thiphariel / arch-ovh-baremetal.md
Created September 14, 2024 23:46 — forked from Rykian/arch-ovh-baremetal.md
Arch Linux on OVH Baremetal

Install Arch on OVH Baremetal server

This guide will show you how to install Arch Linux on an OVH VPS.
As you may have noticed, OVH does not have an Arch image, which is a problem. Follow these instructions to install Arch using recovery mode.

Conventions

Assume anything reffered to as low ram vps in the guide to be a VPS with <8gb ram

This guide assumes the following:

  • Your VPS has one drive
@thiphariel
thiphariel / steam_console_params.txt
Created September 4, 2024 07:08 — forked from davispuh/steam_console_params.txt
Steam client parameters, consoles commands and variables
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accesscode -
-all_languages - show longest loc string from any language
-batterytestmode - rapidly cycle battery percentages for testing
-bigpicture - Start in Steam Big Picture mode
-blefw -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
@thiphariel
thiphariel / Naty's FFXIV Endwalker Add-ons, Plugins and Mods.md
Created April 7, 2024 08:25 — forked from natyusha/Naty's FFXIV Dawntrail Add-ons, Plugins and Mods.md
All the third party add-ons, plugins and mods I use for FFXIV.
@thiphariel
thiphariel / add-location-to-gnome-weather.sh
Created January 2, 2024 09:38
Add new location to gnome weather through OSM nominatim
#!/bin/bash
if [[ ! -z "$(which gnome-weather)" ]]; then
system=1
fi
if [[ ! -z "$(flatpak list | grep org.gnome.Weather)" ]]; then
flatpak=1
fi
@thiphariel
thiphariel / commitizen.md
Created December 17, 2023 16:25
Commitizen
# Install deps
npm install -g commitizen cz-conventional-changelog

# Init project
commitizen init cz-conventional-changelog --save-dev --save-exact

# Commit
g cz -a
@thiphariel
thiphariel / dotfiles.md
Last active December 17, 2023 20:17
Personal dotfiles

Create alias on .zshrc

alias dfl="g --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"

Create the folder to store the actual files and push them to github

mkdir ~/.dotfiles 
@thiphariel
thiphariel / slack-dark.css
Last active March 13, 2018 10:51
Slack dark theme
/* Cloned from https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css
https://github.com/laCour/slack-night-mode/
*/
body { background: #313A40; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
@thiphariel
thiphariel / dnsmasq macOS.md
Created March 3, 2018 15:15 — forked from brablc/dnsmasq macOS.md
Setup dnsmasq on OS X

Never touch your local /etc/hosts file in OS X again

To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.

Requirements

Install

@thiphariel
thiphariel / .vimrc
Created March 3, 2018 09:29
.vimrc
set ai " auto indenting
set ruler " show the cursor position
syntax on " syntax highlighting
set hlsearch " highlight the last searched term
filetype plugin on " use the file type plugins
" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
@thiphariel
thiphariel / ios.sh
Created October 4, 2017 08:02
iOS simulator command line
ios() {
# Try if an argument is provided, else, launch an iPhone 8 simulator
if [ -z "$1" ]; then
SIMULATOR_NAME="iPhone 8"
else
SIMULATOR_NAME=$1
fi
xcrun simctl boot SIMULATOR_NAME
open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app