Skip to content

Instantly share code, notes, and snippets.

@vijay-prema
vijay-prema / vircadia-server-ubuntu2004.md
Last active February 18, 2022 06:20
Host Vircadia Server on Ubuntu 20.04

Install Server

You need to install the libdouble-conversion1 package before installing Vircadia server (which normally only supports Ubuntu 18.04)

sudo apt update
wget http://ftp.br.debian.org/debian/pool/main/d/double-conversion/libdouble-conversion1_3.1.0-3_amd64.deb
sudo apt install ./libdouble-conversion1_3.1.0-3_amd64.deb
wget https://cdn.vircadia.com/dist/domain-server/ubuntu/vircadia-server_2022.1.0-selene-20211126-aabcdea-0ubuntu1-1_amd64.deb
sudo apt-get install ./vircadia-server_2022.1.0-selene-20211126-aabcdea-0ubuntu1-1_amd64.deb
@vijay-prema
vijay-prema / lean-parenting.md
Last active January 15, 2022 00:02
Lean Parenting Starter Kit

Lean Parenting Starter Kit

Consider these in your Approach:

  • Dont focus on parenting.
  • Dont focus on building a nest of physical things - just the most very basic necessities.
  • Dont follow others blindly, no matter how successful they appear.
  • Do Focus on yourself and your own neurosies.
  • Do Focus on healthy relationships, starting with the relationship with yourself, and then your parents and partner.
    • Love for self -> Love for Family -> Love for other people -> Love for world.
  • Everything else will fall into place.
@vijay-prema
vijay-prema / Lightroom-toDarktable.md
Last active May 21, 2022 01:27
Moving from Adobe Lightroom 4 to Darktable 3.6

One key philosophical difference compared to Lightroom is that there are many different tools which do similar things in different ways in Darktable. This makes Darktable both powerful and flexible but also hard (and frustrating) to learn. It makes it very easy to mess up the image if you dont know exactly what the tools are doing. Lightroom on the otherhand does a restricts its options and sliders to prevent edits that damage the image.

However if you get up the learning curve with darktable you will have a much better understanding of the algorithms and optics that go behind RAW image processing and be able to create more specific effects in th end. Solid understanding is a requirement for using darktable in an effective way, while Lightroom does not require much understanding as anyone can shift some sliders around without breaking the image.

Rather than a direct replacement of Lightroom, it becomes apparent that darktable sits somewhere between Lightroom and Photoshop. If you are used to editing photo

@vijay-prema
vijay-prema / github-rebase-howto.md
Last active November 14, 2021 21:54
Rebase method of merging code on Github

Rebase method of merging code on Github

Your manager wants to use Rebase method to merge code on Github, so we can have a nice tidy single path history of commits on main, rather than branches coming out and merging back in (the Merge method).

If the team all agree to this, they should do it consistently. Here are some instructions which I hope are clear and simple. Feel free to reach out if anything is unclear or could be improved.

Rebase Strategy

With Rebase the workflow is somewhat simplified so that it results in a single centralized line of commits in history of main branch, though you may loose some of the advanced functionality that git offers. In order for it to work, you should be mindful of:

  • Only work on your own branch, dont share branches or allow others to branch your branch. One way to avoid is not to make your branch public till done, though that is not essential if others in the team know to avoid branching branches.
@vijay-prema
vijay-prema / gridcoin-boinc-ubuntu-21.md
Last active October 26, 2021 07:03
Gridcoin/BOINC in Ubuntu 21.10

Run Gridcoin and BOINC in Ubuntu 21.10

Assuming you want to be a researcher and do computing to earn coins (Dont need BOINC if you just want to it as a coin)

  1. Install BOINC
  2. Start the BOINC daemon service (this will need to run in the background in order to do computations to earn coins. In some installations it starts automatically on boot in the background, if not run the /etc/init.d/boinc-client start command or /etc/init.d/boinc-client status to check)
  3. Run BOINC Manager. If it fails to run then do this:
  • Add your current username to boinc group: sudo usermod -a -G boinc [insert current user name here]
  • Edit this file and paste some random string in it as a password: sudo nano /var/lib/boinc-client/gui_rpc_auth.cfg
  1. In BOINC Manager, add a project you would like to compute e.g. Universe@home, which may require you to create a new account with them
@vijay-prema
vijay-prema / ubuntu-on-asus-g14.md
Last active April 20, 2024 01:30
Ubuntu on Asus ROG Zephyrus G14 2021

Ubuntu on Asus ROG Zephyrus G14 2021 (Setup guide)

Here is a way to do a robust install of Ubuntu (+ optional Windows 11 dual boot and LUKS encryption) on an Asus laptop, with minimal usable hardware support, without a significant amount of tinkering that may break in future or require frequent technical attention.

In summary, the key thing is to have an up to date kernel, which usually means disabling secure-boot and installing the latest stable (6.0+) using mainline or xanmod, and as well as making sure the latest nvidia driver and dkms is installed.

Specs:

  • Model Asus G14 2021 (GA401QC)
  • AMD R7 5800 8 core 16 thread (onboard Radeon graphics)
  • NVIDIA RTX 3050 4GB (60W +15W boost)

Keybase proof

I hereby claim:

  • I am vijay-prema on github.
  • I am vjprema (https://keybase.io/vjprema) on keybase.
  • I have a public key ASDbaBNWnLbKzDNpFLSUN_LxbWYy_qWo6cDeVEU2lZxB6Ao

To claim this, I am signing this object: