Skip to content

Instantly share code, notes, and snippets.

View vip20's full-sized avatar

Vinay vip20

View GitHub Profile
@vip20
vip20 / flutter_github_ci.yml
Created August 1, 2020 09:52 — forked from rodydavis/flutter_github_ci.yml
Flutter Github Actions Build and Deploy Web to Firebase Hosting, iOS to Testflight, Android to Google Play (fastlane)
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_web:
#!/bin/bash
function initStaticParams
{
MONGODB_SERVER=127.0.0.1
MONOGDB_PORT=27017
MONGODB_USER=
MONGODB_PWD=
OUTPUT_DIRECTORY=/mnt/backups/oplogs
LOG_FILE="/appl/mongo-backup/logs/backup.log"
#!/bin/bash
# OPLOG_LIMIT: only include oplog entries before the provided Timestamp
# The timestamp is a unix timestamp
# If your desaster happened for example on 2017-18-10 12:20 and you want to restore until 12:19
# your timestamp is 'date -d "2017-10-18 12:19:00" +%s'
FULL_DUMP_DIRECTORY=$1
OPLOGS_DIRECTORY=$2
OPLOG_LIMIT=$3
@vip20
vip20 / .env
Last active March 3, 2024 07:55
Docker compose for Media server using Jellyfin, Sonarr, Radarr, Prowlarr/Jackett, Deluge, Flaresolver and ProtonVPN connection
#Proton vpn credentials free tier
OPENVPN_USER=
OPENVPN_PASSWORD=
SERVER_COUNTRIES=Netherlands,United States,Japan
FREE_ONLY=on
#linux accessid
PUID=1000
PGID=1000
#timezone
TZ=Asia/Kolkata