Skip to content

Instantly share code, notes, and snippets.

View chartjes's full-sized avatar

Chris Hartjes chartjes

View GitHub Profile
FROM frolvlad/alpine-python3
RUN apk add --update make gcc git python3-dev musl-dev libffi-dev openssl-dev py-pip
RUN pip install -r requirements.txt
COPY . /app
WORKDIR /app
CMD pytest --env=$TEST_ENV config-test/ -s

Keybase proof

I hereby claim:

  • I am chartjes on github.
  • I am chartjes (https://keybase.io/chartjes) on keybase.
  • I have a public key ASDD8qbzrBLb6_id_Cu-ALYTI42BT1uXCfDeKgCOo5Svcgo

To claim this, I am signing this object:

https://web.archive.org/web/20120928234200/http://www.truenorthphp.ca:80/
https://web.archive.org/web/20130925043449/http://www.truenorthphp.ca:80/
https://web.archive.org/web/20141005191248/http://www.truenorthphp.ca:80/
https://web.archive.org/web/20151023073631/http://www.truenorthphp.ca:80/
https://truenorthphp.ca/speakers.php
chartjes@grumpiermbp:~/S/atthekeyboard:master$ composer require sculpin/sculpin
Using version ^2.1 for sculpin/sculpin
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package dflydev/embedded-composer (locked at 1.0.x-dev) is satisfiable by dflydev/embedded-composer[1.0.x-dev] but these conflict with your requirements or minimum-stability.
Problem 2
@chartjes
chartjes / cycle-list.php
Created March 27, 2017 20:32
My PHP script for creating a Twitter list where people cycle on and off it based on 30 days of interaction
<?php
require "vendor/autoload.php";
use Abraham\TwitterOAuth\TwitterOAuth;
// You can get all these via https://dev.twitter.com/
$consumer_key = "";
$consumer_secret = "";
$access_token = "";
$access_token_secret = "";
$user_id = 0; // Twitter user ID
<?php
class Game extends Model {
public $name = 'Game';
public $belongsTo = array(
'HomeTeam' => array(
'className' => 'Franchise',
),
'AwayTeam' => array(
'className' => 'Franchise')
);
{
"swagger": "2.0",
"externalDocs": {
"description": "Full Documentation",
"url": "http://kinto.readthedocs.io"
},
"info": {
"title": "kinto",
"version": "",
"description": "Kinto is a minimalist JSON storage service with synchronisation and sharing abilities. It is meant to be easy to use and easy to self-host.\n\n**Note:** This OpenAPI specification is not fully compliant with the Kinto API and contain some undocumented Swagger schemas. For a list of known limitations please refer to the [Oficial Kinto documentation](kinto.readthedocs.io/en/stable/api/1.x/openapi.html).",
@chartjes
chartjes / gist:c9d595a888c8bde970a089346d134114
Created November 29, 2016 14:23
Didn't Want To Give Grumpy My Email Coupons
https://leanpub.com/grumpy-hack/c/nogrumpyemail
https://leanpub.com/grumpy-testing/c/nogrumpyemail
https://leanpub.com/grumpy-phpunit/c/nogrumpyemail
https://leanpub.com/minimumviabletests/c/nogrumpyemail

Keybase proof

I hereby claim:

  • I am chartjes on github.
  • I am chartjes (https://keybase.io/chartjes) on keybase.
  • I have a public key ASCQJOlzWrnTN7DgYCzRP4r3F_i0Yo9XNvh65dk9iVHhHgo

To claim this, I am signing this object:

So when our first cat Rusty died, I spent a lot of time trying to decide
if we should get another cat. After all, Pluto had spent a lot of time bullying
Rusty. Rusty was never quite the same -- anxious all the time and got chased
almost every single day by him.
But I liked having two cats around because that was the default in the household
since 2001. So after about 5 months I felt it was time to introduce another
cat into the household. I picked out a really sweet female Tortiseshell cat
and brought her home.