This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh transport.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debugger; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
usage() { | |
echo "Usage: $0 [OPTIONS]" | |
echo "" | |
echo "Options:" | |
echo " --help Show help" | |
echo " --model <model> Specify mode to use (see ollama list)" | |
echo " --api-mode <api-mode> Specify api mode to use : chat or generate" | |
exit 0 |