Skip to content

Instantly share code, notes, and snippets.

@agrakhov
agrakhov / gitflow-breakdown.md
Last active Apr 14, 2017 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.
View gitflow-breakdown.md
@agrakhov
agrakhov / API.swift
Created Apr 28, 2016 — forked from higepon/API.swift
An example of JSON API call in Swift
View API.swift
//
// API.swift
//
// Created by Taro Minowa on 6/10/14.
// Copyright (c) 2014 Higepon Taro Minowa. All rights reserved.
//
import Foundation
typealias JSONDictionary = Dictionary<String, AnyObject>
View Commando.md

GIT

  • Revert commit (not pushed):
git commit -m "Something terribly misguided"
git reset HEAD~
<< edit files as necessary >>
git add .
git commit -c ORIG_HEAD
View keycloak.yml
# https://hub.docker.com/r/jboss/keycloak/
# https://hub.docker.com/r/dpage/pgadmin4/
# https://hub.docker.com/_/postgres/
# https://docs.docker.com/compose/environment-variables/
# https://gist.github.com/jmkgreen/b79f95c3eca2eac3fb66c66d12017f07
version: '3'
services:
pgadmin:
image: dpage/pgadmin4:latest