Skip to content

Instantly share code, notes, and snippets.

View laurent35240's full-sized avatar
🍺

Laurent Clouet laurent35240

🍺
View GitHub Profile
@laurent35240
laurent35240 / toulouseLIghtsJson.go
Created October 1, 2016 13:59
Tool for extracting only coordinates from json file provided by Toulouse
package main
import (
"io/ioutil"
"fmt"
"encoding/json"
)
type DatasetType struct {
Fields FieldsType
@laurent35240
laurent35240 / PHP.xml
Created July 26, 2012 21:26
Magento snippets for PhpStorm (file location is ~/.WebIde40/config/templates/PHP.xml)
<?xml version="1.0" encoding="UTF-8"?>
<templateSet group="PHP">
<template name="help" value="Mage::helper('$helperName$')" description="Mage::helper" toReformat="false" toShortenFQNames="true">
<variable name="helperName" expression="" defaultValue="core" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="CSS" value="false" />