Skip to content

Instantly share code, notes, and snippets.

View phildini's full-sized avatar
🔥
Carthago delenda est.

Philip James phildini

🔥
Carthago delenda est.
View GitHub Profile
@phildini
phildini / atreus.ino
Created January 21, 2021 02:57
Phildini's Atreus Layout
/* -*- mode: c++ -*-
* Atreus -- Chrysalis-enabled Sketch for the Keyboardio Atreus
* Copyright (C) 2018, 2019 Keyboard.io, Inc
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@phildini
phildini / test_output.txt
Created May 4, 2020 19:51
Test run channels
(websockets-test) phildini@Philips-MacBook-Pro-2 websockets-test % pytest test_consumers.py
============================= test session starts ==============================
platform darwin -- Python 3.7.6, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
django: settings: websocketstest.settings (from ini)
rootdir: /Users/phildini/websockets-test, inifile: pytest.ini
plugins: django-3.9.0, asyncio-0.11.0
collected 3 items
test_consumers.py .FF [100%]
@phildini
phildini / guide.md
Created June 4, 2018 23:45
Alameda Civic Technologist's Guide to the June 2018 California Primary
  • Governor: Chiang or Newsom
  • Lieutenant Governor: Gayle McLaughlin or Eleni Kounalakis
  • Secretary of State: Alex Padilla
  • Treasurer: Fiona Ma
  • Attorney General: Xavier Becerra or Dave Jones
  • Controller: Betty Yee
  • Insurance Commissioner: Ricardo Lara
  • Member, State Board of Equalization, District 2: Malia Cohen
  • Senator: Kevin De Leon
  • United States Representative: Barbara Lee
@phildini
phildini / scratch.py
Created May 20, 2018 18:27
k8s evn vars
{'name': 'GITHUB_OWNER', 'value': 'pybee', 'value_from': None},
{'name': 'GITHUB_PROJECT_NAME', 'value': 'pybee', 'value_from': None},
{'name': 'SHA', 'value': '1d8035a6c8f6486b1c1582341a63471b67ffde26', 'value_from': None},
{'name': 'CODE_URL', 'value': 'https://beekeeper.herokuapp.com/projects/pybee/briefcase/change/b89f2c00-d38e-41f3-a738-3c6b7a4873db/build/5595f74a-a4b2-40d1-a215-169ff0900b27/code', 'value_from': None},
@phildini
phildini / East-Bay-Zulip-CoC.md
Last active May 15, 2018 18:30 — forked from annalee/sample-slack-coc.md
The East Bay Zulip CoC

[East Bay] Code of Conduct

Welcome!

The current admins are:

We want this to be a fun, pleasant, and harassment-free experience for everyone, regardless of gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, or religion. We do not tolerate harassment of participants in any form. Participants asked to stop any harassing behavior are expected to comply immediately.

@phildini
phildini / votes.json
Created May 5, 2018 18:42
Votes for API Driven Django
[{"model": "votes.vote", "pk": 1, "fields": {"subject": "More apps should be built in Django!", "vote_taken": "2018-04-14T19:51:09Z", "ayes": 100, "nays": 0}}, {"model": "votes.vote", "pk": 3, "fields": {"subject": "Should we use something other than Django?", "vote_taken": "2018-04-16T10:10:00Z", "ayes": 0, "nays": 42}}, {"model": "votes.vote", "pk": 9, "fields": {"subject": "Is Django the Best?", "vote_taken": "2018-04-17T05:12:48.675Z", "ayes": 42, "nays": 0}}]
@phildini
phildini / docker-compose.yml
Last active March 23, 2018 20:30
Wandering Shop docker-compose.yml
version: '3'
services:
db:
restart: always
image: postgres:alpine
environment:
- DB_POOL=20
networks:
- internal_network
@phildini
phildini / keybase.md
Created October 15, 2017 17:39
keybase.md

Keybase proof

I hereby claim:

  • I am phildini on github.
  • I am phildini (https://keybase.io/phildini) on keybase.
  • I have a public key ASCARB-qzIyXRP1nlva0jNKeiFzp2lIo6OF3KMpvFF0DjQo

To claim this, I am signing this object:

@phildini
phildini / docker compose output
Created October 14, 2017 19:16
Trying to upgrade to mastodon 1.4.1
mastodon@wandering-shop-nyc1:~/mastodon$ docker-compose build
redis uses an image, skipping
db uses an image, skipping
Building streaming
Step 1/13 : FROM ruby:2.4.1-alpine
---> 5eadd5d1419a
Step 2/13 : LABEL maintainer "https://github.com/tootsuite/mastodon" description "A GNU Social-compatible microblogging server"
---> Using cache
---> 7460ca289d29
Step 3/13 : ENV UID 991 GID 991 RAILS_SERVE_STATIC_FILES true RAILS_ENV production NODE_ENV production
@phildini
phildini / output.sh
Created August 27, 2017 02:14
Trying to run the toga/cricket#65
SensitiveDependence:cricket phildini$ rmvirtualenv cricket
Removing cricket...
SensitiveDependence:cricket phildini$ mkvirtualenv --python=$(which python3) cricket
Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5'
New python executable in /Users/phildini/.virtualenvs/cricket/bin/python3.5
Also creating executable in /Users/phildini/.virtualenvs/cricket/bin/python
Installing setuptools, pip, wheel...done.
virtualenvwrapper.user_scripts creating /Users/phildini/.virtualenvs/cricket/bin/predeactivate
virtualenvwrapper.user_scripts creating /Users/phildini/.virtualenvs/cricket/bin/postdeactivate