1.安装Git
ssh myserver.com
sudo apt-get update
sudo apt-get install git-core2.设置git用户
| upstream myapp { | |
| server 127.0.0.1:5000; | |
| } | |
| server { | |
| listen 80; | |
| server_name llbire.com www.llbire.com; | |
| location @myapp { | |
| proxy_pass http://myapp; |
1.安装Git
ssh myserver.com
sudo apt-get update
sudo apt-get install git-core2.设置git用户
| #!/usr/bin/python | |
| #coding=utf-8 | |
| import urllib | |
| import urllib2 | |
| import re | |
| import threading | |
| import Queue | |
| url = 'https://who.is/whois/name_search/' |
| {% highlight cl linenos %} | |
| (require 'package) | |
| (setq package-archives | |
| '(("original" . "http://tromey.com/elpa/") | |
| ("gnu" . "http://elpa.gnu.org/packages/") | |
| ("marmalade" . "http://marmalade-repo.org/packages/") | |
| ("melpa" . "http://melpa.milkbox.net/packages/"))) | |
| (package-initialize) | |
| {% endhighlight %} |
| (defun our-copy-tree (tr) | |
| (if (atom tr) | |
| tr | |
| (cons (our-copy-tree (car tr)) | |
| (our-copy-tree (cdr tr))))) | |
| (defun get_max_v1 (lst) | |
| (if (null lst) | |
| "没有要比较的元素" | |
| (if (null (cdr lst)) |
| # Have you ever had to sleep() in Capybara-WebKit to wait for AJAX and/or CSS animations? | |
| describe 'Modal' do | |
| should 'display login errors' do | |
| visit root_path | |
| click_link 'My HomeMarks' | |
| within '#login_area' do | |
| fill_in 'email', with: 'will@not.work' | |
| fill_in 'password', with: 'test' |
| set -g default-terminal "screen-256color" | |
| set -g history-limit 20000 | |
| # use VI | |
| set-window-option -g mode-keys e | |
| # Use ctrl-a instead of ctrl-b | |
| set -g prefix C-a | |
| unbind C-b | |
| bind C-a send-prefix |
| asics_mos.mos.common.video.YouTubePlayer.prototype.init = function (a) { | |
| $(".video-overlay-share-title").text(asics_mos.mos.globalData.share.shareTitle); | |
| asics_mos.mos.common.video.YouTubePlayer.prototype.getInstance().setContainer($("#video-player")); | |
| asics_mos.mos.common.video.YouTubePlayer.prototype.getInstance().setOverlay($("#video-overlay")); | |
| swfobject.embedSWF("http://www.youtube.com/v/" + a + "?enablejsapi=1&playerapiid=ytplayer&version=3&autohide=1&modestbranding=1&rel=0&showinfo=0&fs=1&hd=1", "ytplayer", this.ytPlayerWidth, | |
| this.ytPlayerHeight, "8", null, null, { | |
| allowScriptAccess: "always", | |
| allowFullScreen: "true" | |
| }, { | |
| id: "ytplayer" |