Skip to content

Instantly share code, notes, and snippets.

@jrdmb
jrdmb / SHA-256 VBScript.vbs
Last active April 20, 2023 06:46
VBScript code for SHA-256 hash
'also see: https://gist.github.com/anonymous/573a875dac68a4af560d
Option Explicit
Dim intValid
Dim objMD5, objSHA256
Dim strAlgorithm, strHash, strString
intValid = 0
@nixjobin
nixjobin / bitbucket-backup-all-repos.sh
Last active February 15, 2023 16:33
bitbucket-backup-all-repos.sh
#!/bin/bash
#Author Jobin Joseph
#Blog : nixhive.com
#Bio : JobinJoseph.com
#Bitbucket credentials
bbuser='Username_here'
bbpass='password_here'
fname=`date +%F_%H_%M`
@ambakshi
ambakshi / route53-asg-rrdns.sh
Last active July 25, 2021 05:39
Add all instances in an autoscaling group to an equivalently named dns entry.
#!/bin/bash
#
# Get all IPs from an autoscale group and update set the local ip as
# equal weight A entries (round robin dns). Takes autoscale group as
# parameter.
#
# Amit Bakshi
# 10/21/2014
#
@AlainODea
AlainODea / teamcity
Created April 16, 2014 18:17
sysv init.d script for TeamCity (tested on Ubuntu)
#!/bin/bash
#
# chkconfig: 235 10 90
# description: TeamCity startup script
#
TEAMCITY_USER=teamcity
TEAMCITY_DIR=/home/teamcity/TeamCity/
TEAMCITY_SERVER=bin/teamcity-server.sh