Skip to content

Instantly share code, notes, and snippets.

127.0.0.1 localhost
::1 localhost
::1 ip6-localhost
::1 ip6-loopback
0.0.0.0 home.xl9.xunlei.com
151.101.52.133 frescolib.org
Only in libpng-1.6.20/: aclocal.m4
Only in libpng/: Android.mk
Only in libpng/: CleanSpec.mk
Only in libpng-1.6.20/: compile
Only in libpng-1.6.20/: config.guess
Only in libpng-1.6.20/: config.h.in
Only in libpng-1.6.20/: config.sub
Only in libpng-1.6.20/: configure
Only in libpng-1.6.20/contrib: testpngs
Only in libpng-1.6.20/: depcomp
/*
* Copyright 2016 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software

arm64-v8a

CPPFLAGS

-target aarch64-none-linux-android -ffunction-sections -funwind-tables -fstack-protector-strong -fpic -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -g -O2 -DNDEBUG -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security

LDFLAGS

-target aarch64-none-linux-android -no-canonical-prefixes -Wl,--build-id -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--warn-shared-textrel -Wl,--fatal-warnings

var all_dom = document.getElementsByClassName("yt-uix-sessionlink yt-uix-tile-link spf-link yt-ui-ellipsis yt-ui-ellipsis-2");
var all_id = [];
for (i = 0; i < all_dom.length; i++) {
var str = all_dom[i].getAttribute("href");
str = str.substring(9, str.length);
all_id.push(str);
}
console.log("http://www.youtube.com/watch_videos?video_ids=" + all_id.join(","));
#!/bin/bash
#APS_ABI=armeabi
. ./android-prepare.sh
if (( $? != 0 )); then exit -1; fi
export AR="$APS_CROSS"ar
export AS="$APS_CROSS"as
export CC="$APS_CROSS"gcc
export CXX="$APS_CROSS"g++

arm64-v8a

CPPFLAGS

-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -g -O2 -DNDEBUG -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security

LDFLAGS

-lgcc -no-canonical-prefixes -Wl,--build-id -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--warn-shared-textrel -Wl,--fatal-warnings -lc -lm

@seven332
seven332 / SDL2-Android-Assets.patch
Last active June 21, 2016 09:10
Base on SDL release-2.0.4
Index: include/SDL_rwops.h
===================================================================
--- include/SDL_rwops.h (revision 8be6e5ca9041dfcf8b20c85e43eb3beaa6efdd2b)
+++ include/SDL_rwops.h (revision )
@@ -96,15 +96,7 @@
#if defined(__ANDROID__)
struct
{
- void *fileNameRef;
- void *inputStreamRef;