Skip to content

Instantly share code, notes, and snippets.

View charlesbedrosian's full-sized avatar

Charles Bedrosian charlesbedrosian

  • Chicago, IL USA
View GitHub Profile
@charlesbedrosian
charlesbedrosian / RestoreFromAzure.bat
Created November 15, 2019 07:16
Copying data-tier applications between environments
@echo off
REM ***************************************************************************
REM To use:
REM provide your source and destination server configuration parameters.
REM It will append a date to the restored database catalog because the database
REM should not exist when restoring.
REM
REM This is very useful for pulling a copy of an Azure-hosted SQL Server database
REM to your local instance for development purposes.
REM
@charlesbedrosian
charlesbedrosian / prepjava.py
Last active May 17, 2023 00:57
Merge java source to single file
#!/usr/bin/python3
#
# can simply execute `python3 prepjava.py` from the root of your project, if given the following folder structure:
# /project
# discussion.txt
# header.txt
# output.txt
# src/*.java
#