This file contains hidden or 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
| [keys.normal] | |
| C-g = [":new", ":insert-output lazygit", ":buffer-close!", ":redraw"] |
This file contains hidden or 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
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
This file contains hidden or 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
| # Apache Conf | |
| # Mod cgi required for cgi script | |
| <VirtualHost *:80> | |
| ServerName locahost | |
| # ServerAdmin webmaster@localhost | |
| DocumentRoot "/usr/share/cgit" | |
| <Directory "/usr/lib/cgit/"> |
This file contains hidden or 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
| "editor.tokenColorCustomizations": { | |
| "textMateRules": [ | |
| { | |
| "scope": [ | |
| "comment", | |
| "comment.block", | |
| "comment.block.documentation", | |
| "comment.line", | |
| "constant", | |
| "constant.character", |
This file contains hidden or 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
| <h1>VHS Filter</h1> | |
| <div class="wrapper"> | |
| <img src="https://source.unsplash.com/200x200/?i" class="js-vhs-filter" /> | |
| <img src="https://source.unsplash.com/200x200/?got" class="js-vhs-filter" /> | |
| <img src="https://source.unsplash.com/200x200/?love" class="js-vhs-filter" /> | |
| <img src="https://source.unsplash.com/200x200/?for" class="js-vhs-filter" /> | |
| <img src="https://source.unsplash.com/420x200/?those" class="js-vhs-filter" /> | |
| <img src="https://source.unsplash.com/200x200/?who" class="js-vhs-filter" /> | |
| <img src="https://source.unsplash.com/200x200/?were" class="js-vhs-filter" /> | |
| <img src="https://source.unsplash.com/200x200/?born" class="js-vhs-filter" /> |
This file contains hidden or 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
| import { Modal } from 'react-bootstrap' | |
| import ModalDialog from 'react-bootstrap/lib/ModalDialog' | |
| class DraggableModalDialog extends React.Component { | |
| render() { | |
| return <Draggable handle=".modal-title"><ModalDialog {...this.props} /></Draggable> | |
| } | |
| } | |
| // enforceForce=false causes recursion exception otherwise.... |
- Install zsh from cygwin
- Install oh-my-zsh from https://github.com/robbyrussell/oh-my-zsh . Follow the manual instructions
- To make zsh default on ConEmu, create a task with
C:\cygwin64\bin\mintty.exe /usr/bin/zsh -. Make it the defaut shell. - To start a zsh shell on demand, add this batch script to your path or start menu or wherever.
start C:\cygwin64\bin\mintty.exe /usr/bin/zsh -
This file contains hidden or 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
| 1) Create a branch with the tag | |
| git branch {tagname}-branch {tagname} | |
| git checkout {tagname}-branch | |
| 2) Include the fix manually if it's just a change .... | |
| git add . | |
| git ci -m "Fix included" | |
| or cherry-pick the commit, whatever is easier | |
| git cherry-pick {num_commit} | |
NewerOlder