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/env python | |
from urllib2 import urlopen | |
import xml.etree.ElementTree as ET | |
from collections import OrderedDict | |
alias_uri = 'http://www.unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml' | |
alias_root = ET.parse(urlopen(alias_uri)).getroot() |
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
diff --git a/ext/gd/libgd/gdft.c b/ext/gd/libgd/gdft.c | |
index aa8e8d3..d09ede5 100644 | |
--- a/ext/gd/libgd/gdft.c | |
+++ b/ext/gd/libgd/gdft.c | |
@@ -126,6 +126,7 @@ typedef struct | |
typedef struct | |
{ | |
char *fontlist; /* key */ | |
+ int preferred_map; | |
FT_Library *library; |
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
[2012-09-11 19:30:02,680][WARN ][http.netty ] [Brain Drain] Caught exception while handling client http traffic, closing connection [id: 0x7ce0c4a3, /10.42.149.65:55007 => /10.60.187.73:9200] | |
java.lang.NoSuchMethodError: org.elasticsearch.common.compress.lzf.ChunkEncoder.<init>(I)V | |
at org.elasticsearch.common.compress.lzf.LZFCompressedStreamOutput.<init>(LZFCompressedStreamOutput.java:42) | |
at org.elasticsearch.common.compress.lzf.LZFCompressor.streamOutput(LZFCompressor.java:133) | |
at org.elasticsearch.common.io.stream.CachedStreamOutput$Entry.handles(CachedStreamOutput.java:72) | |
at org.elasticsearch.transport.support.TransportStreams.buildRequest(TransportStreams.java:111) | |
at org.elasticsearch.transport.netty.NettyTransport.sendRequest(NettyTransport.java:502) | |
at org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:185) | |
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.start(TransportShardReplicationOp |
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
Index: Zend/zend_language_scanner.l | |
=================================================================== | |
--- Zend/zend_language_scanner.l (revision 322482) | |
+++ Zend/zend_language_scanner.l (working copy) | |
@@ -916,7 +916,7 @@ | |
break; | |
} | |
case '\\': | |
- case '$': | |
+ case '£': |
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
CONNECTED(00000003) | |
depth=2 /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA | |
verify return:1 | |
depth=1 /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3 | |
verify return:1 | |
depth=0 /C=US/ST=California/L=San Francisco/O=Milk Inc./OU=Oink/CN=*.oink.com | |
verify return: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
import java.util.List; | |
import java.io.FileWriter; | |
import java.io.BufferedWriter; | |
import java.nio.ByteBuffer; | |
import javax.smartcardio.*; | |
class ProxNRollReader { | |
byte[] GET_UID = {(byte)0xFF, (byte)0xCA, (byte)0x00, | |
(byte)0x00, (byte)0x00}; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <IOKit/IOKitLib.h> | |
#include <IOKit/usb/IOUSBLib.h> | |
#include <IOKit/hid/IOHIDKeys.h> | |
CFStringRef find_serial(int idVendor, int idProduct) { | |
CFMutableDictionaryRef matchingDictionary = IOServiceMatching(kIOUSBDeviceClassName); |
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
diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c | |
index 5d134e1..d74fa43 100644 | |
--- a/crypto/rand/rand_win.c | |
+++ b/crypto/rand/rand_win.c | |
@@ -383,6 +383,11 @@ int RAND_poll(void) | |
if (advapi) | |
FreeLibrary(advapi); | |
+ /* If good then the Windows Crypto API worked, this does | |
+ the same as below so skip duplicating work */ |
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 | |
$a = 1; | |
if ($a == ++$a) { | |
echo "they're equal? WTF??", PHP_EOL; | |
} |
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
curl -XPUT 'http://127.0.0.1:9200/test/post/2569686' -d ' | |
{"node":32,"thread":91521,"title":"Allies in Blood \"A Universe of Change-Part 3\"","message":"\u201cGreetings Captain, Data, and young Crusher,\u201d Draal said in his less than normally booming voice. \u201cYou are no doubt aware of what is happening on Minbar.\u201d At this Picard\u2019s face darkened. \u201cYes,\u201d he whispered, \u201cI know about your probes.\u201d He waved off the looks of concern. \u201cI can hardly fault you since I have been doing the same thing,\u201d he said conspiratorially. \u201cMy people don\u2019t know and if they did right now they should bless you considering the situation. But I am getting away from purpose of you being here. Captain, without a living controller, the Great Machine will destroy itself in four days. My doctors, captors that they are, will not free me from this prison until I am well enough and the last time a controller was lost, war almost broke out. Commander Sheridan and Delenn, I beli |
NewerOlder