Here I'm trying to understand what happens when I run
./hello
#include
version: 2.1 | |
setup: true | |
orbs: | |
path-filtering: circleci/path-filtering@0.0.2 | |
workflows: | |
setup-workflow: | |
jobs: |
First install pip for Python2. Download the get-pip.py file from https://bootstrap.pypa.io/get-pip.py | |
$ cd <download location> | |
$ sudo -H python ./get-pip.py | |
Installing pip also installs Python3 | |
To run Python3 | |
$ python3 | |
Install pip3 by just executing the same file as in the step above, but this time using Python3 | |
$ sudo -H python3 ./get-pip.py |
Here I'm trying to understand what happens when I run
./hello
#include
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>
// in AngularJS (client) | |
myApp.config(['$httpProvider', function($httpProvider) { | |
$httpProvider.defaults.useXDomain = true; | |
delete $httpProvider.defaults.headers.common['X-Requested-With']; | |
}]); | |
// in Express/nodeJS |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
Add Enable=Source
to /etc/bluetooth/audio.conf right after [General]
.
Find address in form XX:XX:XX:XX:XX:XX of phone with hcitool scan
.
Pair and trust smartphone with sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX
and sudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes
.
Create loopback in pulseaudio connection bluetooth a2dp source with alsa sink: