Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
The JSON config for the physical UI allows you to set-up initial transition defaults e.g.
Below you can see the "power" RGBLED has default transition
options set. This means all transitions will happen over 750ms.
initialTransition
is used to set-up the RGBLED when it's initialised and before any messages to change it's state are received. In this case, the LED will be transitions to the colour [200, 200, 200]
over 5 seconds backwards and forwards repeatedly (yoyo
).
...
Adyen Test Card Numbers | |
These cards are only valid on our TEST system and they will never involve any actual transaction or transfer of funds. The TEST card numbers will not work on the Adyen LIVE Platform. | |
For all cards use the following expiration and CVV2/CVC2/or CID for Amex. | |
For all cards: | |
Expiration Dates CVV2 / CVC3 CID (American Express) | |
08/2018 OR 10/2020 737 7373 |
class StreamingController < ApplicationController | |
include ActionController::Live | |
before_filter :require_user | |
def index | |
Rails.logger.info "streaming#index" | |
ActiveRecord::Base.connection_pool.release_connection # current_user already loaded in before filter |
It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
Here are all of the resources mentioned by Deconstruct 2017 speakers, along with who recommended what. Please post a comment if I missed something or have an error!
#!/usr/bin/env python | |
# vim: set fileencoding=utf-8 | |
# | |
# USAGE: | |
# Back up your tmux old config, run the script and redirect stdout to your conf | |
# file. Example: | |
# | |
# $ cp ~/.tmux.conf ~/.tmux.conf.orig | |
# $ python ./tmux-migrate-options.py ~/.tmux.conf.orig > ~/.tmux.conf | |
# |
The CHIP-8 emulator guide has now been finalized and published on my blog.
Please go here to read it: https://tobiasvl.github.io/blog/write-a-chip-8-emulator/
The Markdown source is located here: https://github.com/tobiasvl/tobiasvl.github.io/blob/master/_posts/2020-07-20-write-a-chip-8-emulator.md
If you have this link I'll assume I should thank you for your valuable input while I was writing it. Feel free to continue making suggestions/pull requests over at GitHub!
# Stick this in your home directory and point your Global Git config at it by running: | |
# | |
# $ git config --global core.attributesfile ~/.gitattributes | |
# | |
# See https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more for more details | |
*.c diff=cpp | |
*.h diff=cpp | |
*.c++ diff=cpp | |
*.h++ diff=cpp |