Skip to content

Instantly share code, notes, and snippets.

View woutersf's full-sized avatar

woutersf woutersf

View GitHub Profile

Dropsolid Personalisation 1 on 1

Required

php working preferrably composer working too

Installation

Install drupal

mkdir drupal && cd drupal && curl -sSL https://www.drupal.org/download-latest/tar.gz | tar -xz --strip-components=1

@abeppu
abeppu / feelbetter.js
Last active February 6, 2021 19:06
Implementation of @FeelBetterBot
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,
@netsensei
netsensei / seasoning.php
Created September 20, 2012 11:52
Deduces the season based on a given date
<?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',