diff --git a/mywiki/tiddlers/Bash insensitive case completion.tid b/mywiki/tiddlers/Bash insensitive case completion.tid new file mode 100644 index 0000000..767aa5e --- /dev/null +++ b/mywiki/tiddlers/Bash insensitive case completion.tid @@ -0,0 +1,52 @@ +created: 20160218090232299 +creator: user +modified: 20160218091006268 +modifier: user +tags: +title: Bash insensitive case completion +type: text/vnd.tiddlywiki + +http://superuser.com/questions/90196/case-insensitive-tab-completion-in-bash + +Note: Command-line editing in Bash is provided by the Readline library; customizing it is non-trivial, but well worth learning; its features include the ability to define custom keyboard shortcuts for inserting predefined snippets of text - see Command Line Editing in the Bash Reference Manual (http://www.gnu.org/software/bash/manual/html_node/Command-Line-Editing.html#Command-Line-Editing) + +To persistently make tab-completion case-insensitive in Bash: + +--- + +Option A: If you either already have: + +* an `/etc/inputrc` file (applies system-wide, modification requires `sudo`) +* and/or a `~/.inputrc` file (user-specific) + +and/or + +you're planning to customize the readline library extensively and/or want to make customizations effective for scripts too when they call `read -e`: + +Add line + +``` +set completion-ignore-case on +``` + +to either file, depending on whether you want the setting to be effective for all users or the current user (create the file, if necessary). + +A related command that makes completion of file and directory names easier is: + +``` +set show-all-if-ambiguous on +``` + +This makes it unnecessary to press Tab twice when there is more than one match. + +--- + +Option B: Alternatively, you may add Readline commands to your user-specific `~/.bash_profile` file on OS X (or `~/.bashrc` on Linux), by passing them as a single argument to the bind builtin: + +``` +bind "set completion-ignore-case on" +bind "set show-all-if-ambiguous on" +``` +Note that bind commands in `~/.bash_profile` / `~/.bashrc` take precedence over equivalent commands in either `/etc/inputrc` or `~/.inputrc`. + +As implied above, Readline configuration defined this way will not take effect in scripts that call `read -e` to activate Readline support for reading user input. diff --git a/mywiki/tiddlers/Mail.tid b/mywiki/tiddlers/Mail.tid new file mode 100644 index 0000000..a26bc9a --- /dev/null +++ b/mywiki/tiddlers/Mail.tid @@ -0,0 +1,9 @@ +created: 20160225204139217 +creator: user +modified: 20160225204153508 +modifier: user +tags: +title: Mail +type: text/vnd.tiddlywiki + +http://blog.mobile-harddisk.nl/tutorials/synology-mailserver-instellen-met-fallback-server/ \ No newline at end of file diff --git a/mywiki/tiddlers/Sails JS.tid b/mywiki/tiddlers/Sails JS.tid index abee8b8..46d669f 100644 --- a/mywiki/tiddlers/Sails JS.tid +++ b/mywiki/tiddlers/Sails JS.tid @@ -1,6 +1,6 @@ created: 20150409093920606 creator: user -modified: 20150409094036949 +modified: 20160220152418845 modifier: user tags: title: Sails JS @@ -9,3 +9,6 @@ type: text/vnd.tiddlywiki * https://github.com/balderdashy/activity-overlord-2-preview * http://irlnathan.github.io/sailscasts/ * http://stackoverflow.com/questions/17365444/sails-js-passport-js-authentication-through-websockets + + +* http://stackoverflow.com/questions/23625935/how-to-get-current-domain-address-in-sails-js \ No newline at end of file