I hereby claim:
- I am JulienBreux on github.
- I am julienbreux (https://keybase.io/julienbreux) on keybase.
- I have a public key whose fingerprint is 28FD 65AB 03BB 4A67 331E FBDE C71D 9FA1 0BD0 23FA
To claim this, I am signing this object:
TAG=$(echo ${CIRCLE_SHA1} | cut -c1-7) | |
if [ ! -z "${CIRCLE_TAG}" ]; then | |
TAG="${CIRCLE_TAG}" | |
fi |
FROM nginx:1-alpine | |
COPY ./src/index.html /usr/share/nginx/html | |
COPY ./etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf |
import ( | |
"go.mongodb.org/mongo-driver/mongo" | |
mongooptions "go.mongodb.org/mongo-driver/mongo/options" | |
) | |
// createSlugIndex creates the slug index in Mongo collection | |
func createSlugIndex(ctx context.Context, c mongo.Collection) (err error) { | |
ptrTrue := true | |
ptrSlug := "slug" | |
_, err = c.Indexes().CreateMany(ctx, []mongo.IndexModel{ |
cd() | |
{ | |
debug() | |
{ | |
if [ $DOTENVSH_DEBUG = true ]; then | |
echo $1 | |
fi | |
} | |
loadenv() |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
// Lib: https://github.com/twilio/twilio-php | |
require_once __DIR__.'/libs/twilio/Services/Twilio.php'; | |
// Constants | |
const SID = 'AC...'; | |
const TKN = '...'; | |
const NBR = '+33XXXXXXXXX'; | |
// Variables |
#!/usr/bin/php | |
<?php | |
$widthTile = 256; | |
$heightTile = 256; | |
if (!isset($argv[1])) | |
{ | |
exit('No input file argument'.PHP_EOL); | |
} |
// Packager: http://wbond.net/sublime_packages/package_control | |
// Packages: SublimeLinter, Emmet, Git | |
{ | |
"font_size": 13.0, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"highlight_line": true, | |
"highlight_modified_tabs": true, |
<?php | |
/////// FUNCTIONS | |
function removeHtaccess($path, $filename = '.htaccess') | |
{ | |
file_exists($path.DIRECTORY_SEPARATOR.$filename) && unlink($path.DIRECTORY_SEPARATOR.$filename); | |
} | |
function removeHtpasswd($path, $filename = '.htpasswd') | |
{ | |
file_exists($path.DIRECTORY_SEPARATOR.$filename) && unlink($path.DIRECTORY_SEPARATOR.$filename); |