Dienstag, August 22, 2017

Javascript Swap without aux

https://ponyfoo.com/articles/es6

You can swap without an “aux” variable, [a, b] = [b, a]

Freitag, August 11, 2017

Javascript

http://2ality.com/
https://ponyfoo.com/
http://mherman.org/
https://www.kirupa.com/
http://thejameskyle.com/react-loadable-4.html
http://thejameskyle.com/adopting-flow-and-typescript.html https://flow.org/en/docs/install/

http://blog.revathskumar.com/2016/02/browserify-separate-app-and-vendor-bundles.html

W10 Creators Update Programs and Features

Search for “programs” doesn’t yield this anymore, just “Apps and Features” which has a link then.

Direct Access: Windows Key+R –> appwiz.cpl

(Or add a shortcut to this appwiz.cpl in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools)

(Tweak for larger taskbar icons like in W7: 7+ Taskbar Tweaker, advanced options w10_large_icons 1)

Mittwoch, August 09, 2017

Simulate Restrictive Firewall

Super simplistic and well working with http://www.vakuumverpackt.de/tcptunnel/

Idea: Forward the “opened” TCP port(s) from localhost to the remote host.
Then work against localhost.

Example:

tcptunnel --stay-alive --local-port 556 --remote-port 556 --remote-host 192.168.2.67 --fork

Then connect to 127.0.0.1:556.

Important:

  • --stay-alive for not closing after 1st connection.
  • --fork to support parallel TCP connections.