Skip to content

Instantly share code, notes, and snippets.

View surhudm's full-sized avatar

Surhud More surhudm

View GitHub Profile
@surhudm
surhudm / user_friendly_fedora_t460s.sh
Last active July 5, 2019 19:29
Make Fedora usable on Lenovo T460s
# Please read everything below carefully, and do not blindly run it.
# Install gnome-tweak-tool and change fonts in Fonts section to
# change scaling factor 1.25 or directly from command line:
gsettings set org.gnome.desktop.interface text-scaling-factor 1.25
# Adjust which fonts you want below:
# gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Font fontsize'
# gsettings set org.gnome.desktop.interface monospace-font-name 'Font fontsize'
# gsettings set org.gnome.desktop.interface font-name 'Font fontsize'
import pylab as pl
import numpy as np
a = np.arange(10)
%pylab inline
ax=pl.subplot(111)
ax.plot(a,a)
@surhudm
surhudm / gist:54675a6103bc2780f0c1
Created March 22, 2015 01:32
Serve sphinx documentation for git repository on gh-pages
#!/bin/bash
: '
This gist describes how to serve sphinx documentation
for a code already existing on git using gh-pages
'
: '
First install pip
'
pip install --upgrade sphinx