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
-Xms1280m | |
-Xmx1280m | |
-XX:MaxPermSize=350m | |
-XX:ReservedCodeCacheSize=64m | |
-XX:NewSize=128m | |
-XX:MaxNewSize=128m | |
-XX:+UseParNewGC | |
-XX:ParallelGCThreads=4 | |
-XX:+UseConcMarkSweepGC | |
-XX:CMSInitiatingOccupancyFraction=60 |
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
-vm | |
/home/mussatto/dev/jdk1.7.0_25/bin/java | |
-product | |
org.eclipse.epp.package.jee.product | |
--launcher.defaultAction | |
openFile | |
-showsplash | |
org.eclipse.platform | |
--launcher.defaultAction | |
openFile |
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
dataSource { | |
pooled = true | |
} | |
hibernate { | |
cache.use_second_level_cache = true | |
cache.use_query_cache = true | |
cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory' | |
search.default.directory_provider = 'filesystem' | |
hibernate.search.default.indexBase = 'indexes' |
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
[mysqld] | |
safe-show-database old-passwords = 1 | |
max_connections =2048 | |
max_user_connections = 1024 | |
key_buffer_size = 2048M | |
myisam_sort_buffer_size = 64M | |
join_buffer_size = 1M | |
read_buffer_size = 1M | |
sort_buffer_size = 2M | |
table_cache = 4000 |
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
def executionService= ctx.getBean('executionService') | |
def processInstances= executionService.createProcessInstanceQuery().processDefinitionId('StateSequence-1').list() | |
def executions = processInstances.collect{ | |
def activeNames= it.findActiveActivityNames() | |
} |
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
//https://developers.facebook.com/docs/reference/fql | |
//https://developers.facebook.com/tools/explorer?method=GET&path=1550469627%3Ffields%3Did%2Cname | |
//GET url, id, type from absolute url (source: links) | |
SELECT url, id, type, site FROM object_url WHERE url = "http://www.tominagaeventos.com.br" | |
//get lots of things from pages | |
//indexed: name, keywords,page_id,username | |
//ref:https://developers.facebook.com/docs/reference/fql/page | |
SELECT name,hometown,general_info,current_location, page_id,username, page_url FROM page WHERE name = "Tominaga Eventos Lotado" |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Time::HiRes; | |
use LWP::Simple; | |
my @urls = ("http://www.you24h.com/"); | |
sub countParams { |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Time::HiRes; | |
use WWW::Mechanize; | |
use LWP::Simple; | |
my @urls = ("http://www.you24h.com/"); | |
my @errorMessages = ("ERROR", "error"); |
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
colorscheme:satto_log | |
cs_re:white:^.*INFO.*$ | |
cs_re:red:^.*SEVERE.*$ | |
cs_re:red:^.*ERROR.*$ | |
cs_re:blue:^.*DEBUG.*$ | |
cs_re:yellow:^.*WARN.*$ |
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
use strict; | |
use warnings; | |
my @random=(); | |
for(my $i=0; $i<=100;$i++){ | |
$random[$i] = int( rand(1000)); | |
} | |
sub selection_sort{ |
OlderNewer