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
import com.sun.javafx.application.PlatformImpl; | |
import java.awt.BorderLayout; | |
import java.awt.Dimension; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import javafx.application.Platform; | |
import javafx.collections.ObservableList; | |
import javafx.embed.swing.JFXPanel; | |
import javafx.scene.Group; | |
import javafx.scene.Node; |
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
import bottle | |
from wsgiproxy.app import WSGIProxyApp | |
# Remove "hop-by-hop" headers (as defined by RFC2613, Section 13) | |
# since they are not allowed by the WSGI standard. | |
FILTER_HEADERS = [ | |
'Connection', | |
'Keep-Alive', | |
'Proxy-Authenticate', | |
'Proxy-Authorization', |
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
Console.WriteLine("Document encrypted = {0}", document.isEncrypted().ToString()); | |
// Can it be opened? | |
bool isOpenable = true; | |
if (document.isEncrypted()) | |
{ | |
DecryptionMaterial decryptionMaterial = new StandardDecryptionMaterial(""); | |
try | |
{ | |
document.openProtection(decryptionMaterial); | |
AccessPermission ap = document.getCurrentAccessPermission(); |
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
09:14:40.487 GET http://jsmess.textfiles.com/messloader.html [HTTP/1.1 304 Not Modified 190ms] | |
09:14:40.684 Error in parsing value for 'image-rendering'. Declaration dropped. messloader.html:10 | |
09:14:40.684 Error in parsing value for 'image-rendering'. Declaration dropped. messloader.html:11 | |
09:14:40.684 Error in parsing value for 'image-rendering'. Declaration dropped. messloader.html:12 | |
09:14:40.684 Unknown pseudo-class or pseudo-element '-webkit-full-screen'. Ruleset ignored due to bad selector. messloader.html:20 | |
09:14:41.048 GET http://jsmess.textfiles.com/html/a2600.html [HTTP/1.1 404 Not Found 93ms] | |
09:14:41.049 GET http://jsmess.textfiles.com/gamehtml/Jrpacman.bin.html [HTTP/1.1 404 Not Found 185ms] | |
09:14:40.845 NS_ERROR_NOT_AVAILABLE: jsmess-loader.js:41 | |
09:14:41.189 SyntaxError: illegal character messloader.html |
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
# (Be in -*- mode: python; coding: utf-8 -*- mode.) | |
# | |
# ==================================================================== | |
# Copyright (c) 2006-2010 CollabNet. All rights reserved. | |
# | |
# This software is licensed as described in the file COPYING, which | |
# you should have received as part of this distribution. The terms | |
# are also available at http://subversion.tigris.org/license-1.html. | |
# If newer versions of this license are posted there, you may use a | |
# newer version instead, at your option. |
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
{ | |
"responseHeader":{ | |
"status":0, | |
"QTime":55, | |
"params":{ | |
"facet":"true", | |
"indent":"true", | |
"q":"content_type_droid:application/msword*", | |
"facet.field":"generator", | |
"wt":"json", |
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
.;=- | |
"NNMMMMMM$A! | |
;BMMMMMMMMMMMMR% | |
;MMMMMMMMMMMMMMMMC | |
#MMMMMMMMMMMMMMMMM |
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/php | |
<?php | |
# Globals to hold status: | |
$drupal_bootstrapped = FALSE; | |
$authenticated = FALSE; | |
# Use a shutdown function to ensure that authentication does not go through | |
# if bootstrapping Drupal fails (because PHP's die() returns exit(0)): | |
function shutdown() { |
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
FileSource: | |
StartingOffset (byte): 0 | |
EndingOffset (byte): 95 | |
Size (byte): 96 | |
FileSystemProperties: | |
Path: /Users/andy/Documents/workspace/jhove/src/test/resources/wave/sample3.wav | |
LastModified: 2014-08-21T10:20:13+01:00 | |
PresumptiveFormats: | |
PresumptiveFormat {FormatIdentification}: | |
NativeIdentifier {I8R}: |
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
$ tika -m ~/Downloads/Sample\ 10.x.pdf | |
Content-Length: 5994 | |
Content-Type: application/pdf | |
Creation-Date: 2014-03-04T20:56:45Z | |
Last-Modified: 2014-03-04T21:14:56Z | |
Last-Save-Date: 2014-03-04T21:14:56Z | |
X-Parsed-By: org.apache.tika.parser.DefaultParser | |
X-Parsed-By: org.apache.tika.parser.pdf.PDFParser | |
created: Tue Mar 04 20:56:45 GMT 2014 | |
date: 2014-03-04T21:14:56Z |
OlderNewer