This file contains hidden or 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
| package net.lampetty.samples; | |
| /** | |
| * StringBulder V.S. String.format to concat strings. | |
| */ | |
| public class StringBuilder_VS_StringFormat { | |
| public static void main(String[] args) { | |
| new StringBuilder_VS_StringFormat().run(args); | |
| } |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # INSTALL ==================== | |
| # $ sudo easy_install argparse | |
| # $ sudo easy_install mysql-python | |
| import argparse | |
| import MySQLdb | |
| import os |
This file contains hidden or 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
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Getopt::Compact; | |
| use Data::Dumper; | |
| my $getopt = Getopt::Compact->new( | |
| name => 'mygzip', | |
| modes => [ qw(verbose) ], |
NewerOlder