How to use:
./wordle.sh
Or try the unlimit mode:
| #!/bin/bash | |
| # btrfs-undelete | |
| # Copyright (C) 2013 Jörg Walter <info@syntax-k.de> | |
| # This program is free software; you can redistribute it and/or modify it under | |
| # the term of the GNU General Public License as published by the Free Software | |
| # Foundation; either version 2 of the License, or any later version. | |
| if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then | |
| echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2 | |
| echo |
| # Replicate expandtab from vim. | |
| declare-option -docstring "Expand <tab> to spaces based on tabstop." bool expandtab yes | |
| # Replicate softtabstop from vim. | |
| declare-option -docstring "Make tabstop number of spaces feel like a <tab> when pressing <tab> or <backspace> in insert mode." int softtabstop 4 | |
| # Helper function for inserting a <tab> | |
| def softtabstop-insert-tab -hidden %{ | |
| evaluate-commands -no-hooks -draft -itersel %{ | |
| try %sh{ |
| # Runs "$@" in a subshell with the caller's options, sets reply=(stdout stderr) | |
| # and returns the status of the executed command. Both stdout and stderr are | |
| # captured completely, including NUL bytes, incomplete UTF-8 characters and | |
| # trailing LF, if any. | |
| # | |
| # Example: | |
| # | |
| # % zsh-run-command ls -d ~ /garbage | |
| # % printf 'status: %s\nstdout: %s\nstderr: %s\n' $? "${(q+)reply[@]}" | |
| # status: 2 |
| # Viktor Dukhovni's (@vdukhovni) slow rebase, made faster by bisecting, sort of | |
| # | |
| # fastrebase BRANCH_TO_REBASE ONTO | |
| function fastrebase { | |
| typeset b N | |
| if (($# > 0)) && [[ $1 = -h || $1 = --help ]]; then | |
| printf 'Usage: fastrebase BRANCH_TO_REBASE ONTO_HEAD\n' | |
| printf ' fastrebase # to continue after resolving conflicts\n' | |
| printf '\n\tfastrebase is a shell function that uses the following\n' |
| #!/bin/bash | |
| ############################################################################################ | |
| # WARNING: THESE SCRIPTS AND CHANGES ARE NOT MEANT FOR ANYBODY BUT ME. | |
| # RUNNING THESE WILL MESS UP YOUR COMPUTER IN MYSTERIOUS AND USUALLY UNRECOVERABLE WAYS. | |
| ############################################################################################ | |
| if [[ "$(sw_vers -productVersion)" != 10\.15* ]]; then | |
| echo "This is only meant to run on macOS 10.15.* Catalina" >&2 | |
| exit 1 |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "github.com/gorilla/mux" | |
| "github.com/jinzhu/gorm" |
| # This tells kubecfg to read its config from the local directory | |
| export KUBECONFIG=./kubeconfig | |
| # Looking at the cluster | |
| kubectl get nodes | |
| kubectl get pods --namespace=kube-system | |
| # Running a single pod | |
| kubectl run --generator=run-pod/v1 --image=gcr.io/kuar-demo/kuard-amd64:1 kuard | |
| kubectl get pods |
| Make a bookmarklet with this code: | |
| javascript:!function(e){function t(u){if(n[u])return n[u].exports;var r=n[u]={exports:{},id:u,loaded:!1};return e[u].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function u(){}function r(e){console.log("pageX",e.pageX,"pageY",e.pageY),T("#speaker").css({left:e.pageX-T("#speaker").width()/2+15,top:e.pageY-T("#speaker").height()/2+15,display:"block",width:"100px",height:"100px","margin-left":"-30px","margin-top":"-30px",opacity:"1"}),T("#speaker").each(function(e,t){T(t).animate({opacity:0,left:"+="+T(t).width()/4,top:"+="+T(t).height()/4,height:0,width:0},500,function(){T(t).hide()})})}function i(e,t,n){if("SCRIPT"!=e.tagName&&"math"!=e.tagName&&"CODE"!=e.tagName&&"BUTTON"!=e.tagName&&"STYLE"!=e.tagName&&"ASIDE"!=e.tagName&&"PRE"!=e.tagName){var u=T(e).css("float"),r="left"==u||"right"==u;if(!(T(e).width()<500&&r)){if(e.classList)for(var o=0;o<e.classList.length;o++){if("word"==e.classList[o]||"MathJax"==e.clas |
Permalink: git.io/vps
| Provider | Type | RAM | Cores | Storage | Transfer | Network | Price |
|---|