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
| export MAVEN_OPTS="-Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787" |
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
| #!/bin/bash | |
| sudo mkdir /tmp/ramdisk; sudo chmod 777 /tmp/ramdisk | |
| sudo mount -t tmpfs -o size=400M tmpfs /tmp/ramdisk/ | |
| cp -R /home/vitor.mussatto/dev/jdk1.8.0_45 /tmp/ramdisk |
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
| require 'nokogiri' | |
| html = ' | |
| <html> | |
| <body> | |
| <p>foo banana 1</p> | |
| this text | |
| <p>bar</p> | |
| <p>foo banana 2</p> | |
| <p>foo banana 3</p> |
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
| use strict; | |
| use warnings; | |
| my @random=(); | |
| for(my $i=0; $i<=100;$i++){ | |
| $random[$i] = int( rand(1000)); | |
| } | |
| sub selection_sort{ |
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
| 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 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/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 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/perl | |
| use strict; | |
| use warnings; | |
| use Time::HiRes; | |
| use LWP::Simple; | |
| my @urls = ("http://www.you24h.com/"); | |
| sub countParams { |
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
| //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 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
| def executionService= ctx.getBean('executionService') | |
| def processInstances= executionService.createProcessInstanceQuery().processDefinitionId('StateSequence-1').list() | |
| def executions = processInstances.collect{ | |
| def activeNames= it.findActiveActivityNames() | |
| } |
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
| [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 |
NewerOlder