This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html class="normal" type="channel" channelname="#bash"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Content-Script-Type" content="text/javascript"><meta http-equiv="Content-Style-Type" content="text/css"><style>html {font-family:'Courier';font-size:9pt;background-color:white;color:black;word-wrap:break-word;margin:0;padding:3px 4px 10px 4px;}body {margin:0;padding:0}img {border:1px solid #aaa;vertical-align:top;}object {vertical-align:top;}hr {margin:0.5em 2em;}.line {margin:0 -4px; padding:0 4px 1px 4px; clear:both;}.line[alternate=even] {}.line[alternate=odd] {}.line[type=action] .sender:before {content: '• ';white-space: nowrap;}.inlineimage {margin: 10px 0 15px 40px;max-width: 200px;max-height: 150px;-webkit-box-shadow: 2px 2px 2px #888;}.avatar {display: inline;max-width: 24px;max-height: 24px;margin-right: 3px;vertical-align: middle;}.url { word-break: break-all; }.address { text-decoration: underline; word-break: break-all; }.highlight { color: #f0f; font- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -r 0-209715200 http://get-software.net/systems/texlive/Images/texlive2012.iso > texlive.part1 & | |
curl -r 209715200-419430400 http://get-software.net/systems/texlive/Images/texlive2012.iso > texlive.part2 & | |
curl -r 419430400-629145600 http://get-software.net/systems/texlive/Images/texlive2012.iso > texlive.part3 & | |
curl -r 629145600-838860800 http://get-software.net/systems/texlive/Images/texlive2012.iso > texlive.part4 & | |
curl -r 838860800-1048576000 http://get-software.net/systems/texlive/Images/texlive2012.iso > texlive.part4 & | |
curl -r 1048576000-1258291200 http://get-software.net/systems/texlive/Images/texlive2012.iso > texlive.part5 & | |
curl -r 1258291200-1468006400 http://get-software.net/systems/texlive/Images/texlive2012.iso > texlive.part6 & | |
curl -r 1468006400-1677721600 http://get-software.net/systems/texlive/Images/texlive2012.iso > texlive.part7 & | |
curl -r 1677721600-1887436800 http://get-software.net/systems/texlive/Images/texlive2012.iso > texlive.part8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
可能的依赖 | |
gun) | |
m4 | |
Bison |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool is_number(const std::string& s) | |
{ | |
std::string::const_iterator it = s.begin(); | |
while (it != s.end() && std::isdigit(*it)) ++it; | |
return !s.empty() && it == s.end(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Doxyfile 1.6.1 | |
# This file describes the settings to be used by the documentation system | |
# doxygen (www.doxygen.org) for a project | |
# | |
# All text after a hash (#) is considered a comment and will be ignored | |
# The format is: | |
# TAG = value [value, ...] | |
# For lists items can also be appended using: | |
# TAG += value [value, ...] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/usr/bin/perl | |
use strict; | |
use warnings; | |
use utf8; | |
use open ":encoding(utf8)",":std"; | |
open my $infh, "<:encoding(utf8)", "zh.dat" or die $!; | |
while (<$infh>) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/init.d/apache2 restart | |
/etc/init.d/mysql start | |
/etc/init.d/apache2 restart | |
/etc/init.d/mysql restart | |
开机自启动 | |
======== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in progress (#1046): re-focus this page on deployment of python on linux, esp. suse; perhaps move to PythonDeployment?. for developer set-up, see WritingQualityCode | |
virtualenv is a tool to create isolated Python environments: | |
The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo , but another application requires version 2. How can you use both these applications? Or what if you want to install an application and leave it be ? If an application works, any change in its libraries or the versions of those libraries can break the application. ... In all these cases, virtualenv can help you. | |
Machine Set-Up | |
If your development machine runs ubuntu (or debian) linux, install with apt-get: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SQL*Plus: Release 10.2.0.3.0 - Production on Fri May 30 10:20:33 2008 | |
Copyright (c) 1982, 2006, Oracle. All Rights Reserved. | |
SQL> conn /as sysdba | |
ERROR: | |
ORA-12162: TNS:net service name is incorrectly specified | |
以上问题基本上有三种原因造成 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference https://bitbucket.org/xuxiaodong/dotman/src/cb7f1e6fb338/.tmux.conf | |
set -g default-terminal "screen-256color" | |
set -g display-time 3000 | |
set -g history-limit 65535 | |
set -g base-index 1 | |
set -g pane-base-index 1 | |
set -s escape-time 0 | |
# key bindings |