This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
public class BatchRename { | |
private static File userfile; | |
private static void renameAll(File folder) throws Exception{ | |
String currentname; | |
String newname; |