- Assiette de charcuterie rie
- Brownie de carotte au chevre
- Caviar d'aubergine et gressin
- Concassée de tomates épicées mousse de pesto
- Creme d'asperges et oeuf poche
- Crumble de concombre et creme au chevre
- Dip de legumes sauce yaourt tapenade
- Farfallina aux aubergines grillees et basilic
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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"gopkg.in/yaml.v2" | |
) |
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
type Fstab struct { | |
File string `augeas:"file"` | |
Vfstype string `augeas:"vfstype"` | |
Opt map[string]string `augeas:"opt" augeas-type:"array"` | |
Dump bool `augeas:"dump"` | |
Passno bool `augeas:"passno"` | |
} `augeas:"/files/etc/fstab" augeas-type:"seq"` |
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
augeas { 'cacti_perms': | |
incl => '/etc/httpd/conf.d/cacti.conf', | |
lens => 'Httpd.lns', | |
changes => [ | |
'defnode req Directory[arg="/usr/share/cacti/"]/IfModule[arg="mod_authz_core.c"]/directive[.="Require"] "Require"', | |
'set $req/arg[1] "all"', | |
'set $req/arg[2] "granted"', | |
'defnode nomodauthzcore Directory[arg="/usr/share/cacti/"]/IfModule[arg="!mod_authz_core.c"] ""', | |
'set $nomodauthzcore/directive[.="Allow"]/arg[2] "all"', |
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
#!/bin/bash | |
FILE=$1 | |
USER=$2 | |
EMAIL=$3 | |
realfile=$(readlink -f $FILE) | |
cat << EOF | augtool -Ast "Xml incl ${realfile}" | |
# Remove #empty node |
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
// From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys | |
if (!Object.keys) { | |
Object.keys = (function() { | |
'use strict'; | |
var hasOwnProperty = Object.prototype.hasOwnProperty, | |
hasDontEnumBug = !({ toString: null }).propertyIsEnumerable('toString'), | |
dontEnums = [ | |
'toString', | |
'toLocaleString', | |
'valueOf', |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
FROM golang:onbuild |
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
FROM scratch | |
ADD app / | |
CMD ["/app"] |
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
require "base64" | |
require "openssl" | |
def unpacked_byte_array(ssh_type, encoded_key) | |
prefix = [7].pack("N") + ssh_type | |
decoded = Base64.decode64(encoded_key) | |
# Base64 decoding is too permissive, so we should validate if encoding is correct | |
unless Base64.encode64(decoded).gsub("\n", "") == encoded_key && decoded.slice!(0, prefix.length) == prefix | |
raise PublicKeyError, "validation error" |