Javascript standard pattern for callback function
-
// result is 'Success' or 'Error'
-
function callback(result, message) {
Ubuntu usb dvd
Once plugged in to recognise
-
lshw
Then it appeared
https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs
To playback I installed
Wait for network
Bash script that will wait for a network connection
Quasar Notes
Quasar Notes
Install
-
sudo npm install -g quasar-cli
Create your first App
Clojure Programming notes
Set new atom value
-
(defn set-new-atom-value [atom newval] (
-
swap! atom (fn [arg1 arg2] arg2) newval)
Bonjour and alternatives for Raspberry Pi OTG
Windows host commands.
I installed Bonjour then I can run the following:
-
dns-sd
Linux:
Avahi Daemon
Getting OTG working in Ubuntu
In boot partition edit config.txt and add the last line
Creating DB for Continuous Integration
Oracle 12C Multitenant - setup CI Database and CI Database User
Create directory for tablespace on DB server:
(Delete if already there)
mkdir C:\oracle\products\oracledb_12_102\oradata\orcl\PORTABLE\CITESTDB_001\
Run as SYS user with SYSDBA role.
Temporarily set dns server in raspbian
resolv.conf is lost on reboot. I use this method when using a raspberrypi device in USB mode to override my special home dns server which is the default setting.
-
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
CORSProxy install
On windows I found corsproxy files to hack:
C:\Users\rjmetcal\AppData\Roaming\npm\node_modules\corsproxy-https
Running for particular server URL
I made a bat file called 'rjmcorsproxy' as follows: