Skip to content

Instantly share code, notes, and snippets.

View singhshantanu1996's full-sized avatar

singhshantanu1996

View GitHub Profile
@bhediathewolf
bhediathewolf / freshInstall.sh
Last active August 14, 2017 04:38
Installation script for setting up a new Ubuntu or Ubuntu based install. This script has been written for elementary OS Loki.
#!/bin/sh
# Entering new setup folder
mkdir freshInstallation
cd freshInstallation
# Updating repositories, packages and a dist upgrading
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
@mhasby
mhasby / CopyAssets.java
Created November 15, 2016 07:06
[ANDROID] copy files from 'assets' folder to sdcard
import android.content.Context;
import android.content.res.AssetManager;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
@danielpaul
danielpaul / revision.java
Last active May 13, 2024 07:04
Basic Java Revision Notes - Written in Java
/*
*
* / --------------------------------[ NUIM CS141 Java Revision ]------------------------------- \
* || Designed to easily revise everything covered in CS141 by just reading through this code. ||
* || Comments accompany almost every line of code to explain its purpose. ||
* || Some theory we need to know are included in the bottom... ||
* \ ------------------------------------------------------------------------------------------- /
*
*
* ____ _ __ ____ __