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
devices: ({ | |
name: "Wireless Mouse MX Master 3"; | |
dpi: 1200; | |
hiresscroll: { | |
hires: true; | |
invert: false; | |
target: false; | |
}; | |
smartshift: { | |
on: true; |
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
mongoexport --db <DB> --collection <COLLECTION> --fields <FIELDS> --type=csv --out <OUT> --host <HOST:PORT> --authenticationDatabase admin --ssl --username <USERNAME> --password <PASSWORD> |
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
window.location.origin.replace(/^(https?:\/\/)?(.+\.)?([^\.]+\.[^\/]+)\/?.*$/i, '$1new-subdomain.$3'); |
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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+numpad_divide", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+7", | |
"command": "-editor.action.commentLine", |
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
{ | |
"editor.acceptSuggestionOnCommitCharacter": false, | |
"editor.suggestOnTriggerCharacters": false, | |
"editor.minimap.renderCharacters": false, | |
"editor.acceptSuggestionOnEnter": "off", | |
"editor.wordBasedSuggestions": false, | |
"editor.fontFamily": "'Ubuntu Mono'", | |
"editor.renderIndentGuides": true, | |
"editor.lineHeight": 25.88854382, | |
"editor.minimap.maxColumn": 120, |
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
var mixinsDef = /\.([\w-]+)\(([\w-;\$\s]*)\)\s+?{/i; // Replace with: @mixin $1($2) { | |
var mixinsCall = /\.([\w-]+)\(([\w-;\$\s]*)\);/i; // Replace with: @include $1($2); |
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
/** | |
* Scores a password's strength. | |
* | |
* It scores a password according to several factors like character variation, | |
* repetition and length. The passwords are scored in a numeric point scale that | |
* varies from less than 0 to 100 and more. A safe password score should be | |
* considered as 49 points or more. | |
* | |
* @param {String} pwd The password string to score. | |
* |
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
[Unit] | |
Description=High-performance, schema-free document-oriented database | |
After=network.target | |
Documentation=https://docs.mongodb.org/manual | |
[Service] | |
User=mongodb | |
Group=mongodb | |
ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf |
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
avconv -i $INPUT_FILE -strict experimental -map 0:v -map 0:a -c:a aac -b:a 768k -c:v copy $OUTPUT_FILE |
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
/^([a-z\u00C0-\u02AB'´`]{1,}\.?\s?)([a-z\u00C0-\u02AB'´`]?\.?\s?)+$/i |
NewerOlder