create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| #!/bin/bash | |
| # bash generate random alphanumeric string | |
| # | |
| # bash generate random 32 character alphanumeric string (upper and lowercase) and | |
| NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
| # bash generate random 32 character alphanumeric string (lowercase only) | |
| cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |
| checking for FRIBIDI... configure: error: Package requirements (fribidi >= 0.19.0) were not met: | |
| No package 'fribidi' found | |
| Consider adjusting the PKG_CONFIG_PATH environment variable if you | |
| installed software in a non-standard prefix. | |
| Alternatively, you may set the environment variables FRIBIDI_CFLAGS | |
| and FRIBIDI_LIBS to avoid the need to call pkg-config. | |
| See the pkg-config man page for more details. |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| //index.js | |
| var express = require('express'), | |
| app = module.exports = express.createServer(), | |
| mongoose = require('mongoose'); | |
| mongoose.connect('mongodb://localhost/nodeAuth'); | |
| //configure app | |
| app.configure(function() { | |
| app.set('views', __dirname + '/views'); |
| repositories { | |
| add(new org.apache.ivy.plugins.resolver.URLResolver()) { | |
| name = 'GitHub' | |
| addArtifactPattern 'http://cloud.github.com/downloads/[organisation]/[module]/[module]-[revision].[ext]' | |
| } | |
| } | |
| dependencies { | |
| classpath '<githubId>:<artifact>:<revision>' | |
| } |
Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.
| #!/bin/bash | |
| if ! hash git &> /dev/null || ! hash php &> /dev/null; then | |
| echo -e " *****\n ***** INSTALLING GIT AND PHP\n *****" | |
| if hash apt-get &> /dev/null; then | |
| sudo apt-get install git-core php5-cli php5-curl | |
| elif hash port &> /dev/null; then | |
| sudo port install php5-curl | |
| elif hash fink &> /dev/null; then |
| /* | |
| * 12306 Auto Query => A javascript snippet to help you book tickets online. | |
| * 12306 Booking Assistant | |
| * Copyright (C) 2011 Hidden | |
| * | |
| * 12306 Auto Query => A javascript snippet to help you book tickets online. | |
| * Copyright (C) 2011 Jingqin Lynn | |
| * | |
| * 12306 Auto Login => A javascript snippet to help you auto login 12306.com. | |
| * Copyright (C) 2011 Kevintop |
| # | |
| # Wide-open CORS config for nginx | |
| # | |
| location / { | |
| if ($request_method = 'OPTIONS') { | |
| add_header 'Access-Control-Allow-Origin' '*'; | |
| # |