$mod refers to the modifier key (alt by default)
startx i3start i3 from command line$mod+<Enter>open a terminal$mod+dopen dmenu (text based program launcher)$mod+rresize mode ( or to leave resize mode)$mod+shift+eexit i3
| #!/bin/sh | |
| SENTRY_KEY= | |
| SENTRY_SECRET= | |
| SENTRY_PROJECTID=1 | |
| SENTRY_HOST=sentry.example.com | |
| SCRIPT_ARGUMENTS=$@ | |
| capture_error() | |
| { |
| apt-get clean autoclean | |
| apt-get autoremove --yes | |
| rm -rf /var/lib/{apt,dpkg,cache,log}/ |
| <?php | |
| /* | |
| MIT License | |
| Copyright (c) 2021 Jesse Schalken | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights |
| # at least in deb/untu | |
| sudo apt-get install libpam-google-authenticator | |
| # for each user | |
| google-authenticator |
This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.
A file below this one contains the steps for doing this with Travis CI. However, these days I recommend GitHub Actions, for the following reasons:
| ### Add trailing slash if needed | |
| STR="/i/am/a/path" | |
| length=${#STR} | |
| last_char=${STR:length-1:1} | |
| [[ $last_char != "/" ]] && STR="$STR/"; : | |
| echo "$STR" # => /i/am/a/path/ |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>PayloadContent</key> | |
| <array> | |
| <dict> | |
| <key>CalDAVAccountDescription</key> | |
| <string>Mail-in-a-box Calendar</string> | |
| <key>CalDAVHostName</key> |
| # /dir/ means exclude the root folder /dir | |
| # /dir/* means get the root folder /dir but not the contents | |
| # dir/ means exclude any folder anywhere where the name contains dir/ | |
| # Examples excluded: /dir/, /usr/share/mydir/, /var/spool/dir/ | |
| # /dir means exclude any folder anywhere where the name contains /dir | |
| # Examples excluded: /dir/, /usr/share/directory/, /var/spool/dir/ | |
| # /var/spool/lpd//cf means skip files that start with cf within any folder within /var/spool/lpd | |
| # | |
| # include, + | |
| # exclude, - |
| "use strict"; | |
| var crypto = require("crypto"); | |
| var EncryptionHelper = (function () { | |
| function getKeyAndIV(key, callback) { | |
| crypto.pseudoRandomBytes(16, function (err, ivBuffer) { | |
| var keyBuffer = (key instanceof Buffer) ? key : new Buffer(key) ; |