constraints: BoxConstraints.expand() so the child a column can have expanded
TextField(
controller: _usernameController,
decoration: InputDecoration(
[keys.normal] | |
C-g = [":new", ":insert-output lazygit", ":buffer-close!", ":redraw"] |
// 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; // Β―\\_(γ)_/Β― |
# Apache Conf | |
# Mod cgi required for cgi script | |
<VirtualHost *:80> | |
ServerName locahost | |
# ServerAdmin webmaster@localhost | |
DocumentRoot "/usr/share/cgit" | |
<Directory "/usr/lib/cgit/"> |
"editor.tokenColorCustomizations": { | |
"textMateRules": [ | |
{ | |
"scope": [ | |
"comment", | |
"comment.block", | |
"comment.block.documentation", | |
"comment.line", | |
"constant", | |
"constant.character", |
<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" /> |
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.... |
C:\cygwin64\bin\mintty.exe /usr/bin/zsh -
. Make it the defaut shell.start C:\cygwin64\bin\mintty.exe /usr/bin/zsh -
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} | |
var touchstartX = 0; | |
var touchstartY = 0; | |
var touchendX = 0; | |
var touchendY = 0; | |
var gesuredZone = document.getElementById('gesuredZone'); | |
gesuredZone.addEventListener('touchstart', function(event) { | |
touchstartX = event.screenX; | |
touchstartY = event.screenY; |