Skip to content

Instantly share code, notes, and snippets.

View Ugarz's full-sized avatar

Ugo Ugarz

View GitHub Profile

WIP App with PhoneGap + Angular

Application PhoneGap + Angularjs. WIP and debug.

A Pen by Ugo on CodePen.

License.

@Ugarz
Ugarz / index.html
Created February 5, 2015 11:38
Filtrer avec Angularjs // source http://jsbin.com/soyasa
<!DOCTYPE html>
<!-- Appel du module "App" -->
<html ng-app="App">
<head>
<meta name="description" content="Filtrer avec Angularjs" />
<!-- Appel de Bootstrap pour faire un truc joli -->
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<!-- Appel de la librairie AngularJs -->
@Ugarz
Ugarz / Filtre-Angularjs.markdown
Created February 5, 2015 13:11
Filtre Angularjs
@Ugarz
Ugarz / Flex-grid.markdown
Created February 13, 2015 20:06
Flex grid
@Ugarz
Ugarz / Doughnut-Data-D3-js.markdown
Created February 18, 2015 10:56
Doughnut Data D3 js
@Ugarz
Ugarz / README.md
Created August 28, 2016 20:20 — forked from christophermanning/README.md
Voronoi Diagram with Force Directed Nodes and Delaunay Links

Created by Christopher Manning

Summary

Nodes are linked to nodes in neighboring cells. The cell's color is a function of its area.

The white lines are the Delaunay triangulation and the purple cells are the Voronoi diagram.

Controls

@Ugarz
Ugarz / iife.md
Last active March 16, 2017 17:04
Sum some Design Patterns Technics in Javascript

IIFE

(function () {
   console.log('bonjour')
}) ();

Named IIFE

(showName = function (name) {
@Ugarz
Ugarz / module_pattern.md
Last active March 21, 2017 15:21
Reflexions around module pattern in javascript

Module pattern in javascript

module.exports = (params) => {
    // create SOAP client with params
    const soapClient = easysoap.createClient(params);
    return {
        request: function(json) {
            // convert json to xml
 soapClient.call(soapXML);
@Ugarz
Ugarz / readme.md
Created March 23, 2017 14:48 — forked from coolaj86/how-to-publish-to-npm.md
How to publish packages to NPM

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"

npm adduser

@Ugarz
Ugarz / gist:fcc74890ada664fde505f00d238fe38a
Last active July 6, 2017 13:09 — forked from lttlrck/gist:9628955
Rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote