Go to advanced search

by LewisCowles1986
Sat May 26, 2018 5:45 pm
Forum: Gaming
Topic: Using Sony Buzz! controllers with Raspberry Pi
Replies: 10
Views: 9944

Re: Using Sony Buzz! controllers with Raspberry Pi

https://gist.github.com/Lewiscowles1986/eef220dac6f0549e4702393a7b9351f6 Gives HID read and write codes for a number of operations. Nothing is greater than 8 bytes (64-bit unsigned int), with 6-byte read, so whatever people need, it should be trivial to parse out button presses, and send in the limi...
by LewisCowles1986
Fri Jan 19, 2018 4:22 pm
Forum: Networking and servers
Topic: Access point on Raspberry Zero W
Replies: 18
Views: 28644

Re: Access point on Raspberry Zero W

I have a script for setting up access point on Raspberry Pi 3, I'm going to endeavour to make it work with the pi-Zero W as well because I now have one. https://gist.github.com/Lewiscowles1986/fecd4de0b45b2029c390 There is also an interface passthrough script (potentially to be combined with USB-gad...
by LewisCowles1986
Mon Aug 21, 2017 5:37 pm
Forum: General discussion
Topic: Raspbian Stretch (9.1) has arrived !!
Replies: 129
Views: 36040

Re: Raspbian Stretch (9.1) has arrived !!

If anyone does have issues with old scripts that use `/etc/network/interfaces` try overwriting `/usr/lib/dhcpcd5/dhcpcd` with this https://gist.github.com/Lewiscowles1986/390d4d423a08c4663c0ada0adfe04cdb it uses the grep that turns off setting up all interfaces if you define any in `/etc/network/int...
by LewisCowles1986
Sat Mar 19, 2016 12:52 am
Forum: Other programming languages
Topic: Installing newer version of NodeJS on Pi 3
Replies: 54
Views: 89321

Re: Installing newer version of NodeJS on Pi 3

The reason to apt-get remove is because you may have a version installed via package manager. Otherwise I'd suggest reading the documentation on node version manager (nvm) as it might be you did not run the command exactly as it was typed. In any case you should be up and running soon ;)
by LewisCowles1986
Sat Mar 19, 2016 12:47 am
Forum: Other programming languages
Topic: Installing newer version of NodeJS on Pi 3
Replies: 54
Views: 89321

Re: Installing newer version of NodeJS on Pi 3

ericp wrote:Thank you, but I still get "v0.10.29" when I run "node -v".
Am I missing something?
try running

Code: Select all

apt-get remove --purge node* npm*
by LewisCowles1986
Fri Mar 18, 2016 9:28 pm
Forum: Other programming languages
Topic: Installing newer version of NodeJS on Pi 3
Replies: 54
Views: 89321

Re: Installing newer version of NodeJS on Pi 3

Code: Select all

git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout v5.9.0
Then whenever you want to use node run

Code: Select all

source ~/.nvm/nvm.sh
or add that line to your `.bashrc` or `.profile`

Go to advanced search