###0x00 在github上初始化repo 在github上开启一个代码库(repository), 具体方式参考github的帮助手册(help) 如下图所示, 现在整个项目了一个中心repo. 所有的项目成员将共用这一个repo.
![](http://grepcode.cn/img/upload/01.png)01 在github上新建一个新的repo,作为远端的中心repo
package crawler | |
import ( | |
"log" | |
) | |
type Url string | |
type Body string | |
type MemStore struct { |
###0x00 在github上初始化repo 在github上开启一个代码库(repository), 具体方式参考github的帮助手册(help) 如下图所示, 现在整个项目了一个中心repo. 所有的项目成员将共用这一个repo.
![](http://grepcode.cn/img/upload/01.png)""""""""""""""""""""""""""""""""" | |
" BEGIN OF VIMRC " | |
" Author: stduolc " | |
" Email: [email protected] " | |
" Version: 1.0 " | |
""""""""""""""""""""""""""""""""" | |
""""""""""""""""""""""""""""""""" | |
" INIT " | |
" 初始化 " |
#!py | |
import salt.utils | |
import sys | |
def _sub_tail(host, port, filename): | |
import subprocess |
class JournalMixin(object): | |
def __init__(self, *args, **kwargs): | |
super(JournalMixin, self).__init__(*args, **kwargs) | |
logger.error('__Init__ save journal') | |
old_save = getattr(self, 'save', None) | |
if old_save is not None: | |
def new_save(self, *args, **kwargs): | |
logger.error('new save journal') | |
try: | |
old_save.im_func(self, *args, **kwargs) |
angular.module('MetronicApp').controller('LvsGroupsController', function($model, $scope, localStorageService, $rootScope, $http, $timeout, runtimeStates, $state) { | |
runtimeStates.addState('lvs', { | |
name: 'lvs', | |
url: '/lvs', | |
data: {pageTitle: 'Lvs中心'}, | |
templateUrl: '/static/views/lvs/main.html', | |
resolve: { | |
deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
return $ocLazyLoad.load({ | |
name: 'MetronicApp', |
angular.module('MetronicApp').controller('LvsGroupsController', function($model, $scope, localStorageService, $rootScope, $http, $timeout, runtimeStates, $state) { | |
runtimeStates.addState('lvs', { | |
name: 'lvs', | |
url: '/lvs', | |
data: {pageTitle: 'Lvs中心'}, | |
templateUrl: '/static/views/lvs/main.html', | |
resolve: { | |
deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
return $ocLazyLoad.load({ | |
name: 'MetronicApp', |
angular.module('MetronicApp').controller('LvsGroupsController', function($model, $scope, localStorageService, $rootScope, $http, $timeout, runtimeStates, $state) { | |
runtimeStates.addState('lvs', { | |
name: 'lvs', | |
url: '/lvs', | |
data: {pageTitle: 'Lvs中心'}, | |
templateUrl: '/static/views/lvs/main.html', | |
resolve: { | |
deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
return $ocLazyLoad.load({ | |
name: 'MetronicApp', |
angular.module('MetronicApp').controller('LvsGroupsController', function($model, $scope, localStorageService, $rootScope, $http, $timeout, runtimeStates, $state) { | |
runtimeStates.addState('lvs', { | |
name: 'lvs', | |
url: '/lvs', | |
data: {pageTitle: 'Lvs中心'}, | |
templateUrl: '/static/views/lvs/main.html', | |
resolve: { | |
deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
return $ocLazyLoad.load({ | |
name: 'MetronicApp', |
angular.module('MetronicApp').controller('LvsGroupsController', function($model, $scope, localStorageService, $rootScope, $http, $timeout, runtimeStates, $state) { | |
runtimeStates.addState('lvs', { | |
name: 'lvs', | |
url: '/lvs', | |
data: {pageTitle: 'Lvs中心'}, | |
templateUrl: '/static/views/lvs/main.html', | |
resolve: { | |
deps: ['$ocLazyLoad', function($ocLazyLoad) { | |
return $ocLazyLoad.load({ | |
name: 'MetronicApp', |