(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.
| /** | |
| * A linear interpolator for hexadecimal colors | |
| * @param {String} a | |
| * @param {String} b | |
| * @param {Number} amount | |
| * @example | |
| * // returns #7F7F7F | |
| * lerpColor('#000000', '#ffffff', 0.5) | |
| * @returns {String} | |
| */ |
| #!/bin/sh | |
| # Sublime Text 3 Install (last update: Monday 13 March 2017) | |
| # | |
| # No need to download this script, just run it on your terminal: | |
| # | |
| # curl -L git.io/sublimetext | sh | |
| # Detect the architecture |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
(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.
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
| #include <iostream> | |
| #include <string> | |
| using namespace std; | |
| void function(string var, int flag); | |
| int main(){ | |
| function(R"!( | |
| #include <iostream> |
| using UnityEngine; | |
| namespace Assets.Phunk.Core | |
| { | |
| public static class Log | |
| { | |
| #region Error | |
| public static void ErrorFormat(UnityEngine.Object context, string template, params object[] args) | |
| { | |
| var message = string.Format(template, args); |
| sudo apt-get install python-glade2 python-appindicator | |
| git clone https://github.com/Kilian/f.lux-indicator-applet.git | |
| cd f.lux-indicator-applet | |
| chmod +x setup.py | |
| sudo ./setup.py install | |
| fluxgui |
For starters, just go the /test directory.
By default you'll see your JSHint validations in the test suite.
Any file that ends with -test.js will get executed.
Generators also create some tests on your behalf.
So, we actually want to build up and tear down the entire application between tests.
| {"lastUpload":"2020-04-12T07:20:28.343Z","extensionVersion":"v3.4.3"} |