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.fabioalmeida.test.router; | |
| import static org.junit.Assert.assertEquals; | |
| import static org.junit.Assert.assertTrue; | |
| import org.junit.Test; | |
| import org.restlet.Context; | |
| import org.restlet.Request; | |
| import org.restlet.Response; | |
| import org.restlet.Restlet; |
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
| File file = new File("./src_teste/JsonFromXmlAjaxResponseTest01.xml"); | |
| BufferedReader buf = new BufferedReader(new InputStreamReader(new FileInputStream(file))); | |
| String line ; | |
| StringBuilder build = new StringBuilder(); | |
| while ((line = buf.readLine()) != null) { | |
| build.append(line); | |
| } |
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
| for name in *.mp3; do mv "$name" "$(basename "$name" .ogg.mp3).mp3"; done; |
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
| string.replaceAll("\\$\\{name\\}", stringValue); |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head profile="http://selenium-ide.openqa.org/profiles/test-case"> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <link rel="selenium.base" href="http://127.0.0.1:8888/" /> | |
| <title>selenium_test_bom</title> | |
| </head> | |
| <body> | |
| <table cellpadding="1" cellspacing="1" border="1"> |
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
| <module> | |
| ... | |
| <inherits name="com.google.gwt.i18n.I18N"/> | |
| <extend-property name="locale" values="pt_BR"/> | |
| <set-property-fallback name="locale" value="pt_BR"/> | |
| ... | |
| </module> |
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
| "edcb//:ptth".split("").reverse().join("") | |
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
| @ECHO OFF | |
| FOR /D %%A IN (*) DO ( | |
| ECHO PROCESSANDO %%A | |
| cd "%%A" | |
| ..\pdftk *.pdf cat output "%%A".pdf | |
| ECHO FIM DO PROCESSAMENTO | |
| cd .. | |
| ) |
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
| function sendMailAvaliacaoFicha() { | |
| var sheet = SpreadsheetApp.getActiveSheet(); | |
| var startRow = 2; // First row of data to process | |
| var numRows = 9; // Number of rows to process | |
| // Fetch the range of cells A2:F10 | |
| var dataRange = sheet.getRange(startRow, 1, numRows, 6) | |
| // Fetch values for each row in the Range. | |
| var data = dataRange.getValues(); | |
| for (i in data) { | |
| var row = data[i]; |
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
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>net.fabioalmeida.htmllist</groupId> | |
| <artifactId>htmllist</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <packaging>jar</packaging> | |
| <name>htmllist</name> |
OlderNewer