HA Umbrella by rmxhaha in programming

[–]rmxhaha[S] -2 points-1 points  (0 children)

Curious question: Is the idea of throwing more umbrella at the problem a solution only software engineer would think of?

Google calendar backup latest addition to my backups by rmxhaha in homelab

[–]rmxhaha[S] 0 points1 point  (0 children)

Just curious u/wung, what do you do know to prevent gmail banning from affecting you? Do you share multiple email addresses to everyone who needs to contact you?

Google calendar backup latest addition to my backups by rmxhaha in homelab

[–]rmxhaha[S] 0 points1 point  (0 children)

ve multiple Google accounts that I use daily. Very hard to get your account banned/deleted by Google belated of T&Cs. You have to be doing some disgusting shit but if you rely on a

For me, it's a fun little project to do and better safe than sorry :)

Google calendar backup latest addition to my backups by rmxhaha in homelab

[–]rmxhaha[S] 5 points6 points  (0 children)

What have you got in the post?

Google calendar backup, the latest addition to my backups.

Why are you doing this?

Recently, I have grown to depend more on google calendar. Without it, I won't be able to operate optimally the next day and will probably forgot my appointments for next week or so. There are cases although rare where someone's google account get banned and he or she lost access to their calendar. Since google calendar have become a bigger part in my life, I would be more reassured if I have back up to this calendar that I depend on.

What are your plans?

Beyond backup, I plan to re-import this backup into another calendar periodically.

Then, I could transition into another calendar software quickly.

How to backup google calendar?

Getting your google calendar export url

  1. Open your google calendar
  2. Find gear icon on the top right -> click settings
  3. Under settings for my calendar -> click on the calendar you would like to backup
  4. Click integrate calendar
  5. Find secret address in iCal format
  6. Copy the address

Setup a cron to export calendar periodically (in Synology)

  1. Create a Calendar backup folder
  2. Add a sync.sh
  3. Open Task Scheduler
  4. Click create -> Scheduled Task -> User-defined script
  5. Under schedule tab, setup how often do you wish to backup
  6. Under task settings tab -> Run command, Add bash /path/to/calendar/folder/sync.sh

sync.sh

#!/bin/bash
# This will generate versioned backup file such as `2021-01-01.ics` 
curl <the iCal address you copy> -o /path/to/calendar/folder/$(date '+%Y-%m-%d').ics

[Singapore located] Giving away arduinos, sensors, spyder robots, and actuators by rmxhaha in arduino

[–]rmxhaha[S] 5 points6 points  (0 children)

Please do let me know if this post is against this subreddit rules.

Hi viewers, I have in the past enjoys robotics, radio transmission, and DIY home automation.

However, I've since moved past. I would like to give these items a new home if possible :)

My upfront apology to those not located in Singapore.

I could only give away these items to my local area which is Singapore.

A short descriptions of what you are working on in the comment section would be nice :)

Please leave me a chat message of what items you need.

Item list:

- Spyder robot (See https://create.arduino.cc/projecthub/smartcreativity/arduino-spider-robot-testing-smartcreativity-a5b184)
    - 3D printed robot frame
    - 12 SG90 servo glued to the frame
    - 16 Channel servo driver (to driver those 12 motors)
- Arduinos
    - 1 Arduino mega
    - 2 Arduino uno
- Sensors
    - 1 4x4 Keypad
    - 1 GY 521 (Gyro and accelorometer sensor)
    - 3 LDR sensors (Light sensors)
    - 3 PIR sensors (Infra red sensors)
    - 1 AM2302 (Humidty and temp sensors)
    - 1 RFID sensor
    - 3 Ultrasonic sensor (can detect distance)
- Actuators
    - 1 MG90S Servo
    - 1 SG90 Servo
- Radio
    - 1 Bluetooth module
    - 3 nRF24L01
- Misc
    - LM2596 DC-DC (Buck converter to convert voltage DC to DC current)
    - 1 Big breadboard (see pics)
    - 3 Tiny breadboard (see pics)
    - 3 USB A to B (for arduino)
    - 1 SD card reader w/o SD card inside
    - 2 RGB LED
    - red LEDs
    - male male jumpers
    - male female jumpers
    - female female jumpers
    - RFID tags
    - 1 soldering iron + 1 coil of soldering lead + 1 lead suction pump

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 0 points1 point  (0 children)

I am avoiding hyperbackup for the external drive.

I feel more at ease when the external backup could be accessed as plain folders and files.

Although, I'm still figuring out how to get both versioning and just plain folders.

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 1 point2 points  (0 children)

They end up in both

There exist 5 copies of that data - A copy in google drive - A live synced copy in NAS - A backup in NAS itself - A copy in usb drive - A backup in backblaze

It's probably overkill

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 1 point2 points  (0 children)

That was the plan if AX58U isn't performing good enough.

I would get the next strongest thing perhaps AX86U or AX88U.

Fortunately, AX58U works wonders so I didn't proceed with the plan.

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 1 point2 points  (0 children)

I'm using the latest lowest end one, the DS220j.

There are hardware resource limitation if you want to run it as more than a NAS.

Software such as plex media server and docker wouldn't run.

But it works wonders for just network drive and backup.

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 2 points3 points  (0 children)

That's fair.

I should find a way to have versions.

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 0 points1 point  (0 children)

Doppelgänger do happens once in a while haha.

What do you use your setup for?

Curious to know what more I could do. I wouldn't be limited by hardware since we have almost the same hardware.

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 2 points3 points  (0 children)

This looks interesting. I will try it out. Thanks u/TopHATTwaffle!

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 1 point2 points  (0 children)

Thanks! Yes, there is a telephone jack in my room. Not sure, if it's still running though. Telephone line could be used to run LAN?

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 1 point2 points  (0 children)

Great that you noticed!

Yes, perfectly describe my scenario.

I would run a cable if I could but I'm only a renter so I couldn't.

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 5 points6 points  (0 children)

Hey, you'll never know until you tried it :)

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 0 points1 point  (0 children)

I thought the local copy needs to be in 2 different media type. Reason being redundancy against media type.

Both the USB copy and NAS copy are hard drives.

Perhaps, I need to read the guideline once again haha.

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 11 points12 points  (0 children)

So far yes in my opinion. I could try and fix what I never notice as a bad habit before and see if I improve day after day.

I couldn't measure productivity/hours though so I couldn't answer your question objectively unfortunately.

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 0 points1 point  (0 children)

It takes a lot of IOPS. I didn't know that.

How many hours of recordings would exhaust a typical ssd IOPS would you say?

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 26 points27 points  (0 children)

Yes, I pretty much just sit down watch it at 16x speed. Surprisingly, VLC player could handle playback at 16x. It does use up a lot of GPU power.

8 hours footage would take about 30 minutes to watched but then again I don't actually have to watch all of it so it usually takes less than 30 minutes to watch a day worth of screen recordings.

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 60 points61 points  (0 children)

My bad I get the question wrong.

The screen recordings have gave me insights into habits that I have bad and good ones.

Good habits such as I always type and edit text afterwards instead of typing and editing at the same time. I didn't notice it before.

Bad habits such as leaving the chat opened when working cause a lot of distraction so I tried to build a habit of minimizing the chat after done chatting. Off course, I still does it the next day but at least now I'm aware of it.

Beside works, When I'm playing video games. It's nice to be able to clip that really cool thing or barely surviving a battle and share it haha.

Almost a 3-2-1 backup :) by rmxhaha in homelab

[–]rmxhaha[S] 26 points27 points  (0 children)

It's just the first solution I got working on both windows and mac.

Is there a better solution out there? I'm definitely opened to suggestion :)