(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 | |
:: see https://www.makeuseof.com/tag/3-quickest-ways-turn-computer-screen-windows/ | |
:: see https://gist.github.com/EugeneLoy/150044d04b08e35d09e164c864e78da7 | |
powershell (Add-Type '[DllImport(\"user32.dll\")]^public static extern int PostMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::PostMessage(-1,0x0112,0xF170,2) | |
:: see https://www.pcreview.co.uk/threads/create-a-batch-file-to-lock-computer.3747748/post-12994020 | |
Rundll32.exe User32.dll,LockWorkStation |
#1) Create a new repo named "my-npm" and let github initialize it with a README (screenshot below) | |
#2) Clone it to your computer | |
git clone [email protected]:SmallRoomLabs/my-npm.git | |
#3) Go to the clone and create a new empty branch for the first package | |
cd my-npm | |
git checkout --orphan logger | |
#4) Delete all files in the folder |
(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.
Any GitHub wiki can be cloned by appending wiki.git
to the repo url, so the clone url for
the repo https://myorg/myrepo/
is: [email protected]/myorg/myrepo.wiki.git
(for ssh) or https://github.com/my/myrepo.wiki.git
(for https).
You make edits, and commit and push your changes, like any normal repo.
You need to clone the wiki repo and edit it on your system.
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
/* Results | |
Dictionary. Time elapsed: 00:00:40.8066077, single iteration: 0,000408066077 ms. | |
CharDictionary. Time elapsed: 00:00:12.6748487, single iteration: 0,000126748487 ms | |
CompactCharDictionary. Time elapsed: 00:00:12.6878289, single iteration: 0,000126878289 ms |