Skip to content

Instantly share code, notes, and snippets.

View thijskok's full-sized avatar

Thijs Kok thijskok

View GitHub Profile
@thijskok
thijskok / settings.json
Created March 9, 2022 12:12
My VS Code preferences
{
"[blade]": {
"editor.autoClosingBrackets": "always",
"editor.defaultFormatter": "shufo.vscode-blade-formatter"
// "editor.formatOnSave": true
},
"[php]": {
"editor.defaultFormatter": "junstyle.php-cs-fixer"
},
"blade.format.enable": true,
@thijskok
thijskok / Preferences.sublime-settings
Last active May 24, 2021 08:07
My Sublime preferences
// Settings in here override those in "Default/Preferences.sublime-settings",
// and are overridden in turn by syntax-specific settings.
{
"added_words":
[
"Laravel"
],
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Mariana.sublime-color-scheme",
"create_window_at_startup": false,
@thijskok
thijskok / mnml.zsh-theme
Last active October 18, 2020 13:12
mnml.zsh-theme
# vim:ft=zsh ts=2 sw=2 sts=2
#
# MiNiMaL
# A minimal prompt based on agnoster's Theme (https://gist.github.com/3712874)
#
# # Introduction
#
# MNML tries to minimize the information required shown in your prompt.
#
# - In your homedir, only a '~' is displayed.
@thijskok
thijskok / gist:da337f5b24a29a0abe716be7fe9cb5d1
Created May 23, 2019 19:31
Ender 3 Cura Custom Start G-code
; Ender 3 Custom Start G-code
M280 P0 S140
G4 P2000 ; delay for BLTouch
M280 P0 S160 ; BLTouch alarm release
G4 P100 ; delay for BLTouch
M140 S{material_bed_temperature_layer_0} ; Set Heat Bed temperature
M190 S{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature
M104 S160; start warming extruder to 160
G28 ; Home all axes
G29 ; Auto bed-level (BLTouch)
@thijskok
thijskok / config.yml
Last active April 4, 2023 05:47
CircleCI 2.0 Laravel build configuration with PHP 7.1, NodeJS, and MySQL support. Runs both PHPunit as well as Laravel Dusk. Proper GD configuration for image editing purposes. Several linters included (requires including them in composer / package.json).
version: 2
jobs:
build:
working_directory: ~/user/repo
environment:
BASH_ENV: ~/.bashrc
docker:
@thijskok
thijskok / zshinstall.sh
Created December 23, 2015 20:37
ZSH installation script
#!/bin/sh
#
# This script installs ZSH and Oh My ZSH.
# Update and install ZSH
sudo apt-get update
sudo apt-get install -y zsh
# Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
@thijskok
thijskok / zshsetup.sh
Last active December 23, 2020 13:25
ZSH configuration script
#!/bin/sh
#
# This script configures Oh My ZSH and can be directly executed after it has been installed.
# Download personal theme
wget -q -O .oh-my-zsh/themes/mnml.zsh-theme https://raw.githubusercontent.com/thijskok/zsh-theme/master/mnml.zsh-theme
# Update configuration to use theme (add default_user as well)
sed -i -e '/ZSH_THEME=/s/=.*/="mnml"\n\nDEFAULT_USER=`whoami`/' ~/.zshrc