Idea for homebrew-like kdesrc-build, I'll call it kdesrc-curses
- Scriptable: new program or module should be easily add. Simply add a new file and inherit some classes.
from __future__ import unicode_literals | |
from __future__ import print_function | |
import argparse | |
a = argparse.ArgumentParser() | |
b = a.add_subparsers(dest='command') | |
b.add_parser('test') | |
c = a.parse_args([]) | |
print(c.command is None) |
#! /usr/bin/env python3 | |
import sys | |
from PySide import QtGui, QtWebKit | |
app = QtGui.QApplication(sys.argv) |
Index: debian/changelog | |
=================================================================== | |
--- debian/changelog (revision 14903) | |
+++ debian/changelog (working copy) | |
@@ -1,3 +1,9 @@ | |
+boost1.55 (1.55.0+dfsg-4.1~coroutine1) experimental; urgency=low | |
+ | |
+ * Enable coroutine shared library. | |
+ | |
+ -- Wei-Cheng Pan <legnaleurc@gmail.com> Fri, 26 Jun 2015 04:34:46 +0000 |
http://www.youtube.com/watch?v=NxFQEJF4fPk | |
[bear] | |
/castsequence reset=3 痛擊,揮擊,割碎,揮擊 | |
/cast 槌擊 | |
[virtualbox] | |
http://yuanfarn.blogspot.com/2009/09/virtualbox-network-nat-host-only.html | |
[qt sql] | |
http://doc.trolltech.com/4.6/sql-driver.html#qmysql-for-mysql-4-and-higher | |
[java] | |
http://download.oracle.com/javase/tutorial/deployment/applet/index.html |
#include <memory> | |
#include <iostream> | |
class Node: public std::enable_shared_from_this< Node > { | |
public: | |
typedef std::shared_ptr< Node > NodeSP; | |
typedef std::weak_ptr< Node > NodeWP; | |
static NodeSP create( int value ) { | |
return NodeSP( new Node( value ) ); |
package org.sandbox; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.nio.ByteBuffer; | |
import java.nio.channels.ClosedChannelException; | |
import java.nio.channels.ClosedSelectorException; | |
import java.nio.channels.SelectionKey; | |
import java.nio.channels.Selector; |
#include <iostream> | |
#include <chrono> | |
#include <queue> | |
#include <boost/asio/io_service.hpp> | |
#include <boost/asio/steady_timer.hpp> | |
#include <boost/asio/strand.hpp> | |
class Runner { |
#define _BSD_SOURCE | |
#include <endian.h> | |
// #include "bs.h" | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> |
#! /usr/bin/env python3 | |
import re | |
import shutil | |
import sys | |
import asyncio | |
class BaseParser(object): |