Skip to content

Instantly share code, notes, and snippets.

Anthony Martin Spidlace

View GitHub Profile
@Spidlace
Spidlace / departements-francais-limitrophe.php
Last active Mar 10, 2020
Départements français - Limitrophe
View departements-francais-limitrophe.php
<?php
$list_departments = [];
$list_departments['01'] = array('38', '39', '69', '71', '73', '74');
$list_departments['02'] = array('08', '51', '59', '60', '77', '80');
$list_departments['03'] = array('18', '23', '42', '58', '63', '71');
$list_departments['04'] = array('05', '06', '13', '26', '83', '84');
$list_departments['05'] = array('04', '26', '38', '73');
$list_departments['06'] = array('04', '83');
$list_departments['07'] = array('26', '30', '38', '42', '43', '48', '84');
@Spidlace
Spidlace / OAuth.php
Last active Dec 18, 2015
Twitter - API 1.1 (date + tweet) If you want show one, two, three or more tweet, change in the document "date-tweet.php" the parameter "count" in tweets.
View OAuth.php
<?php
// vim: foldmethod=marker
/* Generic exception class
*/
if (!class_exists('OAuthException')) {
class OAuthException extends Exception {
// pass
}
}
You can’t perform that action at this time.