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
"ronei ronei".replaceAll("\\s+(?=\\s)", "") |
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
Criar arquivo "/usr/share/applications/eclipse.desktop" com: | |
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Terminal=false | |
Icon={diretorio do icone} | |
Exec=sh -c 'export SWT_GTK3=0; export ANDROID_HOME=/usr/local/android-sdk/; {diretorio do eclipse}/eclipse' | |
Name=Eclipse |
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
No menu ir em Proxy -> Recording Settings | |
Exclude e em Import e seelcionar o arquivo XML |
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
<VirtualHost *:80> | |
ProxyPreserveHost On | |
ProxyRequests Off | |
ServerName host-origem-na-porta-80.com.br | |
ProxyPass / http://host-de-destino:8080/ | |
ProxyPassReverse / http://host-de-destino:8080/ | |
</VirtualHost> |
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/python | |
from BaseHTTPServer import BaseHTTPRequestHandler | |
import SocketServer | |
import logging | |
PORT = 80 | |
class ServerHandler(BaseHTTPRequestHandler): |
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
<?php | |
class Csv{ | |
private $output; | |
private $delimiter; | |
function __construct($file_name, $delimiter = ';'){ | |
$this->output = fopen('php://output', 'w'); | |
$this->delimiter = $delimiter; |
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
character_set_client: utf8 | |
character_set_connection: utf8 | |
character_set_database: utf8 | |
character_set_filesystem: binary | |
character_set_results: utf8 | |
character_set_server: utf8 | |
collation_connection: utf8_unicode_ci | |
collation_server: utf8_unicode_ci | |
init_connect: set time_zone = '-03:00'; |
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
app.factory('utils', function() { | |
return { | |
validCpf: function(cpf) { | |
if ( !cpf || cpf.length != 11 | |
|| cpf == "00000000000" | |
|| cpf == "11111111111" | |
|| cpf == "22222222222" | |
|| cpf == "33333333333" | |
|| cpf == "44444444444" | |
|| cpf == "55555555555" |
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
// Get query parameters with js | |
var QueryParameters = { | |
all: function() { | |
var result = {} | |
location.search.substr(1).split("&").forEach(function (item) { | |
var keyValue = item.split("=") | |
result[keyValue[0]] = decodeURIComponent(keyValue[1]) | |
}) |
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
<profiles> | |
<profile> | |
<id>run-app</id> | |
<properties> | |
<config.skip.tests>true</config.skip.tests> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>io.skullabs.kikaha</groupId> |
OlderNewer