gem install tmuxinator
# File: ~/.tmuxinator/project-name.yml
name: project-name
| package org.springframework.web.servlet.support; | |
| import java.io.IOException; | |
| import javax.servlet.FilterChain; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; | |
| import org.springframework.web.filter.OncePerRequestFilter; |
| import( | |
| "runtime" | |
| "log" | |
| ) | |
| func openbrowser(url string) { | |
| var err error | |
| switch runtime.GOOS { | |
| case "linux": | |
| err = exec.Command("xdg-open", url).Start() |
| import UIKit | |
| import Firebase | |
| import UserNotifications | |
| @UIApplicationMain | |
| class AppDelegate: UIResponder, UIApplicationDelegate { | |
| var window: UIWindow? | |
| static var shared: AppDelegate { return UIApplication.shared.delegate as! AppDelegate } |
| // Place user-specific overrides in this file, to ensure they're preserved | |
| // when upgrading | |
| { | |
| "folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "node_modules"] | |
| } |
If you were learning graph algorithms, which approach would you prefer:
Imagine you have to take public transit from your home to your office. How do you figure out the fastest route? Use graph algorithms! OR
We can choose between two standard ways to represent a graph G = (V, E): as a collection of adjacency lists or as an adjacency matrix. Either way applies to both directed and undirected graphs.
I prefer the first way: lead with lots of examples, and clear writing. The second way is an excerpt from "Introduction to Algorithms"...that's how they start their section on graph algorithms.
| -- | |
| -- PostgreSQL database dump | |
| -- | |
| SET statement_timeout = 0; | |
| SET lock_timeout = 0; | |
| SET client_encoding = 'UTF8'; | |
| SET standard_conforming_strings = on; | |
| SET check_function_bodies = false; | |
| SET client_min_messages = warning; |
| // | |
| // UIColor+HexString.h | |
| // Class to convert hex string to UIColor | |
| // Support #RGB # ARGB #RRGGBB #AARRGGBB | |
| // Usage: [UIColor colorWithHexString:@"#f5e6a1"]; | |
| // Created by Zhu Yuzhou on 1/20/13. | |
| // | |
| #import <UIKit/UIKit.h> |
| var gulp = require('gulp'), | |
| sass = require('gulp-sass'), | |
| browserify = require('gulp-browserify'), | |
| concat = require('gulp-concat'), | |
| embedlr = require('gulp-embedlr'), | |
| refresh = require('gulp-livereload'), | |
| lrserver = require('tiny-lr')(), | |
| express = require('express'), | |
| livereload = require('connect-livereload') | |
| livereloadport = 35729, |
| var http = require("http"), | |
| url = require("url"), | |
| path = require("path"), | |
| dir = require('node-dir'), | |
| swig = require('swig'), | |
| fs = require("fs"), | |
| SERVER = "server", | |
| BUILD = "build", |