Skip to content

Instantly share code, notes, and snippets.

@ckob
Last active December 16, 2015 22:43
Show Gist options
  • Select an option

  • Save ckob/fcd06878037dffa13c72 to your computer and use it in GitHub Desktop.

Select an option

Save ckob/fcd06878037dffa13c72 to your computer and use it in GitHub Desktop.
Headers per Geany. /usr/share/geany/templates/files
/*
* Program.java 1.0 {date}
*
* Copyright {year} Charly Koch Busquets <charlykoch@hotmail.com>
*
* This is free software, licensed under the GNU General Public License v3.
* See http://www.gnu.org/licenses/gpl.html for more information.
*/
public class Program {
public static void main (String args[]) {
}
}
/*
* Program.java 1.0 {date}
*
* Copyright {year} Charly Koch Busquets <charlykoch@hotmail.com>
*
* This is free software, licensed under the GNU General Public License v3.
* See http://www.gnu.org/licenses/gpl.html for more information.
*/
import java.util.Scanner;
import java.util.Locale;
public class ProgramTUI {
public static void main (String args[]) {
Scanner sc = new Scanner(System.in);
sc.useLocale(Locale.ENGLISH);
String s = sc.nextLine();
sc.close();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment