See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
@echo off | |
SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
rem add it for all file types | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
rem add it for folders | |
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f |
<?php | |
// php cli.php /update | |
require __DIR__ . '/vendor/autoload.php'; | |
if (PHP_SAPI == 'cli') { | |
$argv = $GLOBALS['argv']; | |
array_shift($argv); |
Hi Banglers,
We hope you've been having fun experimenting with your Bangle.js and wanted to let you know about some important updates to the software for it.
The version of software on your Bangle.js is a very early release and has been improved hugely since November. Some of you may have encountered bugs with the middle button or find that some of the newer Apps on banglejs.com/apps don't work as they should.
Updating the software will solve these issues and get you access to new apps such as early Gadgetbridge integration for Android phone notifications.
(function($){ | |
$.load = function(options){ | |
// check for something to load | |
if(options.src === undefined) return; | |
// load dependencies | |
if(options.deps !== undefined){ | |
$.each(options.deps, function(key, value){ | |
var type = value.split(".")[value.split(".").length - 1]; | |
if(type === "js"){ | |
$.getScript(value); |
#!/bin/sh | |
convert_path="C:/Program Files/ImageMagick/convert.exe" | |
target_path="." | |
target_ext="png" | |
echo "Warning, this will overwrite the current images." | |
read -r -p "Do you want to continue? [y/N] " response | |
response=${response,,} # tolower |