This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################# | |
# This script depends on docker. | |
# simply run ./docker-cloud-sync-redeploy.sh <stack name> | |
############################################################# | |
set -e | |
STATE_RUNNING='Running' | |
STATE_NOT_RUNNING='Not running' | |
STATE_STARTING='Starting' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using UnityEditorInternal; | |
using UnityEngine.Rendering; | |
using System; | |
using System.Collections; | |
using System.Reflection; | |
[CustomEditor(typeof(MeshRenderer))] | |
public class MeshRenderOverrideEditor : Editor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew install --cask brooklyn | |
brew install watch | |
brew install kubectl | |
brew install k9s | |
brew install ncdu | |
brew install derailed/popeye/popeye | |
brew install bat | |
brew install fd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
export ORG="MY_ORG" | |
export CIRCLE_TOKEN="MY_TOKEN" | |
gh repo list $ORG -L 1000 | awk '{print $1}' | while read repo; do | |
echo "Processing $repo" | |
# Delete all GH tokens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package custommiddleware | |
import ( | |
"context" | |
"github.com/labstack/echo/v4" | |
) | |
// extend echo.Context | |
type contextValue struct { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local wezterm = require 'wezterm' | |
local config = wezterm.config_builder() | |
config.color_scheme = 'Dark Pastel' | |
config.font = wezterm.font('FiraCode Nerd Font', { weight = 'Regular' }) | |
config.font_size = 16 | |
config.default_prog = { '/opt/homebrew/bin/fish', '-l' } | |
config.keys = { | |
{ | |
key = 'd', |