Skip to content

Instantly share code, notes, and snippets.

View brucebentley's full-sized avatar

Bruce Bentley brucebentley

View GitHub Profile
@BindiChen
BindiChen / css-styled-select.html
Created February 27, 2020 19:43
CSS only Custom Styled Select
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pure CSS Styled Select</title>
<style>
body {
background-color: #e74c3c;
font-family: 'Source Sans Pro', sans-serif;
# Moved to https://github.com/anotherkev/homeassistant-config/blob/main/ui-lovelace.yaml
@SeppoTakalo
SeppoTakalo / Tune Mac OS X terminal.md
Last active December 3, 2024 05:49
Tune Mac OS X terminal

This page lists my personal preferences to set up proper command line for Mac OS X.

Change default shell to ZSH

Current default for Mac OS X Catalina, offers much better customizations that Bash.

chsh -s /bin/zsh

Install Homebrew

@daviddarke
daviddarke / gitlab-ci.yml
Last active May 21, 2024 14:17
Gitlab pipeline to push to WP Engine
stages:
- deploy
Deploy:
before_script:
## Install ssh-agent if not already installed, it is required by Docker.
## (change apt-get to yum if you use an RPM-based image)
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
## Create the SSH directory and give it the right permissions
@tingwei628
tingwei628 / docker-compose.yml
Created October 27, 2019 15:20
use postgresql and pgAdmin in docker
version: "3.4"
services:
pgAdmin:
restart: always
image: dpage/pgadmin4
ports:
- "8000:80"
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
@vinnietech
vinnietech / init.lua
Last active November 2, 2023 12:11
My Hammerspoon configuration
hyper = {"cmd"}
shift_hyper = {"cmd", "ctrl", "alt"}
hs.hotkey.bind(hyper, 'pad0', function () hs.application.launchOrFocus("Google Chrome") end)
hs.hotkey.bind(hyper, 'pad1', function () hs.application.launchOrFocus("iTerm") end)
hs.hotkey.bind(hyper, 'pad2', function () hs.application.launchOrFocus("Webstorm") end)
hs.hotkey.bind(hyper, 'pad3', function () hs.application.launchOrFocus("Tower") end)
hs.hotkey.bind(hyper, 'pad4', function () hs.application.launchOrFocus("Mail") end)
@leodutra
leodutra / -setup-windows-wsl-devenv.md
Last active April 8, 2025 13:28
Install and Setup Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font

Setup Windows Subsystem 2 for Linux

Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font

To setup native Linux, see this gist

Preview

Requirements

@brucebentley
brucebentley / Available HTML5 <head> Elements.md
Last active November 3, 2023 13:21
A list of everything that could potentially go in the <head> of your document.

Available HTML5 <head> Elements

 
A list of everything that could potentially go in the <head> of your document.
 

Table of Contents

@rubencaro
rubencaro / README.md
Last active December 25, 2022 09:57
Kubernetes development environment settings

Kubernetes development environment settings

These are my notes, not a generic solution. They are not meant to work anywhere outside my machines. Update version numbers to whatever are the current ones while you do this.

This solution does not use Docker at all

See this if you don't know how's that even possible. Understand this and this to see why is it advisable not to depend on Docker at all.

Install tooling to manage containers and VMs, and the CRI-O runtime

@rednafi
rednafi / cloudSettings
Last active June 17, 2022 19:11
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-08-20T20:27:31.107Z","extensionVersion":"v3.4.3"}