Zsh helpers for navigating git worktrees faster.
| Command | Description |
|---|---|
gwtr |
List all worktrees sorted by last modified (newest first) |
cdwt |
Open an interactive fzf picker to cd into a worktree |
Zsh helpers for navigating git worktrees faster.
| Command | Description |
|---|---|
gwtr |
List all worktrees sorted by last modified (newest first) |
cdwt |
Open an interactive fzf picker to cd into a worktree |
| // ==UserScript== | |
| // @name Github Pages Source | |
| // @version 1.4.0 | |
| // @description Easily go to GitHub Pages' source repository | |
| // @author kidonng | |
| // @namespace https://github.com/kidonng/cherry | |
| // @match http*://*.github.io/* | |
| // ==/UserScript== | |
| ;(() => { |
| <script | |
| type="text/javascript" | |
| src="https://cdnjs.cloudflare.com/ajax/libs/firebug-lite/1.4.0/firebug-lite.js#startOpened=true,disableWhenFirebugActive=false" | |
| > | |
| </script> |
| .game { | |
| $majorsImp: 'Fireplace1', 'Fireplace2', 'CookingHearth1', 'CookingHearth2', 'ClayOven', 'StoneOven', 'Joinery', 'Pottery', 'Basket', 'Well'; | |
| @each $mId in $majorsImp { | |
| $i: index($majorsImp, $mId); | |
| .card--#{$mId} { | |
| background-position-x: (($i - 1) % 5) * 100% / 4; | |
| background-position-y: (($i - 1 - ($i - 1) % 5) / 5) * 100%; | |
| } | |
| } |
| .game { | |
| $majorsImp: 'Fireplace1', 'Fireplace2', 'CookingHearth1', 'CookingHearth2', 'ClayOven', 'StoneOven', 'Joinery', 'Pottery', 'Basket', 'Well'; | |
| @each $mId in $majorsImp { | |
| $i: index($majorsImp, $mId); | |
| &[data-id='Major_#{$mId}'] { | |
| .card-icon { | |
| background-position-x: (($i - 1) % 5) * 100% / 4; | |
| background-position-y: (($i - 1 - ($i - 1) % 5) / 5) * 100%; | |
| } |
| class Reversi extends Table | |
| { | |
| ////////////////////////////////////////////////////////////////////////////// | |
| //////////// Utility functions (functions used everywhere) | |
| //////////// | |
| // Get the list of returned disc when "player" we play at this place ("x", "y"), | |
| // or a void array if no disc is returned (invalid move) | |
| function getTurnedOverDiscs( $x, $y, $player, $board ) |
| https://github.com/samdemaeyer/codenames-pictures/raw/master/public/images/cards/card-0.jpg | |
| https://github.com/samdemaeyer/codenames-pictures/raw/master/public/images/cards/card-1.jpg | |
| https://github.com/samdemaeyer/codenames-pictures/raw/master/public/images/cards/card-10.jpg | |
| https://github.com/samdemaeyer/codenames-pictures/raw/master/public/images/cards/card-100.jpg | |
| https://github.com/samdemaeyer/codenames-pictures/raw/master/public/images/cards/card-101.jpg | |
| https://github.com/samdemaeyer/codenames-pictures/raw/master/public/images/cards/card-102.jpg | |
| https://github.com/samdemaeyer/codenames-pictures/raw/master/public/images/cards/card-103.jpg | |
| https://github.com/samdemaeyer/codenames-pictures/raw/master/public/images/cards/card-104.jpg | |
| https://github.com/samdemaeyer/codenames-pictures/raw/master/public/images/cards/card-105.jpg | |
| https://github.com/samdemaeyer/codenames-pictures/raw/master/public/images/cards/card-106.jpg |
| {"lastUpload":"2020-06-08T01:23:04.722Z","extensionVersion":"v3.4.3"} |