Skip to content

Instantly share code, notes, and snippets.

Quick Start

sudo curl https://gist.githubusercontent.com/pankaj28843/3ad78df6290b5ba931c1/raw/soffice.sh > /usr/local/bin/soffice && sudo chmod +x /usr/local/bin/soffice

Create an bash script at /usr/local/bin/soffice with following content

#!/bin/bash

# Need to do this because symlink won't work
@rastandy
rastandy / building-sync-systems.md
Created February 13, 2024 15:55 — forked from pesterhazy/building-sync-systems.md
Building an offline realtime sync engine

So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.

Overview articles

@rastandy
rastandy / aws-rds-global-bundler-extractor.sh
Last active July 11, 2024 11:08 — forked from alencar/aws-rds-global-bundler-extractor.sh
Extract AWS RDS Global Bundle certificates into a PKCS#12 keystore compatible with Java
#!/bin/bash
# Based on https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html
#
# Improvements
# - Removed Perl dependency
mydir=tmp/certs
if [ ! -e "${mydir}" ]
then