Skip to content

Orange Kao

  • Home
  • Blog
  • Contact

Tag: ruby

Posted on 2019-01-052019-08-08

Upload file larger than 5GB to Amazon S3 with Ruby

Several days ago I noticed one of my backup to Amazon S3 was failed because the file is larger than 5GB and I didn’t use multipart upload. Code snippet as below. Works on AWS SDK for Ruby v3.

Continue reading “Upload file larger than 5GB to Amazon S3 with Ruby”
Posted on 2018-07-312019-08-08

VLAN config generation with Ruby for Cisco Catalyst 3750

VLAN configuration is very different between HP and Cisco switches. HP is VLAN centred and Cisco is based on physical port. While managing Cisco switches, using a script to generate the config may ease the task. This post proposes a simple script to generate the config.

Continue reading “VLAN config generation with Ruby for Cisco Catalyst 3750”

Privacy notice

This website use cookies, Google Analytics and reCaptcha.

Categories

  • FreeBSD
  • Linux
  • Networking
  • NFC
  • Uncategorized

Tags

  • australia (4)
  • aws (5)
  • btrfs (1)
  • cisco aironet (2)
  • cisco asa (1)
  • cisco catalyst (1)
  • edgerouter (1)
  • ethernet switch (2)
  • freebsd (4)
  • guardian vaults (1)
  • hp procurve (1)
  • ipsec (2)
  • lambda (1)
  • linux (3)
  • macquarie university (1)
  • mediawiki (1)
  • mifare classic (1)
  • nfc (1)
  • product review (2)
  • python (3)
  • route53 (1)
  • ruby (2)
  • safe deposit box (1)
  • technical (20)
  • thinkpad x280 (4)
  • ubuntu (1)
  • ubuntu 18.04 bionic (4)
  • ze620kl (2)
  • zenfone 5 (2)

Archives

  • December 2022
  • October 2022
  • April 2021
  • January 2020
  • January 2019
  • December 2018
  • July 2018
Proudly powered by WordPress