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
| /* | |
| * MethodSwizzle.h | |
| * | |
| * Copyright (c) 2007-2011 Kent Sutherland | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| * this software and associated documentation files (the "Software"), to deal in | |
| * the Software without restriction, including without limitation the rights to use, | |
| * copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the | |
| * Software, and to permit persons to whom the Software is furnished to do so, |
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
| { | |
| "android.permission.ACCESS_CHECKIN_PROPERTIES": "允许读写访问”properties”表在checkin数据库中,改值可以修改上传( Allows read/write access to the “properties” table in the checkin database, to change values that get uploaded)\n", | |
| "android.permission.ACCESS_COARSE_LOCATION": "允许一个程序访问CellID或WiFi热点来获取粗略的位置(Allows an application to access coarse (e.g., Cell-ID, WiFi) location)\n", | |
| "android.permission.ACCESS_FINE_LOCATION": "允许一个程序访问精良位置(如GPS) (Allows an application to access fine (e.g., GPS) location)\n", | |
| "android.permission.ACCESS_LOCATION_EXTRA_COMMANDS": "允许应用程序访问额外的位置提供命令(Allows an application to access extra location provider commands)\n", | |
| "android.permission.ACCESS_MOCK_LOCATION": "允许程序创建模拟位置提供用于测试(Allows an application to create mock location providers for testing)\n", | |
| "android.permission.ACCESS_NETWORK_STATE": "允许程序访问有关GSM网络信息(Allows applications to access information about networks)\n", | |
| "android.permission.ACCESS_SURFACE_FLINGER": "允许程序使用SurfaceFlinger底层特性(Allows an application to use SurfaceFlinger’s low leve |
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
| # built application files | |
| *.apk | |
| *.ap_ | |
| # files for the dex VM | |
| *.dex | |
| # Java class files | |
| *.class |
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
| http://www.umeng.com/test_devices | |
| 获取deviceid | |
| 加入以下权限 | |
| <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission> | |
| <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission> | |
| <uses-permission android:name="android.permission.WAKE_LOCK"></uses-permission> | |
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
| require "fileutils" | |
| source = File.expand_path "umeng_sdk_201312301505_fb_update_analytics/res" | |
| dist = File.expand_path "/Users/mac/Code/Android/Project/MMBaby/res" | |
| puts source | |
| puts dist | |
| puts "=" * 20 | |
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
| server { | |
| listen 80; | |
| server_name ; | |
| large_client_header_buffers 4 32k; | |
| #charset koi8-r; | |
| error_log /var/log/nginx/log/host.error.log ; | |
| access_log /var/log/nginx/log/host.access.log; | |
| root /var/www/; | |
| #autoindex on; |
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
| { | |
| "status": "seccuss", | |
| "classtable": [ | |
| [ | |
| "计算机组成原理周一第1,2节{第1-18周}张代远教2-213", | |
| "大学英语Ⅳ周二第1,2节{第1-18周}黄成林教2-510", | |
| "电工电子基础实验B周三第1,2节{第1-18周}陆婷第三实验室", | |
| "离散数学{第1-18周|2节/周}20030076|罗卫兰教3-404概率统计和随机过程周四第1,2节{第1-18周}孔告化教2-311", | |
| " ", | |
| " ", |
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
| [nginx] | |
| name=nginx repo | |
| baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ | |
| gpgcheck=0 | |
| enabled=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
| ed2k://|file|%5B%E5%A4%8F%E7%9B%AE%E5%8F%8B%E4%BA%BA%E5%B8%90%5D.%5BFosky%5D%5BNatsume%5D%5B01%5D%5B1280x720%5D%5Bx264_mp3%5D%5BGB%5D%5B5606B3E5%5D.mkv|205128267|fa611f95e3b3185288cb13164f154971|h=pa5du7bwcwtkhfp5epoxzbj2veljmeui|/ | |
| ed2k://|file|%5B%E5%A4%8F%E7%9B%AE%E5%8F%8B%E4%BA%BA%E5%B8%90%5D.%5BFosky%5D%5BNatsume%5D%5B01%5D%5BGB%5D%5BR10%5D%5B848x480%5D.rmvb|101664520|5e0c1315b15c6e1f3fb1080d5cab1190|h=6r5bxjzukqiz7tgnj2znfa4yh6ndoo7n|/ | |
| ed2k://|file|%5B%E5%A4%8F%E7%9B%AE%E5%8F%8B%E4%BA%BA%E5%B8%90%5D.%5BFosky%5D%5BNatsume%5D%5B02%5D%5B1280x720%5D%5Bx264_mp3%5D%5BGB%5D%5B53D6C226%5D.mkv|205096386|b0a8b04eb75badd903bdb70351b312d5|h=75ch7wrwubzsidngnkcbupuytcww7k3f|/ | |
| ed2k://|file|%5B%E5%A4%8F%E7%9B%AE%E5%8F%8B%E4%BA%BA%E5%B8%90%5D.%5BFosky%5D%5BNatsume%5D%5B02%5D%5BGB%5D%5BR10%5D%5B848x480%5D.rmvb|101159571|db7307c6d8486b7809c0ab775cdf39c8|h=tkiskgd4d7zuyerlkrzega475qckd5sw|/ | |
| ed2k://|file|%5B%E5%A4%8F%E7%9B%AE%E5%8F%8B%E4%BA%BA%E5%B8%90%5D.%5BFosky%5D%5BNatsume%5D%5B03%5D%5B1280x720%5D%5Bx264_mp3%5D%5BGB%5D% |
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
| require "nokogiri" | |
| require "open-uri" | |
| doc = Nokogiri::HTML(open("http://www.longbuluo.com/movie/34644.html")) | |
| doc.css("a").each do |link| | |
| if link["href"] and link["href"].start_with?("ed2k") | |
| puts link["href"] | |
| end | |
| end |