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
augeas { "add sss to nsswitch": | |
context => "/files/etc/nsswitch.conf", | |
changes => [ | |
"set database[. = 'passwd']/service[last()+1] 'sss'", | |
], | |
onlyif => "match database[. = 'passwd']/service[. = 'sss'] size == 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
### Keybase proof | |
I hereby claim: | |
* I am wandernauta on github. | |
* I am wandernauta (https://keybase.io/wandernauta) on keybase. | |
* I have a public key whose fingerprint is 48B7 5653 600D 17BB A5FF 233D B3DC C8CA BAD3 EEEE | |
To claim this, I am signing this object: |
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.fasterxml.jackson.databind.ObjectMapper; | |
public class Example { | |
public static void main(String[] args) throws Exception { | |
String jsonInput = "{\"name\": \"Redshirt\", \"phaserToKill\": true}"; | |
new ObjectMapper().readValue(jsonInput, StarfleetEnsign.class); | |
} | |
} |
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
<xsl:template>a<![CDATA[</xsl:template>]]>b</xsl:template> |
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
http://abcde.einval.com/download/abcde-2.7.tar.gz | |
http://alioth.debian.org/frs/download.php/file/3977/minicom-2.7.tar.gz | |
http://aphyr.com/riemann/riemann-0.2.9.tar.bz2 | |
http://archive.apache.org/dist/jena/binaries/apache-jena-3.0.1.tar.gz | |
http://archive.apache.org/dist/jena/binaries/apache-jena-fuseki-2.3.1.tar.gz | |
http://archive.apache.org/dist/jmeter/binaries/apache-jmeter-2.11.tgz | |
http://archive.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz | |
http://archive.mozilla.org/pub/thunderbird/releases/38.6.0/source/thunderbird-38.6.0.source.tar.bz2 | |
http://archives.eyrie.org/software/kerberos/pam-krb5-4.7.tar.gz | |
http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.8.13.tar.gz |
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
<!DOCTYPE x [ <!ENTITY y "a]>b"> ]> | |
<x> | |
<a b="&y;>" /> | |
<![CDATA[[a>b <a>b <a]]> | |
<?x <a> <!-- <b> ?> c --> d | |
</x> |
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 VWFloat | |
testResult :: VWFloat | |
testResult = 214.0 | |
limit :: VWFloat | |
limit = 200.0 | |
main = do | |
putStrLn "Emissions within limit?" |
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
Builder: interface <T> { | |
build: func -> T | |
} | |
HelloWorldBuilder: class implements Builder<String> { | |
init: func { | |
} | |
build: func -> String { | |
"Hello, world!" |
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
FROM ubuntu:14.04 | |
RUN apt-get update && apt-get install -y git build-essential libpcre3-dev wget | |
RUN wget https://github.com/fasterthanlime/rock/archive/master.tar.gz && \ | |
tar xvzf master.tar.gz && \ | |
cd rock-master && \ | |
make rescue | |
ENV PATH /rock-master/bin:$PATH | |
ENV OOC_LIBS /:/rock-master | |
CMD ["/bin/bash"] |
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 re | |
from flask import Flask, request | |
app = Flask(__name__) | |
@app.route("/") | |
def hello(): | |
dn = request.headers['X-Client'] | |
fields = dict(re.findall("/([^=]*)=([^/]*)", dn)) | |
doctype = "<!doctype html>" |
NewerOlder