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
SPLIT include/autoconf.h -> include/config/* | |
GEN include/bbconfigopts.h | |
HOSTCC applets/usage | |
GEN include/usage_compressed.h | |
HOSTCC applets/applet_tables | |
GEN include/applet_tables.h | |
CC applets/applets.o | |
In file included from /opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/syslimits.h:7, | |
from /opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/limits.h:11, | |
from include/platform.h:138, |
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
for (StackTraceElement ste : Thread.currentThread().getStackTrace()) { | |
if (ste.getClassName().contains("sunfire")) | |
return true; | |
} | |
return false; |
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
package main | |
import ( | |
iconv "github.com/djimenez/iconv-go" | |
"io/ioutil" | |
"log" | |
"net/http" |
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
package xxx; | |
import java.io.File; | |
import java.io.FileFilter; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Map.Entry; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import org.nutz.lang.Files; |
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
package org.nutz.mvc.view.beetl; | |
import java.io.IOException; | |
import java.util.Enumeration; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import org.bee.tl.core.GroupTemplate; | |
import org.bee.tl.core.Template; |
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
package main | |
import ( | |
"log" | |
"net/http" | |
"syscall" | |
"unsafe" | |
) | |
func main() { |
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
#!/usr/bin/python | |
''' | |
Created on 2013-4-20 | |
@author: wendal | |
''' | |
import socket, threading, time | |
def main(): |
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
function id2path(IN) | |
local B,K,OUT,I,D=16,"0123456789ABCDEF","",0 | |
local now = 0 | |
local len = 0 | |
while IN>0 do | |
if len > 0 and math.mod(len,2) == 0 then | |
OUT="/"..OUT | |
end | |
I=I+1 | |
IN,D=math.floor(IN/B),math.mod(IN,B)+1 |
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
{ | |
"xXX": { | |
"type" : "org.nutz.ioc.meta.map.XXX", | |
"fields" : { | |
"fuck" : {"age": "28", "abc": "kkkkk"} | |
} | |
} | |
} | |
/*fuck字段的类型是Map<String,String>*/ |
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
Map<String, List<Province>> map = (Map<String, List<Province>>) Json.fromJson(NutType.mapStr(NutType.list(Province.class)), new FileReader("city.min.js")); | |
List<Province> provinces = map.values().iterator().next(); | |
System.out.println(Json.toJson(provinces)); |