Skip to content

Instantly share code, notes, and snippets.

View viig99's full-sized avatar
:electron:
Parsing

shadow_of_ged viig99

:electron:
Parsing
View GitHub Profile
@engineervix
engineervix / fedora_setup.sh
Last active September 27, 2022 13:26
Things to do after installing Fedora
#!/usr/bin/env bash
# ---------------------------------------------
# This has been updated to work with Fedora 35
# ---------------------------------------------
# Run a System Update
sudo dnf update
# Enable RPM Fusion
@viig99
viig99 / kmeans.js
Created October 23, 2012 10:19
kMeans Clustering in Javascript
/*
Author: Arjun Variar
Date: 23rd Oct 2012
kMeans Clustering algorithm implemented from javascript as per the logic from Andrew Ng's ML class.
Implementation is for node.js, should work on the browser too.
Dependencies:
Javascript Sylvester library is used for matrix operations.
Notes:
Added feature scaling to the algorithm as an optional thing to do, somehow it doesnt fit well this data.
*/
@viig99
viig99 / fiftyfootshadows.sh
Created July 11, 2012 12:52
Download Desktop Wallpapers from fiftyfootshadows.
# Author - Arjun Variar
# Thanks to Ben for introducing me to fiftyfootshadows, Awesome Wallpapers!!
#!/bin/sh
if [[ -z "$TMP" ]]
then
TMP="/private/tmp"
fi
dir="$HOME/fifty_downloads"