Fetch your Reddit posts,comments to a file using Go 1

Fetch  your Reddit posts,comments to a file using Go
I have posted lots of content on Reddit and I would like to make a copy of of these locally, just to have a local record and make it easier to search my posts. There’s a couple of ways to do this, one method is simply Ask Reddit [email protected]., they provide an official Data Request ...

Best video summary of how ChatGPT / LLM work

Best video summary of how ChatGPT / LLM work
If you search the web you’ll find lots of summaries about how ChatGPT and in general , however there’s an excellent Youtube video from ByteByte Go Channel linked below that does an excellent easy to understand light technical overview of how ChatGPT (and most other Large Language Models) work.

simple script to watch for file changes on Linux

simple script to watch for file changes on Linux
Its a pretty common exercise in Linux/Unix shell programming to monitor a particular folder for file changes, typically the addiiton or change of a file. There’s a variety fo ways to do it , the more common approach is to use. In Linux, we can use the inotify interface to monitor a directory or a file. We do this ...

Best modern 2024 HTML (free) website templates and designs 6

Best modern 2024 HTML (free) website templates and designs
Designing a modern (responsive) HTML web page is not a trivial task, not only do you need to have a good sense of design and an artistic flare, but there’s a wide assortment of technical items (fonts, css styling, javascript components, etc.) that need to be implemented to meet your or your clients demand for ...

How to Rsync between two folders automatically on file changes 2

How to Rsync between two folders automatically on file changes
A common usage of rsync is to copy files from one location to another, rsync is the successor of scp command . However, there are some advantages that rsync has over scp: Incremental transfer: rsync can transfer only the differences between two files, which makes it faster and more efficient than scp. This is particularly ...

Linux , 3 ways to keep long running processes in background

Linux , 3 ways to keep long running processes in background
  In Linux, there are several ways to keep a long running process running in the background. Here are a few common methods: Using & to run the command in the background: You can run a command in the background by appending an ampersand (&) to the end of the command. For example, to run a process called myprogram in ...

Create ssh-copy-id script for Windows

Create ssh-copy-id script for Windows
Those of us who use linux with keyless logins and ssh , usually find the utility ssh-copy-id as a convenient way to copy the ssh ke into the authorized keys files of the destination server. This works great on Linux systems, but windows (and also Mac) don’t have a native version fo ssh-copy-id, of course ...

Fix mount error(95): solved! Operation not supported SMB 35

Fix mount error(95): solved! Operation not supported SMB
Mounts SMB/CIFS shares with Linux It’s common practice to mount Windows file shares on Linux  using the SMB (Samba) implementation on Linux.  the command is fairly straight forward. # Install the required libraries if you haven't done that yet sudo apt update sudo apt install cifs-utils #Next mount the folder you want sudo mount -t ...

Simple PHP math logic captcha – to help prevent form spam 10

Simple PHP math logic captcha - to help prevent form spam
Why a simple PHP Math Captcha ? If you’re reading this you’re probably aware there are a ton of on-line captcha services like Re-Captcha, hCaptcha ,to help keep your forms and user submitted input free of bot spam,  and other nonsense.  But most require registration with capthca service, setting up API keys etc, so it’s ...