Skip to content

Instantly share code, notes, and snippets.

View ElRochito's full-sized avatar
🏠
Working from home

Julien ElRochito

🏠
Working from home
View GitHub Profile
<html>
<head>
<title>Test PHP</title>
</head>
<body>
<form action = "json.php" method="post">
<label for="cityform">Veuillez choisir un nom de ville : </label>
<input type="text" id="cityform" name="name"
placeholder="Saisissez la ville"
@ElRochito
ElRochito / gist:d7396ee3388f088c798b
Created March 18, 2016 11:26
Update a fork repository
## aller sur votre branche locale
git checkout your_branch
## ajouter un point d'entrée sur le repo initial
git remote add upstream <initial_repo.git>
## récupérer les données depuis le repo initial
git fetch upstream
## mettre à jour les données depuis le repo initial
@ElRochito
ElRochito / app.js
Created December 4, 2013 13:11 — forked from QGao/app.js
var win = Ti.UI.createWindow(
{ backgroundColor: 'black' }
);
var center1 = {'x': 100, 'y':100};
var center2 = {'x': 100, 'y':250};
var lastIndex = 1;
var background = Ti.UI.createView({ backgroundColor:"#444444", });
var view = Ti.UI.createView({ backgroundColor:'red', center:center1, width:100, height:100, zIndex:lastIndex++, });
var view2 = Ti.UI.createView({ backgroundColor:'green', center:center2, width:100, height:100, zIndex:lastIndex, });
background.addEventListener('touchstart', function(e){
@ElRochito
ElRochito / gist:6784635
Created October 1, 2013 20:32
Command to debug in Titanium Studio
debugger;
@ElRochito
ElRochito / gist:6784623
Created October 1, 2013 20:31
Clean Ti XCode Project
sh transport.py