Lightning talks from the @pdxreactjs meetup on 2019-02-12.
Daniel Lemay - @dslemay
Lightning talks from the @pdxreactjs meetup on 2019-02-12.
Daniel Lemay - @dslemay
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config to:
| Given /^(?:|I )am on "(?P<page>[^"]+)"$/ | |
| Given /^(?:|I )am on (?:|the )homepage$/ | |
| Given :type content: | |
| Given :vocabulary terms: | |
| Given I am an anonymous user | |
| Given I am at :path | |
| Given I am logged in as :name | |
| Given I am logged in as a user with the :permissions permission(s) | |
| Given I am logged in as a user with the :role role(s) | |
| Given I am logged in as a user with the :role role(s) and I have the following fields: |
| { | |
| "name": "mynamespace/myproject", | |
| "description": "Composer file example", | |
| "repositories": [ | |
| { | |
| "type": "composer", | |
| "url": "http://drupal-packagist.webflo.io/" | |
| }, | |
| { | |
| "type": "package", |
| # Delete all git branches merged into master | |
| git-branch-cleanup() { | |
| echo "Do you want to delete remote branches? [y/n]" | |
| read remote | |
| echo "Do you want to delete local branches? [y/n]" | |
| read local | |
| echo "Which branch do you want to have as the base? All branches merged into this branch will be deleted. Defaults to master." | |
| read branchBase | |
| git checkout $branchBase | |
| IFS=$'\n' |
| function prompt_command { | |
| local RED="\[\033[0;31m\]" | |
| local GREEN="\[\033[0;32m\]" | |
| local YELLOW="\[\033[0;33m\]" | |
| local BLUE="\[\033[0;34m\]" | |
| local MAGENTA="\[\033[0;35m\]" | |
| local CYAN="\[\033[0;36m\]" | |
| local CRESET="\[\033[0m\]" | |
| if git branch >/dev/null 2>/dev/null; then |
| # Given | |
| Given I am on [the] homepage | |
| Given I am on "url" | |
| # When | |
| When I go to [the] homepage | |
| When I go to "url" | |
| When I reload the page |