Giter VIP home page Giter VIP logo

cchs_raspian_for_iot's Introduction

G'Day πŸ‘‹

I'm Alec, an Australian/British developer advocate, who's been in IT a long time

  • πŸ˜„ Pronouns: He/Him/Grumpy
  • ⌨️ Preferred Progamming Language: Go and Python, but I use several others
  • πŸ”­ I like presenting tutorials, for example a talk about using Git from PowerShell
  • 🌏 Located in Melbourne Australia
  • πŸ’» First Computer Program written on ICL 2904 mainframe in 1978 using MAXIMOP BASIC. No "Hello World" for me, it printed the multiplication tabels from 2 to 12, but I only knew about IF and GOTO flow control statements.

My last five blog posts

Title Description Date
Use GitHub Actions to update your profile page Update your GitHub profile README with content from an RSS feed the hard way 07 Oct 2023
Commit new content in a GitLab CI/CD pipeline the easy way It’s not obvious how to commit new content back to your GitLab project repo. Try this pattern 21 Mar 2023
2FA and Managing "Security" Questions How to manage 2FA and so called website β€œsecurity” questions 19 Feb 2023
A Short Talk About Personal Internet Security A recent community talk I gave about the basics of personal Internet safety 17 Feb 2023
Protect-Your-Passwords-the-Right-Way Use a password manager to help you stay safe on the internet 01 Feb 2023

LinkedIn Profile

cchs_raspian_for_iot's People

Contributors

alecthegeek avatar nixward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

puzzleduck

cchs_raspian_for_iot's Issues

Test for Pi 2

The Pi 2 has some difference in the config settings.

Mods needed for LCA bot

These were the mods I noted as I was building out a clean install for the LCA SimpleBot:

In

https://github.com/alecthegeek/CCHS_Raspian_for_IoT/blob/master/runme2nd#L229-L233

You're doing a global install of johnny-five etc. This has some known issues in terms of version management in moving node modules and it also makes it much harder to run the examples (as they aren't in a project folder). You get a warning about this in the script output:

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.33"

I'd remove these as they can all be installed in user space very easily. If you keep them then

https://github.com/alecthegeek/CCHS_Raspian_for_IoT/blob/master/runme2nd#L233

Needs to go to raspi-io which is the package.

Once we deploy the LCA SB code it will be as simple as a git clone && node install so that should be cool for that side and pull in all the other package deps anyway.

Some other things I installed:

  • pip (python package manager) apt-get python-pip && pip install -U pip
  • virtualenv (python sandboxed environments) pip install virtualenv virtualenvwrapper

Script overwrites working WiFi settings with not working ones, despite them being the same

Hi there,

I configured my RaspberryPi with 2013-07-26-wheezy-raspbian.img onto a new SD card (freshly wiped)

In order to find the update script I used a Wi-Fi connection setup with WPA2/PSK for my home connection, using the WiFi config on the desktop of the fresh install.

I ran the first script with no issues, the second script asked my to input the wifi details, and I entered the exact same details again. the wifi would not connect after that, and could not be reset using the WiFi config on the desktop, it failed with message (Could not get status from wpa_supplicant). I had to use a wired connection to get the pi back on the network, a few restarts and ran the WiFi Config again, same settings overwritten and it's back working again

Mark

Support taking hostname from text file on /boot

For LCA, Nodebot days etc it's useful to provide students with a standard image with all the tools etc
required for session.

Proposed solution

On boot look for a file on /boot that contains a hostname
to be used.
If the file is not present do nothing.

NB File may be extended in future for other values

of interest to @ajfisher @projectgus and @geekscape

Setup script for AVR not correcy

@geekscape said:

echo '# Setup for AVR compiler ' |sudo tee /etc/profile.d/avr.sh
echo 'PATH=$PATH:$AVR_PREFIX/avr/bin' |sudo tee -a /etc/profile.d/avr.sh

I believe that this writes $AVR_PREFIX literally in the file /etc/profile.d/avr.sh

Problem is that next time you login, the environment variable $AVR_PREFIX isn't set.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.