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
// Code sample illustrating a bug in the Intel compiler | |
// icpc (ICC) 13.0.1 20121010 | |
// compile with: | |
// icc -restrict -std=c99 -O2 iccbug.c -o iccbug | |
// then run iccbug | |
// Tested in Linux Ubuntu 12.10 (Intel Core i7) | |
#include <stdint.h> |
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
size_t | |
compute_intersection (const uint32_t * rare, | |
const size_t nrare, const uint32_t * freq, const size_t nfreq, uint32_t * out) { | |
UINT4 goal; | |
const UINT4 *stop_rare; |
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="ISO-8859-1" standalone="yes"?> | |
<!DOCTYPE université [ <!ELEMENT université (faculté*,description*)*> | |
<!ELEMENT faculté (département*)> <!ELEMENT département EMPTY> | |
<!ATTLIST département nom CDATA #REQUIRED xmlnote (vide|plein) "plein"> | |
<!ATTLIST université téléphone ID #REQUIRED> ]> | |
<université téléphone="514-4321" xml:lang="fr"> <description>La plus grande.</description> | |
<faculté nom="sciences"> <département nom="mathématiques"></département> | |
<département nom="sociologie" xmlnote="vide"/> </faculté> </université> |
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"?> <recherche xmlns="http://www.google.com/" xmlns:yahoo="http://www.yahoo.com/"> | |
<mots-clefs xmlns="http://www.yahoo.com/">fraise, orange</mots-clefs> | |
<yahoo:mot xmlns:yahoo2="http://www.yahoo.com/"><nombre>3</nombre> </yahoo:mot> </recherche> |
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> | |
<header> | |
<script id="telephone" type="application/xml"> | |
<annuaire> | |
<individu><nom>Jean</nom><telephone>456-4321</telephone></individu> | |
<individu><nom>Pierre</nom><telephone>456-4221</telephone></individu> | |
<individu><nom>Jacques</nom><telephone>553-4221</telephone></individu> | |
<individu><nom>Marie</nom><telephone>456-4211</telephone></individu> | |
</annuaire> | |
</script> |
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
w = 2 | |
def hash(a,x): | |
return ((a * x) >> w) % ( 1<< w) | |
def isItUniversal(): | |
for x in range(1<<w): | |
for y in range(x+1,1<<w): |
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> | |
<header> | |
<script id="telephone" type="application/xml"> | |
<annuaire> | |
<individu><nom>Jean</nom><telephone>456-4321</telephone></individu> | |
<individu><nom>Pierre</nom><telephone>456-4221</telephone></individu> | |
<individu><nom>Jacques</nom><telephone>553-4221</telephone></individu> | |
<individu><nom>Marie</nom><telephone>456-4211</telephone></individu> | |
</annuaire> | |
</script> |
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"?> | |
<!DOCTYPE rdf:RDF SYSTEM "http://purl.org/dc/schemas/dcmes-xml-20000714.dtd"> | |
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:dcterms="http://purl.org/dc/terms/"> | |
<rdf:Description rdf:about="file://disk/news_12_02_02.mpg"> | |
<dc:title>World News Tonight</dc:title> | |
<dc:creator>Special Broadcasting Service</dc:creator> | |
<dc:subject>International news events</dc:subject> |
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
# Important: change spigot-1.16.1.jar to match the name of your jar file! | |
if ! screen -list | grep -q "minecraft"; then | |
cd /home/pi/minecraft | |
screen -S minecraft -d -m java -jar -Xms512M -Xmx1008M spigot-1.16.1.jar nogui | |
fi |
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
cat /dev/urandom | head -c 1024 | iconv -f latin1 -t ascii -c | tr -d -c 0-9a-z | head -c 8 |
OlderNewer