- user_id -
user/:uid
- feed_id -
feed/:feed_uri
- category_id -
:user_id/category/:category
(special category:global.all
,global.uncategorized
) - tag_id -
:user_id/tag/:tag
(special tag:global.saved
)
http://cloud.feedly.com/:version/:api
private TextView htmlTextView; | |
private SpannableStringBuilder htmlSpannable; | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
// ... | |
// first parse the html | |
// replace getHtmlCode() with whatever generates/fetches your html |
# coding=UTF-8 | |
from __future__ import division | |
import re | |
# This is a naive text summarization algorithm | |
# Created by Shlomi Babluki | |
# April, 2013 | |
class SummaryTool(object): |
# coding=UTF-8 | |
from __future__ import division | |
import nltk | |
from collections import Counter | |
# This is a simple tool for adding automatic hashtags into an article title | |
# Created by Shlomi Babluki | |
# Sep, 2013 | |
Others have recently developed packages for this same functionality, and done it better than anything I could do. Use the packages instead of this script:
Gargoyle package by @lantis1008
OpenWRT package by @dibdot
In its basic usage, this script will modify the router such that blocked addresses are null routed and unreachable. Since the address blocklist is full of advertising, malware, and tracking servers, this setup is generally a good thing. In addition, the router will update the blocklist weekly. However, the blocking is leaky, so do not expect everything to be blocked.
#!/usr/bin/python | |
""" | |
Stagefright PoC for https://android.googlesource.com/platform/frameworks/av/+/2b50b7aa7d16014ccf35db7a7b4b5e84f7b4027c | |
""" | |
from struct import pack | |
def create_box(atom_type, data): | |
return pack("!I", len(data)+4+4) + atom_type + data |
vdpm
to set up the toolchain: https://github.com/vitasdk/vdpm. In addition to setting up the toolchain, vdpm
allows you to install dependencies such as libpng/libjpeg/vita2dlib/etc without any hassle.For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft