Skip to content

Instantly share code, notes, and snippets.

View ayhid's full-sized avatar

Ayoub Hidri ayhid

  • Strasbourg, France
View GitHub Profile
@ayhid
ayhid / vacances.md
Created October 18, 2026 09:38
Planning de vacances en famille piloté par la météo (prompt IA)

Tu es expert en recherche Google et en organisation de sorties en famille.

PARAMÈTRES (à remplir)

  • Ville : [VILLE]
  • Période : du [DATE DE DÉBUT] au [DATE DE FIN]
  • Participants : [EX. MA FILLE DE 10 ANS / 2 ENFANTS DE 6 ET 9 ANS]
  • Budget max : [EX. GRATUIT UNIQUEMENT / MOINS DE 10 € PAR PERSONNE]
  • Zone de vacances scolaires : [A / B / C / NE SAIS PAS]
  • Moyen de transport : [À PIED / TRANSPORTS EN COMMUN / VOITURE]
  • Centres d'intérêt (optionnel) : [EX. NATURE, SCIENCES, ART, SPORT]
@ayhid
ayhid / gist:75b3a344cab113df7689442e36b48f67
Created November 8, 2021 10:34
short_movies_to_scrap.json
{
"title": {
"type": "string",
},
"originalTitle": {
"type": "string",
},
"releaseYear": {
"type": "integer",
},
@ayhid
ayhid / cloudSettings
Last active November 20, 2020 10:16
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-11-20T10:16:26.630Z","extensionVersion":"v3.4.3"}
@ayhid
ayhid / DatatableContentsWithPagination.jsx
Last active August 14, 2017 11:00
DatatableContentsWithPagination
import React from 'react';
import ReactPaginate from 'react-paginate';
import {Components, getRawComponent, Utils} from 'meteor/vulcan:core';
export default class DatatableContentsWithPagination extends React.Component {
constructor(props) {
// super(props);
this.state = {
selected: 0,
}
@ayhid
ayhid / polyline_decoder.js
Created September 5, 2016 14:33 — forked from ismaels/polyline_decoder.js
Javascript function to decode google maps api polyline
// source: http://doublespringlabs.blogspot.com.br/2012/11/decoding-polylines-from-google-maps.html
function decode(encoded){
// array that holds the points
var points=[ ]
var index = 0, len = encoded.length;
var lat = 0, lng = 0;
while (index < len) {
var b, shift = 0, result = 0;
@ayhid
ayhid / release.sh
Created August 23, 2016 13:35 — forked from jrbenito/release.sh
Bash script to automate the Git Flow tag/release process
#!/bin/bash
# current Git branch
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
# v1.0.0, v1.5.2, etc.
versionLabel=v$1
# establish branch and tag name variables
devBranch=develop