Skip to content
Leonid Fedorenchik's Website
  • Books

A good programmer is someone

who always looks both ways before crossing a one-way street.

To The Fun

The trouble with programmers is

that you can never tell what a programmer is doing until it’s too late.

To The Fun

Walking on water and

developing software from a specification are easy if both are frozen.

To The Fun

If you put a million monkeys at a million keyboards,

one of them will eventually write a Java program. The rest of them will write Perl programs.

To The Fun

...the Linux philosophy is

"laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it.

To The Fun
Leonid Fedorenchik's Website

git: permanently store https credentials

Posted 05/06/201705/06/2017 Leonid V. FedorenchikLeave a commentPosted in Tooltips

$ git config –global credential.helper store

git: list branches from a particular remote

Posted 02/10/201526/03/2017 Leonid V. FedorenchikLeave a commentPosted in Uncategorized

Show some information about remote: $ git remote show <remote-name> $ git remote show remote1 List SHA-1 hash and branches: […]

git remote: change URL

Posted 30/09/201526/03/2017 Leonid V. FedorenchikLeave a commentPosted in Tooltips

$ git remote set-url <remote-name> <new-url> $ git remote set-url origin https://github.com/user/repo.git

git push renamed branch

Posted 28/09/201526/03/2017 Leonid V. FedorenchikLeave a commentPosted in Tooltips

Push local branch to remote with different name: $ git push <remote> <local_branch_name>:<remote_branch_name> $ git push remote1 branch1:dev/test1

git show diff of stash

Posted 26/09/201526/03/2017 Leonid V. FedorenchikLeave a commentPosted in Tooltips

$ git stash list -p

Install Linux kernel to another machine: deb package method

Posted 24/09/201526/03/2017 Leonid V. FedorenchikLeave a commentPosted in Linux Kernel Development

1. Build deb packages: $ make -j16 deb-pkg This will create (up to) 5 deb packages in parent directory. 2. […]

git undo last commit

Posted 22/09/201526/03/2017 Leonid V. FedorenchikLeave a commentPosted in Tooltips

Undo last local (not pushed) commit: $ git reset –soft HEAD~1

Process of the Linux kernel building

Posted 10/09/201526/03/2017 Leonid V. FedorenchikLeave a commentPosted in Links

https://github.com/0xAX/linux-insides/blob/master/Misc/how_kernel_compiled.md

Disable automounting in GNOME

Posted 03/09/201526/03/2017 Leonid V. FedorenchikLeave a commentPosted in Tooltips

$ gsettings set org.gnome.desktop.media-handling automount-open false $ gsettings set org.gnome.desktop.media-handling automount false

Install Linux kernel to another machine: tar package method

Posted 26/06/201526/03/2017 Leonid V. FedorenchikLeave a commentPosted in Linux Kernel Development

1. Build tar package: $ make O=/build/dir -j8 tar-pkg 2. Copy tar package to another machine 3. Untar the package […]

Posts navigation

1 2 … 7 Next
Copyright 2015 © Leonid V. Fedorenchik