Skip to content

Instantly share code, notes, and snippets.

@MichaelMure
MichaelMure / gist:081dbf28e9d69b7203c7
Last active August 29, 2015 14:17
slightly smarter ipfs bash completion
_ipfs_comp()
{
COMPREPLY=( $(compgen -W "$1" -- ${word}) )
}
_ipfs_help_only()
{
_ipfs_comp "--help"
}
GimpCagePoint point;
GimpCagePoint *A, *B;
GimpVector2 *AB, *AD;
gdouble lAB, lAD, angle, alpha, beta;
g_return_if_fail (GIMP_IS_CAGE_CONFIG (gcc));
g_return_if_fail (point_number <= gcc->cage_points->len);
g_return_if_fail (point_number >= 0);
point.src_point.x = x + DELTA;
<?php echo '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' ?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
function CreationBase() {
if [ -f "ville" ]; then
rm ville
fi
echo "versaille;786460" >> ville
echo "mulhouse;682240" >> ville
echo "rouen;765400" >> ville
echo "marseille;130550" >> ville
echo "lille;593500" >> ville