This file contains hidden or 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
* pull to latest | |
* vagrant up | |
* git checkout -b rls2009_lts origin/rls2009_lts | |
* snergster/csit-sut:latest | |
* patch VppConfigGenerator.py | |
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py | |
index 68a4e22e6..8a6ea9ff7 100644 | |
--- a/resources/libraries/python/VppConfigGenerator.py | |
+++ b/resources/libraries/python/VppConfigGenerator.py | |
@@ -457,8 +457,9 @@ class VppConfigGenerator: |
This file contains hidden or 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
## Install necessary packages | |
$ sudo apt-get install virtualbox-ose qemu-utils genisoimage cloud-utils | |
## get kvm unloaded so virtualbox can load | |
$ sudo modprobe -r kvm_amd kvm_intel | |
$ sudo service virtualbox stop | |
$ sudo service virtualbox start | |
## URL to most recent cloud image of 12.04 | |
$ img_url="http://cloud-images.ubuntu.com/server/releases/12.04/release" |
This file contains hidden or 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
{ | |
"username": "admin", | |
"masterserver_module": true, | |
"external_ipVersion": "ipv4", | |
"default_gateway": "192.168.122.1", | |
"cluster_ip": "", | |
"log_adapter_cfg": "", | |
"cluster_password_src": "admin!23", | |
"external_netmask": "255.255.255.0", | |
"modelCategory": "single", |
This file contains hidden or 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
__license__ = 'MIT' | |
# __copyright__ = '2013, Yao-Po Wang <blue119@gmail.com>' | |
''' | |
Profile to TW Apple Daily | |
''' | |
import re | |
from calibre.web.feeds.news import BasicNewsRecipe | |
class AppleDailyTaiwan(BasicNewsRecipe): | |
title = u'蘋果日報 (台灣)' |
This file contains hidden or 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
[ 2%] Automoc for target chewing-editor | |
Generating moc_UserphraseModel.cpp | |
Generating moc_UserphraseSortFilterProxyModel.cpp | |
Generating moc_AddNewPhraseDialog.cpp | |
Generating moc_ChewingEditor.cpp | |
Generating moc_Notification.cpp | |
Generating moc_UserphraseView.cpp | |
[ 2%] Built target chewing-editor_automoc | |
[ 4%] Automoc for target util | |
[ 4%] Built target util_automoc |
This file contains hidden or 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
$ sudo fdisk -l /dev/sda | |
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. | |
Disk /dev/sda: 500.1 GB, 500107862016 bytes | |
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors | |
Units = sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 4096 bytes | |
I/O size (minimum/optimal): 4096 bytes / 4096 bytes |
This file contains hidden or 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
CHEWING_API char *chewing_bopomofo_String( ChewingContext *ctx) | |
{ | |
char *s; | |
int i; | |
s = (char*) calloc( | |
1 + ZUIN_SIZE, | |
sizeof(ctx->output->zuinBuf[ 0 ].s) ); |
This file contains hidden or 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
test |
This file contains hidden or 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
test |
This file contains hidden or 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
$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
[Berkshelf] Updating Vagrant's berkshelf: '/home/blue119/.berkshelf/default/vagrant/berkshelf-20130818-20875-187caic-default' | |
[Berkshelf] Using postgresql (3.0.2) | |
[Berkshelf] Using git (2.5.2) | |
[Berkshelf] Using runit (1.1.6) | |
[Berkshelf] Using python (1.3.6) | |
[Berkshelf] Using pgrest (0.0.1) at '../pgrest' |
NewerOlder