Skip to content

Instantly share code, notes, and snippets.

Zafar Siddiqi zsiddiqi

  • Canada
Block or report user

Report or block zsiddiqi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View KotlinAuthenticationServiceApplication.kt
// org.springframework.boot:spring-boot-starter-data-jpa
// com.h2database:h2
// redefine: spring-security.version == 4.1.0.RELEASE
package com.example
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.CommandLineRunner
import org.springframework.boot.SpringApplication
zsiddiqi /
Created Dec 10, 2017 — forked from joshlong/
An OAuth authorization service built using Java
// org.springframework.boot:spring-boot-starter-data-jpa
// com.h2database:h2
// redefine: spring-security.version == 4.1.0.RELEASE
package com.example;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
zsiddiqi /
Created Dec 6, 2017 — forked from stefanfoulis/
How to resize Docker for Mac Disk image and set the default size for new images

Set the default size for new Docker for Mac disk images

If you are getting the error: No space left on device

Configuring the qcow2 size cap is possible in the current versions:

# my disk is currently 64GiB
$ /Applications/ info ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2
image: /Users/djs/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2
set -x
DATE=`date +%Y%m%d_%H%M%S`
mkdir ${OUTPUT_DIR}
set -x
zsiddiqi / FHIR-LearningResources.txt
Last active Apr 28, 2017
FHIR Learning resources
View FHIR-LearningResources.txt (officially released version of FHIR) (RESTful API) (The public FHIR server UHN/HAPI Server) (Generates samples for a FHIR server) (This is the homepage for the HAPI-FHIR library, James Agnew) (HAPI FHIR - Java API for HL7 FHIR Clients and Servers) (FHIR Foundation)
zsiddiqi /
Created Dec 25, 2016
General notes while installing a new Mac

Installing Mac

What and Why

This is a step by step guide which was written by me for myself mostly, with the intent to use and update it whenever I install a new mac.

Note: Those instructions were last applied on a fresh Mountain Lion MacBook Pro.

macOS 10.12 Sierra Setup

Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your o

zsiddiqi /
Created Dec 20, 2016 — forked from brandonb927/
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see
# Alot of these configs have been taken from the various places
# on the web, most from here
zsiddiqi / oracle2mysql.sed
Created Jul 13, 2016 — forked from jabley/oracle2mysql.sed
Help convert Oracle DDL to MySQL
View oracle2mysql.sed
You can’t perform that action at this time.