- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
)
# Reset Jetbrains 2020 Products | |
import glob | |
import os | |
import winreg | |
from os import path | |
from os.path import expanduser | |
home = expanduser("~") | |
newJetbrainsHome = path.join(home, "AppData\Roaming\JetBrains") |
connect to meteor instance:
meteor mongo <name>.meteor.com
remove login tokens:
db.users.update({}, {$set: {"services.resume.loginTokens": []}}, {multi: true})
logout:
exit
more info: https://www.meteor.com/blog/2014/04/09/heartbleed
Task Scheduler | |
Name: Kill SteamApp on Shutdown or Restart | |
Trigger: | |
When: On an Event | |
Log: System | |
Source: USER32 | |
EventID: 1074 | |
Start a program: | |
Program/Script: taskkill | |
Arguments: /f /t /im Steam.exe |
C:\Users\<user>\AppData\Local\Xamarin\iOS\Provisioning\Certificates |
Download: https://github.com/acaudwell/Gource
set G=C:\Users\BernhardMillauer\OWN\Tools\Gource\gource.exe
set D=C:\dev\Everything
%G% --output-custom-log - --path %D%
--> remove |D| lines # | grep -v '|D|'
%G% --path .\gource-out.txt --log-format custom --max-files 0 --file-idle-time 0 --time-scale 2 --seconds-per-day 1 --max-file-lag 1 --auto-skip-seconds 1 --bloom-intensity 1 --bloom-multiplier 1 --hide date,filenames,usernames --elasticity 0.4 --stop-at-end --disable-auto-rotate -1920x1080 -o .\everythinggit.ppm
nodejs is called differently on ubunto (for whatever reason) - https://github.com/FredrikNoren/ungit/issues/401 | |
sudo ln -s /usr/bin/nodejs /usr/bin/node | |
sudo -H npm install -g ungit |
Every reason to get more HackerPoints™ is a good one, so today we're going to
write a neat command line app in .NET Core! The Common library has a really cool
package Microsoft.Extensions.CommandlineUtils
to help us parse command line
arguments and structure our app, but sadly it's undocumented.
No more! In this guide, we'll explore the package and write a really neat console app. We'll get good practices, a help system and argument parsing for free. Oh, it also involves ninjas. Insta-win.
Table of Contents generated with DocToc