I am not actively updating this gist and it is already out of date. Please see http://altheamesh.com/documents/universal-payment-channels.pdf
Jehan Tremback
Zackary Hess
| var gulp = require('gulp'); | |
| var browserSync = require('browser-sync'); | |
| // Static server. | |
| gulp.task('browser-sync', function() { | |
| browserSync({ | |
| server: { | |
| baseDir: './' | |
| } | |
| }); |
I am not actively updating this gist and it is already out of date. Please see http://altheamesh.com/documents/universal-payment-channels.pdf
Jehan Tremback
Zackary Hess
| <% @ Page Language="C#" %> | |
| <% | |
| Response.Write(System.Environment.GetEnvironmentVariable("MYSQLCONNSTR_localdb")); | |
| %> |
| Published on Nov 6, 2015 https://www.youtube.com/watch?v=r5GnFru0zas | |
| Guide to downgrade Windows 10 Enterprise to Professional: | |
| 1. Open regedit.exe and navigate to HKLM\Software\Microsoft\Windows NT\CurrentVersion | |
| 2. Change ProductName to Windows 10 Professional | |
| 3. Change EditionID to Professional | |
| 4. Navigate now to HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion | |
| 5. Change ProductName to Windows 10 Professional | |
| 6. Change EditionID to Professional |
| namespace Analogy | |
| { | |
| /// <summary> | |
| /// This example shows that a library that needs access to target .NET Standard 1.3 | |
| /// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET | |
| /// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library. | |
| /// </summary>INetCoreApp10 | |
| class Example1 | |
| { | |
| public void Net45Application(INetFramework45 platform) |
| import Foundation | |
| /** | |
| *Defines a task which executed asynchronously in background thread. | |
| *Every AsyncTask instance has 3 life cycle events: | |
| * 1. beforeTask execution (Optional) - executed on UI Main thread | |
| * 2. bagkroundTask execution - executed in background thread | |
| * 3. afterTask execution (Optional) - executed on UI Main thread | |
| * | |
| *When caller instantiates AsyncTask he\she can decide what data type to pass in and out, using | |
| * predefined generic types <BGParam,BGResult> where |
| sudo chown $(whoami):admin /usr/local | |
| #avoid the -R option unless you're sure - some apps break. man for example is manpages shit |
| ==> Caveats | |
| A CA file has been bootstrapped using certificates from the system | |
| keychain. To add additional certificates, place .pem files in | |
| /usr/local/etc/openssl/certs | |
| and run | |
| /usr/local/opt/openssl/bin/c_rehash | |
| This formula is keg-only, which means it was not symlinked into /usr/local. |
| export function isEmpty(obj: any): boolean { | |
| if (obj === null | |
| || obj === undefined | |
| || (obj.length !== undefined && obj.length === 0) | |
| || Object.keys(obj).length === 0) { | |
| return true; | |
| } | |
| return false; | |
| } |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |