php working preferrably composer working too
mkdir drupal && cd drupal && curl -sSL https://www.drupal.org/download-latest/tar.gz | tar -xz --strip-components=1
| var Twit = require("twit"); | |
| var config = require('./oauthconfig'); | |
| console.log("config:"); | |
| console.log(config); | |
| var T = new Twit({ | |
| consumer_key: config.consumer_key, | |
| consumer_secret: config.consumer_secret, | |
| access_token: config.access_token, |
| <?php | |
| function get_season($hemisphere = 'northern', $date = '') { | |
| $now = (!empty($date)) ? strtotime($date) : strtotime(date('Y/m/d')); | |
| $season_dates = array( | |
| 'northern' => array( | |
| '/03/21' => 'spring', | |
| '/06/21' => 'summer', | |
| '/09/21' => 'autumn', | |
| '/12/21' => 'winter', |