We stared with the file bithday-ugly.py
and the refactored version is in bithday-refactored.py
with the two extra modules we created after it.
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Python Debugger: Current File with Arguments", | |
"type": "debugpy", | |
"request": "launch", |
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
#!/usr/bin/env bash | |
# A log of how I configured FreeBSD spring 2018 on my Intel NUC Dawson Canyon NUC7i3DNH2E (NUC7i3DNH). | |
# Modeline { | |
# vi: foldmarker={,} foldmethod=marker foldlevel=0 tabstop=4 | |
# } | |
# Links { | |
# FreeBSD vs Linux: | |
# http://www.over-yonder.net/~fullermd/rants/bsd4linux/01 |
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
# Maintainer: Erik Westrup | |
# Reference on git checkout: https://man.archlinux.org/man/PKGBUILD.5#USING_VCS_SOURCES | |
pkgname=zscreen | |
pkgver=20160510 | |
pkgrel=1 | |
pkgdesc="Scrot and imgur/s3 upload zenity gui" | |
arch=('any') | |
url="https://github.com/ChrisZeta/Scrot-and-imgur-zenity-GUI" | |
_git_commit='e9d15e606a0d358f002d0ec45324069c5cff3c68' |
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
#~/.config/ncmpcpp/bindings | |
# How to configure NCMPCPP to get Vim-like keybindings | |
def_key "j" | |
scroll_down | |
def_key "k" | |
scroll_up | |
def_key "h" | |
previous_column |
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
# To be compatiable with both GNU sed and the old BSD sed that macOS uses, need to set and inplace backup extension and then remove the file. | |
# $(sed -i -e '...' file) works with GNU sed and modern BSD. However on macOS a backup file "file-e" will be created | |
# Reference: https://unix.stackexchange.com/a/131940/19909 | |
sed -i.bak -e 'expr...' file && rm file.bak |
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
. |
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
" Extend vim-unimpaired with ]d and [d to delete above and below the current line. | |
" See https://github.com/tpope/vim-unimpaired/issues/157 | |
" | |
" Installation: put this file in | |
" - vim: $HOME/.vim/plugin/ | |
" - neovim: $XDG_CONFIG_HOME/nvim/plugin/ | |
function! s:DeleteUp(count) abort | |
normal! m` | |
normal ix |
Wrap the image with a link to anchor
- 
+ [](#)
NewerOlder