Hidden system settings (click to expand the bulletpoints)
save screenshots to a folder on the desktop, instead of directly on the desktop
mkdir ~/Desktop/screenshots
defaults write com.apple.screencapture location ~/Desktop/screenshots
#!/bin/bash | |
ROOT_FOLDER="${1}" | |
SOURCE_FOLDER="${ROOT_FOLDER}/${2}" | |
CACHE_FOLDER="${ROOT_FOLDER}/${3}" | |
TARGET_FOLDER="${ROOT_FOLDER}/${4}" | |
TARGET_BITRATE="${5}" | |
# abort, if there is a lock file | |
LOCKFILE="${ROOT_FOLDER}/converting.lock" | |
if [ -f "${LOCKFILE}" ]; then |
mkdir ~/Desktop/screenshots
defaults write com.apple.screencapture location ~/Desktop/screenshots
{ | |
"workbench.statusBar.visible": true, | |
"files.insertFinalNewline": true, | |
"editor.scrollBeyondLastLine": false, | |
"editor.emptySelectionClipboard": false, | |
"editor.tabSize": 2, | |
"eslint.autoFixOnSave": true, | |
"tslint.autoFixOnSave": true, | |
"vsicons.projectDetection.autoReload": true, | |
"editor.rulers": [80, 120], |
#!/bin/bash | |
system=$(lsb_release --description) | |
system_name=$(lsb_release --id --short) | |
system_version=$(lsb_release --release --short) | |
system_main_version=${system_version%%.*} | |
is_debian=false | |
is_ubuntu=false | |
is_mint=false |
su
apt install sudo
addgroup YOURUSERNAME sudo
reboot
nvm
from the plugins
of your ~/.zshrc
Setting a prefix changes the installation directory for global packages and is not supported by nvm.
if npm config get prefix
is either not set, or a subpath of echo $NVM_DIR
, then you're good to go. Otherwise run npm config delete prefix
to unset your prefix.
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/home/heiko/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="robbyrussell" |
engine.ts
export class Engine {}
car.ts