Skip to content

Instantly share code, notes, and snippets.

View y2bd's full-sized avatar
💭
Fine, thanks

Jason Lo y2bd

💭
Fine, thanks
View GitHub Profile
@MinhHieu-Nguyen-dn
MinhHieu-Nguyen-dn / work-with-multiple-github-accounts.md
Last active July 13, 2025 16:06 — forked from rahularity/work-with-multiple-github-accounts.md
[Windows Git] How To Work With Multiple Github Accounts on your Windows PC

(Windows version) How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/nmhieu-office and https://github.com/nmhieu-personal. Now i want to setup my Windows laptop to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :) This can be used with either PowerShell or Command Prompt (cmd).

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
@RaVbaker
RaVbaker / readme.md
Last active November 29, 2023 06:08
Reverse engineering Things SQLite tasks database

To open SQLite Things.app database run this command in Terminal.app:

$ sqlite3 ~/Library/Containers/com.culturedcode.things/Data/Library/Application\ Support/Cultured\ Code/Things/ThingsLibrary.db

In SQLite command-line type this query to get your tasks stats:

sqlite> .mode column
sqlite> .header on
sqlite> select zscheduler, zstatus, ztrashed, count(*) from ZTHING where z_ent = 13 group by  zstatus,ztrashed order by Z_pk desc;

ZSCHEDULER ZSTATUS ZTRASHED count(*)

@mrchief
mrchief / LICENSE.md
Last active May 20, 2025 13:10
Add "Open with Sublime Text 2" to Windows Explorer Context Menu (including folders)

MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: