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
HTTP Status 500 - | |
type Exception report | |
message | |
description The server encountered an internal error () that prevented it from fulfilling this request. | |
exception |
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
import org.apache.log4j.Appender; | |
import org.apache.log4j.FileAppender; | |
import org.apache.log4j.Logger; | |
import org.apache.log4j.MDC; | |
import org.apache.log4j.PatternLayout; | |
import org.apache.log4j.spi.Filter; | |
import org.apache.log4j.spi.LoggingEvent; | |
import java.io.IOException; |
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
class Gtype { | |
def list; | |
void write() { | |
list.each { | |
write(it) | |
} | |
} | |
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
assertEquals(new SOQLQuery("SELECT (SELECT FirstName FROM Contacts where FirstName='Eva' limit 1),Name FROM Account", | |
"Account", new SelectField("Contact@FirstName"), new SelectField("Name")), | |
processor.process("select (select FirstName from Contacts where FirstName='Eva' limit 1),Name from Account", loginResult)); |
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
<html> | |
<body> | |
<form action="upload.php" method="post" enctype="multipart/form-data"> | |
<label>Filename: <input type="file" name="file"></label> | |
<input type="submit" value="Submit"> | |
</form> | |
<?php | |
if ($_FILES["file"]["error"] > 0) { | |
echo "Error: " . $_FILES["file"]["error"] . "<br>"; |
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
public class Depend { | |
public Depend() { | |
System.out.println("Hello World!"); | |
} | |
} |
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
import org.junit.Before; | |
import org.junit.Rule; | |
import org.junit.Test; | |
import org.junit.rules.TemporaryFolder; | |
import java.io.File; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.util.zip.ZipEntry; | |
import java.util.zip.ZipOutputStream; |
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 {'/etc/apache2/sites-enabled': | |
ensure => directory, | |
purge => true, | |
recurse => true, | |
force => true, | |
} |
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"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified"> | |
<xs:simpleType xmlns:xalan="http://xml.apache.org/xslt" name="dateInMultiFormat"> | |
<xs:restriction base="xs:string"> | |
<xs:pattern value="(([1-9])|((0[1-9])|([12][0-9]))|(3[0-1]))\.((0?[1-9])|(1[0-2]))\.((19[0-9]{2})|(2[0-9]{3}))"/> | |
</xs:restriction> | |
</xs:simpleType> | |
<xs:element xmlns:xalan="http://xml.apache.org/xslt" name="Pisemnost"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="DPHKH1"> |
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
// ==UserScript== | |
// @name iHned Paywall Remover | |
// @namespace http://ihned.cz | |
// @description Removes iHned paywall cookie | |
// @include http:/ihned.cz/* | |
// @include http://*.ihned.cz/* | |
// @version 2 | |
// @grant none | |
// ==/UserScript== | |
document.cookie = "pw=; path=/; domain=.ihned.cz; expires=Thu, 01-Jan-1970 00:00:01 GMT;"; |
OlderNewer