Skip to content

Instantly share code, notes, and snippets.

@julien-noblet
julien-noblet / coverage.json
Last active December 7, 2025 16:51
download-geofabrik-coverage.json
{"label":"Go Coverage","message":"81.7%","schemaVersion":1,"color":"green"}
@julien-noblet
julien-noblet / .golangci.yml
Created April 18, 2023 20:31
my default .golangci.yml
linters-settings:
govet:
check-shadowing: true
enable:
- atomicalign
- timeformat
settings:
printf:
funcs:
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
@julien-noblet
julien-noblet / stringInSlice.go
Created March 18, 2018 14:32
stringInSlice in go
func stringInSlice(a string, list *[]string) bool {
for _, b := range *list {
if b == a {
return true
}
}
return false
}
#!/bin/bash
#
# Search $1 path (default to /) for files with over $2 (defaults to 100) fragments and attempts to defragment them.
#
# Author: Kyle Manna
#
root=${1:-/}
min=${2:-100}
@julien-noblet
julien-noblet / LICENSE
Created November 18, 2017 09:04 — forked from rkirsling/LICENSE
Trend Chart (Area + Line)
Copyright (c) 2014 Ross Kirsling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@julien-noblet
julien-noblet / gist:8a440f0bbb4f6483ff4e
Last active August 29, 2015 14:15
Base pour site web avec gulp
npm i -D "bower"
npm i -D "browser-sync"
npm i -D "del"
npm i -D "gulp"
npm i -D "gulp-add-src"
npm i -D "gulp-autoprefixer"
npm i -D "gulp-cache"
npm i -D "gulp-cached"
npm i -D "gulp-changed"
npm i -D "gulp-coffee"