Insurgency Mod Scum: cheaters, hackers, wallhackers, aimbotters, griefers, teamkillers, micspammers, spawncampers, exitcampers, and everything else Insurgency.
Blogger.com policy on personal information: Personal and confidential information: It's not ok to publish another person's personal and confidential information. For example, don't post someone else's credit card numbers, Social Security numbers, unlisted phone numbers, and driver's license numbers. Also, please keep in mind that in most cases, information that is already available elsewhere on the Internet or in public records is not considered to be private or confidential under our policies.
All information posted on Insurgency Mod Scum is publicly available.

[PROTIP] "UnGit" Portable Git GUI for Windows

2015-07-04

Portable Git GUI clients for Windows:

GitEye (Eclipse based), piece of shit.
SourceTree, not portable.
SmartGit (Java based), OK, but command line had to be used to unfuck SmartGit a few times.
https://github.com/alberthier/git-webui Too complicated, not portable.

UnGit is a browser based (programmed in JavaScript) GUI for Git.

UnGit
https://github.com/FredrikNoren/ungit

Instructions:

Download "Windows Binary" "Node.js"
https://nodejs.org/download/

Download latest "npm"
http://nodejs.org/dist/npm/

Via command line:
npm install -g ungit
ungit

Then just open your browser to http://localhost:8448

This really is portable. Node.js leaves some shit in AppData folder, but you can probably delete it.

Source:
https://github.com/joyent/node/issues/3978

Frankly speaking, that ZIP (from the http://imsky.co/notes/nodejs-portable-windows-version-15 page you've given as an example) seems somewhat unnecessary complex for a portable version of Node.
Look, if you need just a portable Node.js engine, you could simply grab http://nodejs.org/dist/latest/node.exe and save it somewhere and run it whenever you want a JavaScript file executed: \path\to\saved\node.exe scriptname.js. It's that simple, and I cannot imagine a portable version simpler than a single executable file. (See the “Installing without building” section in the “Installation” article of the Node's wiki for more details, if you need them.)

Of course, if you are not happy until the necessary command is as simple as node scriptname.js, then you have to alter the PATH variable on your system accordingly (i.e. add Node's path to that variable); and if you also need npm, you have to download npm's latest ZIP from http://nodejs.org/dist/npm/ and unpack it to the same subdirectory where your Node is.

All of the above are relatively simple operations, they do not require any installers, everything can be easily done manually, and all the necessary files (Node's EXE file and npm's ZIP) are already provided officially.

Contrary to the popular belief, you won't need to alter your system's registry or create the NODE_PATH variable at all.

When you need to update your portable Node engine, just download the latest http://nodejs.org/dist/latest/node.exe and replace your former node.exe.

When you need to update your portable npm, use the npm update npm -g command.

1 comments:

Javed said...

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post
ld hardas

Post a Comment