Private Git Repository on Any Computer
alexkras.com
alexkras.com
Modern computing is just like the chemicals industry now. You can clean your whole house with just a few simple ingredients (only one is a product -- water, citrus, baking soda, vinegar, mud, and bleach), but how many of us actually know that? Instead we go to the store and pick up Windex, Drain-o, and everything else, because we paid more attention to advertisements and marketing droids than the world around us.
The damage that modern technology has done to human resourcefulness makes me weep
Baking soda: against: bacteria. Mouthwash (halitosis), dishwasher (rank smells), shoes (quarter teaspoon, against smelly feet), ... basically everything.
Bleach: poisonous so be careful (no toothbrushes :)). Mortal killing death to everything. Essentially, if something is so far gone you recoil, bleach will overcome. Great if you're Dexter.
Lemon: fish and other foody oils. Bad smell in your skin / hair. CSI episode had a girl showering with lemon juice because she smelled like corpse. I believe them.
These are the rules of thumb of house cleaning.
Nonsensical aside: Acid + baking soda = fizzy, I don't know if they cancel each other out :p
After that, cut the lemon up and put the lemon down the disposal. Run it for a few seconds. Bam, no more bad smells from the disposal. Two for one!
Just don't overuse it.
* not machine dishwasher detergent, hand wash detergent
An exception is getting rid of limescale, where you need an acid. Citric acid works fine and does not smell.
If you have a wooden floor, a specially made detergent with a wax component is probably also a good idea.
I also have a machine with a private git repo that I keep some shit in - mostly half made things like an dead ant stack simulator, a non-working robot simulator controlled by a un-evolved neural network, a few heuristic Sudoku solvers, a really advanced configuration-management tool that might have worked at one point, and 20 years of random junk like that.
It actually also contains a GPU based Smith-Waterman algorithm using Aparapi that I think actually works and could possibly be moved to github without too much embarrassment. Maybe I should do that...
While in that life you have to be in charge, you also get to be in charge.
The point is not to throw all of technology out the window, but to recognize that some technologies have made certain areas of our lives so easy, that we maybe overindulge in them, and stopped learning how to be self-reliant any more. I like to call it "over-civilization".
It's been an issue since someone first stuck a stick in a hole to get out a grub, but just because it's old, it doesn't mean it's not valid anymore.
- the nice web UI for browsing code
- the social features (issues, pull requests, reviews)
That's why, after years of Gitolite (i.e. nearly as bare Git hosting as the submission discusses), I've switched to Gogs last year.
I would guess given that, gitea would be the better road at the moment.
It was discussed in January, on HN, here: https://news.ycombinator.com/item?id=13296717
https://npmjs.com/package/gitup-cli
Some commands include:
- `gitup login <username>` : authenticates/registers user
- `gitup new <repo-name>` : creates a new repo at gitup.io/username/repo-name
- `gitup add-user <repo-name> <username>` : share a repo with another gitup user
Repos are private by default. Right now this is a very basic free service but hope to expand the offering quickly including self hosting the repo storage, the key store, web interface, etc.
Would love to know if you check it out and come across a bug or have any feedback for me! Thank you.
Roger on the module, plans there as well - hope you'll check it out again soon.
Thanks again for your advice, much appreciated.
This is a P/T side-gig currently but hoping to find more time to put into it. Once the initial git-ssh implementation was in place, it was stable enough for me to start using for its original purpose and go back to working on other things. Too much to do!
Thanks for your note.
How?
Add in a post-commit hook on a server-side repo and you have a decent code deployment system.
EDIT: Or better, having your buddy drive you in your car everywhere without realizing you could drive yourself.
[0] No disrespect to those who only have a fry pan to cook with.
Oh God yes.
> How?
The same reason nobody seems to bother to read the RFC describing the standard they end up implementing badly, I presume.
An interesting thing about git, if there's an executable somewhere in your $PATH and it starts with git-, then it becomes a "git command". So in my case, I named it git-make-remote.sh, and I can execute it via "git make-remote myreponame" and it will SSH to my private git server and create the associated remote repo.
For PRs there's https://github.com/google/git-appraise/blob/master/README.md