Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View francis36012's full-sized avatar

Francis Agyapong francis36012

View GitHub Profile
@francis36012
francis36012 / google_chrome_and_talk_plugin_installer
Created April 19, 2015 20:56
Installs google chrome and google talk plugin on an ubuntu based system
#!/bin/bash
installgtalkplugin() {
printf 'Downloading Google Talk Plugin...\n\n'
case `uname -i` in
i386|i486|i586|i686)
wget https://dl.google.com/linux/direct/google-talkplugin_current_i386.deb
;;
x86_64)
#!/bin/sh
# one way (older scala version will be installed)
# sudo apt-get install scala
#2nd way
sudo apt-get remove scala-library scala
wget http://www.scala-lang.org/files/archive/scala-2.11.6.deb
sudo dpkg -i scala-2.11.6.deb
sudo apt-get update
/*
Beautiful night landscape with a full moon and a clear sky that gives you a feeling of peace.
The mountains and the stars are generated dynamically
*/
color[] colors = {#FFF8E3, #FFFDD6, #FFFDFC, #F3FFD6, #FDF6C7, #E2E2E2};
color[] shades = {#18222B, #202E3B, #34495E};
void setup() {
size(1000,707);
import java.io.*;
public class BatchRename {
private static File userfile;
private static void renameAll(File folder) throws Exception{
String currentname;
String newname;