(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.
| <div id="maindiv"> | |
| <!-- Need to have two divs with same content. | |
| One div will translate completely out of parent and other div will fill the void till the transition for first div starts again. --> | |
| <div id="div1"> | |
| Test-1 Test-2 Test-3 Test-4 Test-5 Test-6 Test-7 Test-8 Test-9 Test-10 Test-11 | |
| </div> | |
| <div id="div2"> | |
| Test-1 Test-2 Test-3 Test-4 Test-5 Test-6 Test-7 Test-8 Test-9 Test-10 Test-11 | |
| </div> | |
| </div> |
| @echo off | |
| REM Extracts all .dll files from nugets in this folder or its subfolders and copies them to a subfolders | |
| REM . | |
| REM Note: Uses .NET 4.5 to unzip the nugets. If this fails, use 7zip or something similar. | |
| REM See http://stackoverflow.com/questions/17546016/how-can-you-zip-or-unzip-from-the-command-prompt-using-only-windows-built-in-ca/26843122#26843122 | |
| echo Extracting all dlls from nugets to folder \extracted-dlls | |
| REM %mypath% is where the batch file is located |
| 23.21.150.121:3478 | |
| iphone-stun.strato-iphone.de:3478 | |
| numb.viagenie.ca:3478 | |
| s1.taraba.net:3478 | |
| s2.taraba.net:3478 | |
| stun.12connect.com:3478 | |
| stun.12voip.com:3478 | |
| stun.1und1.de:3478 | |
| stun.2talk.co.nz:3478 | |
| stun.2talk.com:3478 |
| var webpack = require('webpack'); | |
| var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| var path = require('path'); | |
| var folders = { | |
| APP: path.resolve(__dirname, '../app'), | |
| BUILD: path.resolve(__dirname, '../build'), | |
| BOWER: path.resolve(__dirname, '../bower_components'), | |
| NPM: path.resolve(__dirname, '../node_modules') | |
| }; |
| /* | |
| # Usage in html template: | |
| "xxx | nl2br" | |
| <div ng-bind-html=" YourString | nl2br "></div> | |
| or: |
| http { | |
| log_format bodylog '$remote_addr - $remote_user [$time_local] ' | |
| '"$request" $status $body_bytes_sent ' | |
| '"$http_referer" "$http_user_agent" $request_time ' | |
| '<"$request_body" >"$resp_body"'; | |
| lua_need_request_body on; | |
| set $resp_body ""; | |
| body_filter_by_lua ' |
| #target photoshop | |
| /* Open the given file, and compress with TinyPNG. */ | |
| function compressFile(file) { | |
| var document = open(file); | |
| if (document.mode == DocumentMode.INDEXEDCOLOR) { | |
| document.changeMode(ChangeMode.RGB); | |
| } |
(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.
| package main | |
| // based on gist | |
| // https://gist.github.com/ir4y/11146415 | |
| // http://stackoverflow.com/questions/21417223/simple-ssh-port-forward-in-golang | |
| // obro conexio ssh amb el server remot. | |
| // tot el que envio al port local ho copio al port remote | |
| // a traves de la conexio remota. Per tant he d'obrir un | |
| // port a la maquina remota? |