Coder Social home page Coder Social logo

linux-comfy-chair's Introduction

Hi there ๐Ÿ‘‹

Who am I?

Grant Ramsay, also known as 'Seapagan'. Coder, Dev-ops, Full-Stack developer and unashamed Trekkie.

I have been programming in one form or other since I was 10 (ZX81 BASIC FTW), which is over 40 years of wrist strain and no dates.

For 27 years of this time I also had an amazing life and career in the offshore Oil and Gas Industry working on (and then running) Seismic Survey Ships, traveling almost the whole world and finding new and unique local customs to be arrested for breaking, usually while imbibing new and unique local alcohol. I was a Doodlebugger, it's a lifestyle not a job.

Those days are way past now and I have returned to coding as a way of life. I am fascinated with new technologies and continuously want to learn more and more.

My current languages of choice are Python, HTML/CSS etc, React, Vanilla Javascript and Ruby (though I spend less time using the latter these days sadly).

I'm also trying to improve my Frontend skills using the Frontend Mentor challenges. These will be stored in a GitHub Organization I created specifically for this purpose, to keep the noise down in my main account. Find them here.

Visit my Portfolio page for more.

Anurag's github stats

I also have more public repositories on my @gnramsay account

linux-comfy-chair's People

Contributors

gnramsay avatar seapagan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

linux-comfy-chair's Issues

nginx install fails under Raspian 'bookworm'

Describe the bug

Nginx 'extras' package (nginx-extras) fails to install when selected.

To Reproduce
Install the latest Raspian OS to a PI and run the script.

Expected behaviour
Install with no errors

Screenshots

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nginx-extras : Depends: libnginx-mod-http-auth-pam (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-http-cache-purge (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-http-dav-ext (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-http-echo (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-http-fancyindex (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-http-geoip2 (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-http-headers-more-filter (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-http-lua (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-http-subs-filter (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-http-uploadprogress (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-http-upstream-fair (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-nchan (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
                Depends: libnginx-mod-stream-geoip2 (= 1.24.0-1+0~20230615.28+debian12~1.gbpd7c5fc)
E: Unable to correct problems, you have held broken packages.

There is also an issue with php8.1 :

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php8.1-xmlrpc:armhf : Depends: php8.1-common:armhf but it is not installable
                       Depends: phpapi-20210902:armhf
E: Unable to correct problems, you have held broken packages.

Both packages are from the sury.net compilations.

Desktop (please complete the following information):

  • Device: Raspberry PI 5
  • OS: Raspbian Bookworm 64bit

Ran in headless mode over SSH. This is the cut-down version, so needs re-testing with the full desktop install

Script fails after Ruby install

Describe the bug
Script fails after running the ruby install script

To Reproduce
Run the script as normal, will work up until after Ruby install then fail

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Error log :

Successfully installed tzinfo-2.0.0
Gems updated: bigdecimal csv date did_you_mean etc fileutils io-console ipaddr json minitest net-telnet power_assert psych rake rdoc stringio test-unit tzinfo
./comfy-chair.sh: line 22: modules/node.sh: No such file or directory
./comfy-chair.sh: line 23: modules/python.sh: No such file or directory
./comfy-chair.sh: line 24: modules/perl.sh: No such file or directory
./comfy-chair.sh: line 25: modules/qemu-kvm.sh: No such file or directory
./comfy-chair.sh: line 26: modules/sublime.sh: No such file or directory
./comfy-chair.sh: line 27: modules/cleanup.sh: No such file or directory

Desktop (please complete the following information):
running on Ubuntu 18.10

Additional context
Add any other context about the problem here.

Detect if running under WSL (Windows Subsytem to Linux)

I'd like to add logic to test if we are running under WSL, then we can install the ubuntu-wsl package and perhaps make other choices (i.e. refuse to install any Docker stuff and point to Docker Desktop instead. I'm sure there are other tweaks that can be made too.

For my notes :

read var </proc/sys/kernel/osrelease

Then check the var for microsoft or WSL

The latest value from this is 5.4.72-microsoft-standard-WSL2

Rbenv, Pyenv etc only work for Bash shell

Describe the bug

Rbenv, Pyenv etc. only work for Bash shell - Zsh and others use a different config that needs to be edited.

It should be easy enough to detect the shell and then choose the correct config file from that. From memory, Pyenv and other systems setup commands work the same for every shell.

Doesn't work well on an actual Debian installation.

Describe the bug

Doesn't work well on an actual Debian installation d/t hardcoding of 'Ubuntu' in some scripts. Also, using PPA's is an Ubuntu thing.

To Reproduce
Run the script on a base Debian installation.

Expected behaviour
The script should work with minimal/no errors.

Ruby install fails on Ubuntu 22.04

Ruby < 3.1 install fails on Ubuntu 22.04

OpenSSL version in Ubuntu 22.04 is incompatible with any ruby below version 3

To Reproduce

Run the script, fails at Ruby install

There is a workaround here which I will integrate into the script in time

Thoughts :

  • check the version of OpenSSL on running the script to see if the workaround is required
  • install if so, and then only apply to the Ruby versions that need it

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.