Skip to content

Instantly share code, notes, and snippets.

View aswinpajayan's full-sized avatar

Aswin P Ajayan aswinpajayan

  • Bengaluru, India
View GitHub Profile
@rdmarsh
rdmarsh / pi-tips.md
Last active June 10, 2024 10:48
Clean up the Raspbian default build for the Raspberry Pi

Remove unused packages on Raspberry Pi

(this is worth looking at http://www.stefan-seelmann.de/wiki/rasperrypi-homeserver, which is basically this:

apt-get purge --auto-remove scratch debian-reference-en dillo idle3 python3-tk idle python-pygame python-tk lightdm gnome-themes-standard gnome-icon-theme raspberrypi-artwork gvfs-backends gvfs-fuse desktop-base lxpolkit netsurf-gtk zenity xdg-utils mupdf gtk2-engines alsa-utils  lxde lxtask menu-xdg gksu midori xserver-xorg xinit xserver-xorg-video-fbdev libraspberrypi-dev libraspberrypi-doc dbus-x11 libx11-6 libx11-data libx11-xcb1 x11-common x11-utils lxde-icon-theme gconf-service gconf2-common

)

Warning: this will probably break something. If you need sound, don't remove the "alsa" packages

sudo apt-get --yes purge xserver-common x11-xfs-utils x11-xserver-utils xinit libsmbclient blt gvfs gvfs-backends gvfs-daemons gvfs-fuse idle idle-python2.7 idle-python3.2 idle3 libaudio2 libice6 liblightdm-gobject-1-0 libobrender27 libpulse0 libqt4-svg libqt

@a-yee
a-yee / nvimCondaEnv.txt
Last active February 21, 2024 01:23
Setting up neovim python3 environment using conda
# bash commands
# lists all of your conda env
conda env list
# Create a conda env w/ python3.5
# -n sets the name for your new env. I call it neovim here
conda create -n neovim python=3.5
# add neovim for python3 to the env
# specify version you want here, 0.1.13 up to date ver atm
@TummanapallyAnuraag
TummanapallyAnuraag / gsc.js
Last active June 17, 2019 05:51
GSC Usernames
/*
Author: Anuraag Tummanapally
* URL:
https://www.google.com/search?q=site:scholar.google.co.in/citations+(iitb+and+ee)+-%22Research+Scholar%22&safe=active&client=ubuntu&hs=PjE&channel=fs&ei=WB3dXN2zNMvFvQTXwqSADQ&start=10&sa=N&ved=0ahUKEwjdv7SIz5_iAhXLYo8KHVchCdAQ8NMDCI4B&biw=1600&bih=717
[OR]
* Search for:
site:scholar.google.co.in/citations (iitb and ee) -"Research Scholar"
in Google, then copy this code and paste in CONSOLE
@gipsh
gipsh / ubuntu_on_asus_TUF_A15_FA506IV.MD
Last active March 15, 2023 10:28
Ubuntu 20.04 on ASUS TUF A15 (FA506IV)

Installed using lived cd

Needed to add the nomodeset option to grub to correctly boot

After boot edit /etc/default/grub and add the nomodeset to the line with GRUB_CMDLINE_LINUX_DEFAULT.

Run this to make it persistent: