Skip to main content ramblings of a lost one

Posts on Tech

  1. Emacs lisp & yasnippet

    On my home machines as detailed in this post i keep a journal and used some fu to determine which machine the journal entry was written on. I also keep a daily log for work normally this consists of start time, mileage to be claimed so the snippet template resembles

    text code snippet start

  2. My website security

    This site already uses HTTPS and SSL but whilst wandering aimlessly through some tech sites i stumbled upon reference to Mozilla’s Observatory which states;

    The Mozilla Observatory has helped over 170,000 websites by teaching developers, system administrators, and security professionals how to configure their sites safely and securely.

    Essentially it scans your site for security issues and gives you a report, hey i thought lets try it so i did and i got an F :open_mouth: :disappointed: :shit:

  3. PIR controlled pi display

    Dragelec did at one time update via socketio to a flask based website showing temperatures, electricity usage and local weather but rather than leaving the display on all the time i added a PIR to turn it on/off whenever a presence was detected, the following is the complete code;

    python code snippet start

  4. communication failure

    I recently set up an old first revision RPi in the garage with a DS18B20 sensor wired, set to monitor external ground temperature and broadcast via MQTT it was also intended to perform some other functions such as garage door monitor & perhaps i’d add a PIR for alerts etc

    Originally it was connected via cable to an old router running DD-WRT as a repeater and as such i could always ping it or ssh into it.