One machine, several git identities: typically personal vs work, GitHub vs GitLab, or two accounts on the same provider. This setup makes every repository pick the right name, email, and keys on its own, so no work commit ever goes out under your personal address (or the reverse). In a hurry: run the Appendix B script once per identity.
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
| ## --- BIQU Microprobe Klipper configuration --- | |
| # Not much different from a standard probe config. The | |
| # main difference compared to most probes is to disable | |
| # deactivating the probe (PROBE_UP) after each sample | |
| # | |
| # You can either copy pasta this directly or import | |
| # into your config.yml using [include microprobe.cfg] | |
| # | |
| # Note: if you are changing from a bltouch or one of its | |
| # clones, remove/comment out the [bltouch] config! |
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
| _APP_ENV=production | |
| _APP_LOCALE=en | |
| _APP_OPTIONS_ABUSE=enabled | |
| _APP_OPTIONS_FORCE_HTTPS=disabled | |
| _APP_OPENSSL_KEY_V1=your-secret-key | |
| _APP_DOMAIN=localhost | |
| _APP_DOMAIN_TARGET=localhost | |
| _APP_CONSOLE_WHITELIST_ROOT=enabled | |
| _APP_CONSOLE_WHITELIST_EMAILS= | |
| _APP_CONSOLE_WHITELIST_IPS= |
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
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management |
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
| #! /bin/bash | |
| # | |
| # backup_redmine.sh | |
| # modified by ronan@lespolypodes.com | |
| # Inspiration: https://gist.github.com/gabrielkfr/6432185 | |
| # | |
| # Distributed under terms of the MIT license. | |
| # -- VARS | |
| DAY=`date +"%Y%m%d"` |
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
| /* | |
| In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
| server, but for some reason omit a client connecting to it. I added an | |
| example at the bottom. | |
| Save the following server in example.js: | |
| */ | |
| var net = require('net'); |
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
| <!-- | |
| Netbeans Platform Download-and-Config | |
| Copyright 2013, 2016, Andrew Bythell <abythell@ieee.org> | |
| http://angryelectron.com/ | |
| This Ant script is used to download and configure the Netbeans platform, | |
| allowing Netbeans platform applications to be built without the IDE. | |
| --> | |
| <project name="configure-platform" default="configure" basedir="."> |
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
| #!/bin/sh | |
| # Script to create a CATALINA_BASE directory for your own tomcat | |
| PROG=`basename $0` | |
| TARGET="" | |
| HPORT=8080 | |
| CPORT=8005 | |
| CWORD="SHUTDOWN" | |
| warned=0 | |
| warnlowport=0 |
NewerOlder