Skip to content

Instantly share code, notes, and snippets.

View tblachowicz's full-sized avatar

Tomasz Błachowicz tblachowicz

  • Mastercard
  • Łódź, Poland
  • 11:35 (UTC +02:00)
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Record Video for 3 Seconds</title>
</head>
<body>
<h1>Record Video Example.</h1>
### Keybase proof
I hereby claim:
* I am tblachowicz on github.
* I am tblachowicz (https://keybase.io/tblachowicz) on keybase.
* I have a public key whose fingerprint is DCFD AC4E D227 1F40 0C7F 1F5D 804D 78E5 5C9F 5AC0
To claim this, I am signing this object:
[INFO] ------------------------------------------------------------------------
[INFO] Building Platform : Commons : Live Cluster JMS 2.6.9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ platform-commons-livecluster-jms ---
[INFO] com.sentenial.commons:platform-commons-livecluster-jms:jar:2.6.9-SNAPSHOT
[INFO] +- org.apache.activemq:activemq-core:jar:5.4.3:test
[INFO] | +- commons-logging:commons-logging-api:jar:1.1:test
[INFO] | +- org.apache.activemq:activeio-core:jar:3.1.2:test
[INFO] | +- org.apache.activemq:kahadb:jar:5.4.3:test
import java.io.File;
import java.io.IOException;
public class TemporaryDirectory {
private File temporaryDirectory;
public boolean create(String prefix) throws IOException {
File temporaryFile = File.createTempFile(prefix, ".tmp");
try {
<script>
$(document).ready(function() {
$("#json-button").click(function() {
$.getJSON('/temp/jsontest', function(data) {
var items = [];
for (employee in data.employees) {
items.push(employee.fullname + '<' + employee.email + '>');
}
alert('Employees: ' + items.join(', '));
});
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
</web-app>