Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@agrakhov
agrakhov / gitflow-breakdown.md
Last active April 14, 2017 21:58 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.
@agrakhov
agrakhov / API.swift
Created April 28, 2016 23:12 — forked from higepon/API.swift
An example of JSON API call in 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>

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
# 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