brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| ;; Copyright (c) Alan Dipert. All rights reserved. | |
| ;; The use and distribution terms for this software are covered by the | |
| ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) | |
| ;; By using this software in any fashion, you are agreeing to be bound by | |
| ;; the terms of this license. | |
| ;; You must not remove this notice, or any other, from this software. | |
| (ns alandipert.kahn | |
| (:require [clojure.set :refer [difference union intersection]])) |
| # App configuration for static site with auth. | |
| # | |
| # Originally from: https://gist.github.com/873098 | |
| application: you-app-name-here | |
| version: 1 | |
| runtime: python | |
| api_version: 1 | |
| default_expiration: "30d" |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| (in-package :cl-user) | |
| (eval-when (:compile-toplevel :load-toplevel :execute) | |
| (ql:quickload :alexandria) | |
| (ql:quickload :fiveam)) | |
| (defpackage :sort | |
| (:use :cl) | |
| (:import-from :alexandria :iota) | |
| (:export :bubble-sort/naive :bubble-sort/not-enough :bubble-sort/knuth |
A DMG Installer is convenient way to provide end-users a simple way to install an application bundle. They are basically a folder with a shortcut to the Applications directory but they can be customized with icons, backgrounds, and layout properties. A DMG file (.dmg) is a Mac OS X Disk Image file and it is used to package files or folders providing compression, encryption, and read-only to the package.
##Creating the DMG file #Disk Utility
| #!/usr/bin/env python | |
| import sqlite3 | |
| class dbopen(object): | |
| """ | |
| Simple CM for sqlite3 databases. Commits everything at exit. | |
| """ | |
| def __init__(self, path): | |
| self.path = path |
| from sys import argv | |
| import re | |
| # open the file and get read to read data | |
| file = open(argv[1], "r"); | |
| p = re.compile("\d+"); | |
| # initialize the graph | |
| vertices, edges = map(int, p.findall(file.readline())) | |
| graph = [[0]*vertices for _ in range(vertices)] |
| You can create a new empty branch like this: | |
| $ git checkout --orphan NEWBRANCH | |
| --orphan creates a new branch, but it starts without any commit. After running the above command you are on a new branch "NEWBRANCH", and the first commit you create from this state will start a new history without any ancestry. | |
| The --orphan command keeps the index and the working tree files intact in order to make it convenient for creating a new history whose trees resemble the ones from the original branch. | |
| Since you want to create a new empty branch that has nothing to do with the original branch, you can delete all files in the new working directory: |