Skip to content

Instantly share code, notes, and snippets.

View Nav-Appaiya's full-sized avatar
🏠
Available

Nav Appaiya Nav-Appaiya

🏠
Available
View GitHub Profile
xubuntu-desktop
tmux zsh oh-my-zsh git clang curl texlive vagrant
rvm ruby-2.1.0 rails postgresql
cuda-toolkit
python-numpy python-scipy python-matplotlib ipython
ipython-notebook python-pandas python-sympy python-nose
pycuda
terminator guake xchat
(find / -name 'libGLU*')
libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev freeglut3 freeglut3-dev
@Nav-Appaiya
Nav-Appaiya / XFCE
Last active August 29, 2015 14:13 — forked from masdimdung/XFCE
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.10
sudo apt-get update
sudo apt-get xubuntu-desktop
Tested with VM running on Azure
sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get install xrdp
sudo /etc/init.d/xrdp start
MAY NOT BE NEEDED:
echo gnome-session –session=Ubuntu-2d>~/.xsession
// Ubuntu 12.04 LTS, 12.10, 13.04 and 13.10
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install ubuntu-sdk
// Ubuntu development release
sudo apt-get update && sudo apt-get install ubuntu-sdk
# Apache
sudo aptitude install apache2 apache2-mpm-prefork apache2-utils apache2.2-common
sudo a2enmod rewrite
# Server name
echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn
# Restart Apache
sudo service apache2 restart
sudo apt-get update
#Dev Tools
sudo apt-get -y install git lighttpd apache2-utils build-essential
#Utilities
sudo apt-get -y install checkinstall openssh-server p7zip-full apt-file ttyrec ttyplay pdfgrep pngcrush
#Local Apps
sudo apt-get -y install iotop sysstat ncdu htop dbench dtrx mc slurm qalc tmux
@Nav-Appaiya
Nav-Appaiya / Crane
Created January 16, 2015 23:16 — forked from anonymous/Crane
Crane for greenfoot
public class crane extends Actor {
     
    private Container container;
     
    public void act() {
        //some other stuff for moving etc.
        if (container == null && Greenfoot.isKeyDown("p") && getObjectsInRange(25, Container.class)) {
            //"p" for pick up; you can use any other key if you want;
            //25 is the radius in which a container needs to be to pick it up; You can also use any other value;
            container = (Container) getObjectsInRange(25, Container.class).get(0);
<?php
/**
* PHP File Manager
* Author: Alex Yashkin <alex.yashkin@gmail.com>
*/
### CONFIG
// Use Auth (set true/false to enable/disable it)
$use_auth = true;
<?php
/* lookforbadguys.php 2011-09-27
Copyright (C)2011 Karen Chun, Steven Whitney.
Initially published by http://25yearsofprogramming.com.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License (GPL)
Version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@Nav-Appaiya
Nav-Appaiya / noodledoor
Created January 21, 2015 02:13
noodledoor
<?
$pass = hash("sha256", "cake");
$sqlinfo = [
"host" => "",
"username" => "",
"password" => ""
];
/*
NoodleDoor made by Zbee (Ethan Henderson) 2014 - https://github.com/zbee/noodledoor