One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
# A list of possible usernames to reserve to avoid | |
# vanity URL collision with resource paths | |
# It is a merged list of the recommendations from this Quora discussion: | |
# http://www.quora.com/How-do-sites-prevent-vanity-URLs-from-colliding-with-future-features | |
# Country TLDs found here: | |
# http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains | |
# Languages found here: |
// g++ scantest.cpp -lbluetooth | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <unistd.h> | |
#include <sys/ioctl.h> | |
#include <iostream> | |
#include <signal.h> | |
#include <bluetooth/bluetooth.h> |
Moved to: | |
https://github.com/pwuertz/kicad_picknplace_assistant |
As of January 2018, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it. There is also an ansible role attached that automates it all for you.
Install the required build-tools (some might already be installed on your system).
# take a twitter m3u8 link and download it properly | |
function Get-TweetVid { | |
param( [string]$Uri, [string]$OutDir ) | |
$out_file = (Split-Path $Uri -Leaf).Replace(".m3u8", ".mp4") | |
$out_path = Join-Path $OutDir $out_file | |
if( -Not (Test-Path $out_path) ){ | |
mkdir -Path $out_path | |
} | |
ffmpeg -i $Uri -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $out_path | |
} |
# Defaults / Configuration options for homebridge | |
# The following settings tells homebridge where to find the config.json file and where to persist the data (i.e. pairing and others) | |
HOMEBRIDGE_OPTS=-U /var/lib/homebridge | |
# If you uncomment the following line, homebridge will log more | |
# You can display this via systemd's journalctl: journalctl -f -u homebridge | |
# DEBUG=* |
Using Ceedling on Windows is a bit more involved than using it in a Linux | |
environment. It requires Ruby which is not often installed on windows machines, | |
and while Ceedling can be configures to run with most C compilers, out of the | |
box it tries to use GCC which is also not generally available on windows. | |
Now if you are running Windows 10 professional, you can install the bash shell | |
and things get easier but lets say you are stuck with Windows Home or Windows 7 | |
and you want to do some quick and dirty test driven C coding with simple Mocks, | |
what is the best way to proceed? | |
Well it turns out that installing Ruby via the RubyInstaller for Windows |
'use strict'; | |
class HTMLElementPlus extends HTMLElement { | |
static defaultAttributeValue() { | |
/* the name of the attribute is parsed in as a parameter */ | |
return; | |
} | |
static parseAttributeValue(name, value) { |