- https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob;f=framework/src/org/apache/cordova/NetworkManager.java;h=bb4743f214a33dcac75ff0094c5fee19431cdcf9;hb=HEAD
- https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/CordovaWebView.java
- http://d.hatena.ne.jp/yohpapa/20130819/1376947942
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
#![feature(libc)] | |
extern crate libc; | |
use std::ffi::{CStr, CString}; | |
use std::str; | |
use libc::*; | |
extern "C" fn my_string() -> *const c_char { | |
let c_to_print = CString::new("Hello").unwrap(); | |
c_to_print.as_ptr() |
- xz utils http://tukaani.org/xz/
- lzma sdk http://7-zip.org/sdk.html
- emscripten https://github.com/kripken/emscripten
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
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
// init VPN manager | |
self.vpnManager = [NEVPNManager sharedManager]; | |
// load config from perference | |
[_vpnManager loadFromPreferencesWithCompletionHandler:^(NSError *error) { |
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
# -*- coding: utf-8 -*- | |
import iptc | |
def add_port_out_monitor(ip="10.0.2.15", port="9999"): | |
table = iptc.Table(iptc.Table.FILTER) | |
chain = iptc.Chain(table, "OUTPUT") | |
rule = iptc.Rule() | |
rule.src = ip |
compile 'com.android.support:design:22.2.0'
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
2015-06-26 02:42:19 +0800 | |
./configure | |
--prefix=/usr/local | |
--mandir=/usr/local/Cellar/vim/7.4.712_1/share/man | |
--enable-multibyte | |
--with-tlib=ncurses | |
--enable-cscope | |
--with-features=huge | |
--with-compiledby=Homebrew |