brew install zsh
echo $(which zsh) | sudo tee -a /etc/shells
sudo chsh -s $(which zsh) $USER
-- Pull in the wezterm API | |
local wezterm = require 'wezterm' | |
-- This table will hold the configuration. | |
local config = {} | |
-- In newer versions of wezterm, use the config_builder which will | |
-- help provide clearer error messages | |
if wezterm.config_builder then | |
config = wezterm.config_builder() |
{ | |
"version": "2.0.107.2", | |
"settings": { | |
"blur": 0, | |
"brightness": 100, | |
"contrast": 100, | |
"grayscale": 0, | |
"huerotate": 0, | |
"invert": 0, | |
"saturate": 100, |
#!/bin/sh | |
sudo dnf install -y wget p7zip curl | |
[[ ! -d ~/.fonts ]] && mkdir -p ~/.fonts | |
wget "$(curl "https://www.recursive.design" | grep -o 'https://github.com/.*.zip' | head -n1)" -O /tmp/recursive-fonts.zip | |
( cd ~/.fonts ; 7za e -y -r -i\!*.ttf /tmp/recursive-fonts.zip ) |
<?php | |
// Make Soliloquy sliders use wp's native responsive images with wp retina | |
function my_theme_soliloquy_output($slider, $data) { | |
return wp_make_content_images_responsive($slider); | |
} | |
add_filter('soliloquy_output', 'my_theme_soliloquy_output', 10, 2); | |
// wp_make_content_images_responsive needs the img tags to have a class with their id | |
function my_theme_soliloquy_image_slide_class($classes, $item, $i, $data, $mobile) { | |
$classes[] = 'wp-image-' . $item['id']; |
# https://gitlab.com/help/ci/quick_start/README | |
# https://docs.gitlab.com/ee/ci/introduction/ | |
# https://docs.gitlab.com/ee/ci/yaml/ | |
image: dpolyakov/docker-node-latest-with-rsync:latest | |
# before_script: | |
# - apt-get update -qq | |
# - apt-get install -qq git |
QEMU requires brew in OSX, so we need to install brew first.
To install brew we need to have the developer tools enabled in our system. In order to install those tools, we have two options.
xcode-select --install
zdharma-continuum/fast-syntax-highlighting | |
zsh-users/zsh-autosuggestions | |
zsh-users/zsh-history-substring-search | |
zsh-users/zsh-completions | |
buonomo/yarn-completion | |
spaceship-prompt/spaceship-prompt |
#!/bin/sh | |
STATUS=$(/usr/sbin/mwan3 status) | |
if [ "$STATUS" != "${STATUS/error/} ]; then | |
/usr/sbin/mwan3 restart | |
fi |