Skip to content

Instantly share code, notes, and snippets.

View yoannfleurydev's full-sized avatar
🤓

Yoann Fleury yoannfleurydev

🤓
View GitHub Profile

Keybase proof

I hereby claim:

  • I am yoannfleurydev on github.
  • I am yoannfleurydev (https://keybase.io/yoannfleurydev) on keybase.
  • I have a public key ASDRfr1P_ZsJtpyBiXbUuVcWNZ0iSJFxsVYnLaAIIozDHQo

To claim this, I am signing this object:

@yoannfleurydev
yoannfleurydev / _gitweb.ps1
Created March 21, 2020 21:34
Powershell Autocompletion
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
Register-ArgumentCompleter -Native -CommandName 'gitweb' -ScriptBlock {
param($wordToComplete, $commandAst, $cursorPosition)
$commandElements = $commandAst.CommandElements
$command = @(
'gitweb'
@yoannfleurydev
yoannfleurydev / .gitignore_global
Last active August 2, 2016 07:46
Global gitignore file
# ~/.gitignore_global
# git config --global core.excludesfile ~/.gitignore_global
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
@yoannfleurydev
yoannfleurydev / index.php
Created December 30, 2015 11:27
JSON OSM
<?php
$url = 'http://nominatim.openstreetmap.org/search/Piazza%20Duomo%20Trento?format=json&addressdetails=1&limit=1&polygon_svg=1';
$html = file_get_contents($url);
$jsonout = json_decode($html);
var_dump($jsonout[0]);