Skip to content

Instantly share code, notes, and snippets.

View raj-derasari's full-sized avatar

Raj Derasari raj-derasari

View GitHub Profile
@Brainiarc7
Brainiarc7 / build-tensorflow-from-source.md
Last active April 26, 2026 06:27
Build Tensorflow from source, for better performance on Ubuntu.

Building Tensorflow from source on Ubuntu 16.04LTS for maximum performance:

TensorFlow is now distributed under an Apache v2 open source license on GitHub.

On Ubuntu 16.04LTS+:

Step 1. Install NVIDIA CUDA:

To use TensorFlow with NVIDIA GPUs, the first step is to install the CUDA Toolkit as shown:

@PatWie
PatWie / update-tensorflow.sh
Last active December 4, 2019 18:24
simple cronjob script to frequently build TensorFlow from source automatically
#!/bin/bash
# Patrick Wieschollek
# =============================================================
# UPDATE SOURCE
# =============================================================
git checkout -- .
git pull origin master
@NickSeagull
NickSeagull / ubuntu-bloat-removal.sh
Last active January 23, 2026 15:50
Updated Jan 22nd, 2024 - Simple command to remove all "bloatware" from ubuntu
sudo apt-get remove \
aisleriot \
brltty \
duplicity \
empathy \
empathy-common \
example-content \
gnome-accessibility-themes \
gnome-contacts \
gnome-mahjongg \
@timvdalen
timvdalen / alloy.sty
Created September 27, 2012 20:33
Alloy code listings for LaTeX (not written by me, public domain)
% alloy.sty
% Alloy mode for the LaTeX listings package.
% This is public domain
\lstdefinelanguage{alloy}{
keywords={%
assert, pred, all, no, lone, one, some, check, run,
but, let, implies, not, iff, in, and, or, set, sig, Int, int,
if, then, else, exactly, disj, fact, fun, module, abstract,
extends, open, none, univ, iden, seq,