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
package main | |
import ( | |
"fmt" | |
"github.com/hyperledger/fabric/peer/chaincode" | |
pb "github.com/hyperledger/fabric/protos/peer" | |
) | |
func main() { |
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
// Created by inigo quilez - iq/2013 | |
// License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. | |
// Volumetric clouds. It performs level of detail (LOD) for faster rendering | |
float noise( in vec3 x ) | |
{ | |
vec3 p = floor(x); | |
vec3 f = fract(x); | |
f = f*f*(3.0-2.0*f); |
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
#!/bin/bash | |
# to get pids, you can just do a | |
# myprocess & | |
# pids+="$! " | |
pids="$@" | |
rets="" | |
for i in $pids | |
do |
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" standalone="yes"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:ns2="http://www.google.com/kml/ext/2.2" xmlns:ns3="http://www.w3.org/2005/Atom" xmlns:ns4="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"> | |
<Document> | |
<Schema name="base_epigraphy_1" id="base_epigraphy_1"> | |
<SimpleField type="string" name="Noms"/> | |
<SimpleField type="string" name="références"/> | |
<SimpleField type="string" name="Lieu/cité"/> | |
<SimpleField type="string" name="INSEE"/> | |
<SimpleField type="string" name="coord. X"/> | |
<SimpleField type="string" name="coord.Y"/> |
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 http://wiki.cacert.org/FAQ/ImportRootCert#Java | |
curl -O http://www.cacert.org/certs/root.crt | |
curl -O http://www.cacert.org/certs/class3.crt | |
sudo keytool -keystore /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/cacerts -import -trustcacerts -v -alias cacertclass1 -file root.crt | |
sudo keytool -keystore /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/cacerts -import -trustcacerts -v -alias cacertclass3 -file class3.crt |
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 -sSL http://deis.io/deisctl/install.sh | sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1773k 100 1773k 0 0 500k 0 0:00:03 0:00:03 --:--:-- 525k | |
Verifying archive integrity... All good. | |
Uncompressing Deis Control Utility 100% Extraction failed. | |
Terminated |
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
body { | |
-webkit-font-smoothing:antialiased; | |
font:normal .8764em/1.5em HelveticaNeue-Light,Helvetica,Arial,sans-serif; | |
margin:0; | |
} | |
html > body { | |
font-size:1em; | |
padding:1em; | |
} |
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
[alias] | |
l = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s%Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
la = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
ci = commit -m | |
s = status -s --untracked=no | |
dc = diff --color=auto | |
dw = diff --color-words | |
co = checkout | |
b = branch | |
[core] |
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
ps2pdf -dPDFSETTINGS=/prepress input-file.pdf output-file.pdf |
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
ca marche |