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
{ "error" : "SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[gSVXNBhCQkWTG-3dMpzvFQ][leagueoflegends][2]: SearchParseException[[leagueoflegends][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [ | |
{ | |
\"filtered\": { | |
\"query\" : { | |
\"match\": { | |
\"body\": \"bitcoin\" | |
} | |
}, | |
\"filter\": { | |
\"not\": { |
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 xml.etree.cElementTree as ET | |
from math import sin | |
import random | |
# configuation | |
leaf_count = 30 | |
min_fall_duration = 10.0 | |
max_fall_duration = 15.0 | |
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
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA1 | |
hello world | |
-----BEGIN PGP SIGNATURE----- | |
Version: GnuPG v1.4.13 (Darwin) | |
iQEcBAEBAgAGBQJUYYCVAAoJECqmFjSW0I3xiN8H/3jGLt5nl1FB9sDnZ5RFUqNX | |
sUs6RHRN9bDCTs03rJIWxc5a9+ZnxOOjZOpV5NrOhO9HjUwMyjKkVPaoV3ySTtp3 | |
T+/snXfxpk2EfoxjvI4wx/jx/KSa21hkSBrV/ysyHbLQQnU125mc84QSCwGoU/qk |
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
// | |
// main.c | |
// byte count | |
// | |
// Created by kyle kersey on 11/16/14. | |
// Copyright (c) 2014 kyle kersey. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <stdlib.h> |
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> | |
int main() | |
{ | |
int n[5] = { 3, 6, 9, 12, 15 }; | |
int *ptr = n; | |
ptr++; | |
printf("%d", *ptr); | |
return 0; |
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> | |
void printd(int n) | |
{ | |
if (n < 0) | |
{ | |
putchar('-'); | |
n = -n; | |
} | |
if (n / 10) |
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
def demo(**arguments): | |
print arguments | |
demo(arg1="one", arg2="two") |
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
stack = {} | |
function stack.push(item) | |
table.insert(stack, item) | |
end | |
function stack.pop() | |
return table.remove(stack) | |
end |
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
local Stack = {} | |
Stack.__index = Stack | |
function Stack:push(value) | |
table.insert(self,value) | |
end | |
function Stack:pop() | |
return table.remove(self) |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.mycompany.multWinTest" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="8" | |
android:targetSdkVersion="11" /> |