Quantcast
Viewing all 20515 articles
Browse latest View live

美國「考慮」凍結WHO經費


美國媒體Townhall報導(https://pse.is/NKJ5B),川普總統於美國時間4/7週二晚(台灣週三早),於白宮冠狀病毒疫情工作小組記者會說(影片:https://pse.is/RDPNA),將考慮凍結美國給予WHO的經費。主要原因是,在這個全球抗疫的過程,WHO持續不斷地發布錯誤訊息。講完這段後川普之後又回來補充,或許這個抗疫時刻不是凍結預算的好時機,所以我們會「looking into it」, 很顯然的就是舉起了大刀準備砍,叫WHO皮繃緊的意思。
川普說:「WHO從美國拿了大量的錢,而且美國付了多數的錢,是他們拿到的經費中最多的。他們批評以及否定我當時的旅遊禁令,他們是錯的。他們在很多事情上都是錯的,他們在早期就有許多資訊,但他們不想(公布),感覺他們非常親中,所以我們要好好檢視。」
「他們真的錯過了時機,他們本可以早幾個月宣布的。他們早該知道的,或許他們早就知道,所以我們要仔細的去檢視這件事。我們將凍結我們撥給WHO的經費,我們會看到這將是我們祭出的一個強而有力的凍結。如果WHO發揮功能,會是一件了不起的事;但他們每件事都搞錯了,這不ok。」
報導最後面還提到,2019年12月29日,台灣的官方單位就已經告訴WHO說這個病毒很可能會人傳人。而WHO,報導說是代表著中國,不只隱匿不報,在三週之後還出來講說這病毒不會人傳人,在一月底時,譚德塞祕書長還批評美國對中國的旅遊禁令。根據美國媒體報導,有超過四十萬人在旅遊禁令發布之前,從中國入境美國。
其實在早上,川普就已經預告這個宣言,7日上午川普在推特上寫道:「WHO真的搞砸了。基於某些原因,明明主要都是由美國在贊助,卻非常親中。我們將會好好的檢視這件事。幸運的是,我早早就拒絕了他們呼籲對中國開放邊界的建議。為什麼他們要給我們這麼錯誤的建議?」
過去幾天已經有不少國會議員提出類似的說法,同時還加碼說,WHO已經成為中國的宣傳工具。
史考特(Rick Scott,4月1日):「昨天我呼籲國會調查世界衛生組織與共產中國的關係以及幫助中國共產黨掩蓋冠狀病毒擴散的角色。我們來回憶一下。中國共產黨持續對冠狀病毒在中國擴散說謊,而他們還在說謊。過去幾個月,世界衛生組織已經爲他們掩蓋疫情、讚賞他們的反應。 一月中,世界衛生組織重複中國的謊言,說冠狀病毒還沒有人傳人的證據。上個禮拜,一位世界衛生組織官員在被問到該組織不讓台灣成爲會員時中斷專訪,之後還暗示台灣是中國的一部份。記住,美國負擔了世界衛生組織15%的預算,而中國只提供了2%。但是世界衛生組織持續重申中國共產黨的宣傳。國會要就世界衛生組織掩蓋共產中國冠狀病毒的謊言、危及全球公共衛生進行調查並召開公聽會。我們也要嚴正重新考慮這個組織是否還應從納稅人獲取經費。」(關於預算,請看本文後方補充講義)
克魯茲(Ted Cruz,4月3日):「人們急切呼籲重新評估世界衛生組織的領導階層。世界衛生組織持續對中國共產黨低頭、淡化冠狀病毒的嚴重性、還系統性地排除台灣,已經失去正常運作所需的信用。」
劉雲平(Ted Lieu,4月7日):「親愛的世界衛生組織,你們可以從台灣專家防治新冠病毒的經驗學到很多。你們不讓台灣加入世界衛生組織是很奇怪的。人命關天,你們應該放下無謂的政治並接受台灣。」
馬克莎莉(Martha McSally,4月7日):「美國凍結對世界衛生組織經費是正確的。世界衛生組織非但沒有造福全球衛生,還成了中國政府的宣傳武器。世界衛生組織的作爲無法接受。」
▍小講義:WHO的經費主要分兩部份,其一是規定的比例,是各國依人口和財富比例攤分,另一部份是各國自願捐款。兩者分別佔全部經費大約1:3,且捐款部份的比例持續上升。
在規定經費的部份,美國的比例是22%,中國為8%左右(將於明年上升至12%)。在目前的雙年度,美國大約付出九億美元經費(其中2.37億是規定經費,其他是捐款),佔全部的15%。
美國終於要正視中國開始在各大國際組織發揮影響力的事情了嗎?

當邪惡成為瘟疫,一個民族必定被毀


  最近不斷有一些令人噁心的視頻傳出來,早前有東北食店門口張掛廣告,對美日的疫癥流行興災樂禍,然後又有一個美籍華人大媽在美國店舖掃清口罩,為自己害了美國人而得意忘形,最近又有一個視頻拍到深圳工廠工人,拿外銷口罩來擦自己鞋底。這些卑劣邪惡的行徑,都是在光天化日之下,堂而皇之地做出來,並以此而自豪,我們這個民族真是病得不輕
  古聖賢說,人皆有惻隱之心,又說人之初,性本善,人的自私雖是以生俱來的,但邪惡不是與生俱來的,從自私發展到邪惡,有一個漫長的過程,是民族文化﹑社會風尚所致,潛移默化造成的
  稍微了解中國現代歷史,就會明白中國人的這種邪惡心性,便是在中共長期洗腦教育下形成的,是歷次政治運動殘酷鬥爭無情打擊的惡果。從中共在解放區實行土地改革開始,就以各種花樣翻新的方式羞辱人﹑折磨人﹑傷害人,公然搶劫他人財產,霸佔他人妻女,藉以煽動階級仇恨,達到發動群眾的目的。這一套政治鬥爭形式,在四九年後的歷次政治運動中發揚光大,直至文革登峰造極。
  中共早期革命,吸納大量農村遊民,這批流氓無產者遊手好閒不事生產,或因各種原因生存處境艱難,在無路可走的情況下,投奔革命成了一種活命方式,因此最敢於鋌而走險,也最敢於冒天下之大不韙。
  這種流寇式的作風,一直沿襲到中共取得政權,毛澤東以革命運動方式治國,採取殘酷打擊的方針震懾中國人,因此花樣翻新地羞辱人﹑折磨人﹑傷害人,便成為社會風尚。眾多中國人習慣於在這種社會中生活,習慣於旁觀甚至參與對同胞的迫害,當作是一種為人處世的生活方式,長時期浸淫其中,善良天性被邪惡侵蝕殆盡,變成個人性情的一部份,這就是今日有為數不少的中國人可以無底線地做邪惡之事的根本原因。
  這套整人哲學標榜愛國愛黨,以革命的名義,踐踏人的尊嚴,傷害人的身家性命,以折磨人/羞辱人取樂,滿足心理殘缺者潛伏內心的畸型慾望。如此數十年下來,邪惡竟成了常態,而善良人的惻隱與同情,都被視為不合時宜。
  這是我們這個民族的嚴重心理疾患,表現在這次疫癥中,就是我們不斷遭遇的﹑這種令我們羞恥的可惡行為。
  中共的邪惡,造就部份中國人的邪惡,而部份中國人的邪惡,又更縱容中共的邪惡,這是一種惡性循環,是民族性的螺旋式下沉,令每個良知尚存的中國人為之痛心疾首。
  一個中國人,當他身受其害時,會痛感呼天不應叫地不靈,但當他的厄運過去,他又會對他人遭受的痛苦無動於衷,這種麻木和因循,使中共可以放手對中國人分而治之,而中國人的痛苦便無日無之。
  當然,大多數中國人還有良知,只是他們基於實際利害,迫於政治壓力,不敢挺身而出,這樣長時啞忍,不知道什麼時候厄運會落到自己頭上,而實際上,他們也只能聽天由命。
  早前我提到很多老同學罵我是漢奸,有老同學提醒我說,不要忘記也有很多同學和鄉親支持你啊,是的,這正是我們對這個民族還沒有絕望的原因。今次疫癥中,武漢的李文亮﹑方斌,以至方方等,都代表民間正義的聲音,敢於正視現實,直見性命,是我們民族一股源遠流長的正氣在支撐他們。中國人不管身處何方,都要珍惜和保護好自己身上的這股正氣,憑這股正氣去戰勝邪惡。
  我們一定要守住這條最後的防線,因為正氣不張,邪氣就橫行,我們這個民族已經夠爛了,再爛下去,就沒得救了。
  大自然的病毒,最多是幾年作惡,人文的病毒一流行起來,那是幾代人的大災禍。我們不幸身處這種大災禍中間,只有盡自己的一分力,保持赤子之心,維護天地間的正氣,否則,我們和我們的子孫,都會在邪惡的大泛濫中沒頂。

——作者脸书

基于Python实现的极简的socks5服务器程序-TinySocks5


项目介绍

本项目是基于socks5协议的代理服务端。本项目只支持纯生的socks5协议,传递的信息都为明文传递,无任何加密。如果轻量级使用仅需在浏览器端安装SwitchyOmega等可以配置socks5连接的插件,即可快速配置代理。如果为代理重度使用者请移步shadowsocksshadowsocksr

使用说明

服务端安装环境

Python3.6及以上(windows端和ubuntu端可完美运行),跑的是本项目的Python脚本。
git clone https://github.com/woodyxiong/TinySocks5 && cd TinySocks5
python main.py -p [port]

客户端安装配置

首先安装SwitchyOmega插件
国产浏览器操作如下(以qq浏览器为例)
打开应用中心并下载SwitchyOmega
点击应用中心按钮并进入应用中心
从应用中心安装SwitchyOmega
配置代理
新建socks5代理,情景模式名称随意
配置代理. 代理协议选择socks5代理服务器填写vps的ip,代理端口填写代理服务器监听的端口.
frm https://github.com/woodyxiong/TinySocks5
----
"代理服务器填写vps的ip,代理端口填写代理服务器监听的端口.",这样操作的结果是网上的
任何ip均可connect这台socks5服务器,足以把你的服务器drag down.我就曾有这样的惨痛经验。所以严重不建议这样操作。而只是把它作为各种tunnel程序的后端才是上策。

ngx_socks,一个基于nginx的SOCKS代理服务器程序

SOCKS5 proxy based on nginx.
这是一个基于nginx实现的SOCKS代理服务器,目前只支持SOCKSv5,CONNECT方式。
1.下载nginx或tengine包
2.安装./configure --add-module=/path/to/ngx_socks/ && make && make install

nginx.conf

worker_process 2;
socks {
server {
listen 1080;
}
}

wear_house_socks


This is the frontend for Wear House Socks, currently a work in progress!
http://wearhousesocks.herokuapp.com (if the link seems unresponsive, give it time! That is the heroku server spinning up.)
The repository for the backend can be found here: https://github.com/colesayer/sock_dev_backend.

Description

Wear House Socks is a product customization and visualization tool utilizing the power of WebGL. It is being built for my friend's sock company in North Carolina. Eventually, it will be a tool on their product's web site.
In its current state, a user can choose a sock construction (crew and extended crew for now), pick the heel, toe, and top band colors, choose a pre-made design or upload a design of their own, and choose the type of knit. The app updates the 3d model in real time, giving the user a photo-realistic 3d representation of the sock they're creating. Many new features will be added soon.

Built with

  • Assets were modeled in Blender,
  • "react": "^16.2.0",
  • "react-bootstrap": "^0.31.5",
  • "react-color": "^2.13.8",
  • "react-dom": "^16.2.0",
  • "react-dropzone": "^4.2.3",
  • "react-modal": "^3.1.12",
  • "react-redux": "^5.0.6",
  • "react-router-dom": "^4.2.2",
  • "react-scripts": "1.0.17",
  • "redux": "^3.7.2",
  • "redux-devtools-extension": "^2.13.2",
  • "redux-thunk": "^2.2.0",
  • "superagent": "^3.8.2",
  • "three": "^0.89.0",
  • "three-obj-loader": "^1.1.3"

How to Run

  1. After resolving the backend...
  2. Clone the repo
  3. Change to the cloned directory from your terminal
  4. Run 'npm install'
  5. Run 'npm start'. If the backend is also running, it will ask you to switch ports. Type 'y' and hit 'enter'.
  6. My Life Socks will run on http://localhost:3001/
  7. Build some socks!

屈服于中国的审查请求的海外公司

Telegram的代理程序mtg

Bullshit-free MTPROTO proxy for Telegram。
Please see a guide on upgrading to 1.0 at the end of this README.

Rationale

There are several available proxies for Telegram MTPROTO available. Here are the most notable:
Almost all of them follow the way how official proxy was built. This includes support of multiple secrets, support of promoted channels, etc.
mtg is an implementation in golang which is intended to be:
  • Lightweight It has to consume as few resources as possible but not by losing maintainability.
  • Easily deployable I strongly believe that Telegram proxies should follow the way of ShadowSocks: promoted channels is a strange way of doing business I suppose. I think the only viable way is to have a proxy with minimum configuration which should work everywhere.
  • A single secret I think that multiple secrets solve no problems and just complexify software. I also believe that in the case of throwout proxies, this feature is a useless luxury.
  • Minimum docker image size Official image is less than 3.5 megabytes. Literally.
  • No management WebUI This is an implementation of a simple lightweight proxy. I won't do that.
This proxy supports 2 modes of work: direct connection to Telegram and promoted channel mode. If you do not need promoted channels, I would recommend you to go with direct mode: this way is more robust.
To run a proxy in direct mode, all you need to do is just provide a secret. If you do not provide ADTag as a second parameter, promoted channels mode won't be activated.
To get promoted channel, please contact @MTProxybot and provide generated adtag as a second parameter.

Source code organization

There are 2 main branches:
  1. master branch contains potentially unstable features
  2. stable branch contains stable version. Usually you want to use this branch.

How to build

make
If you want to build for another platform:
make crosscompile
frm https://github.com/9seconds/mtg

Open GApps

The main repository of the Open GApps Project 

Getting the latest pre-built Open GApps

The latest version of pre-built Open GApps can be found at https://opengapps.org, hosted on SourceForge.
Support ProjectImage may be NSFW.
Clik here to view.
Donate
Q&A ForumImage may be NSFW.
Clik here to view.
XDA Q&A
Development ForumImage may be NSFW.
Clik here to view.
XDA Development
Support ChatImage may be NSFW.
Clik here to view.
Gitter
Image may be NSFW.
Clik here to view.
Download OpenGApps
Image may be NSFW.
Clik here to view.
Download OpenGApps

Support for the pre-built packages from OpenGApps.org

If you have any questions, check out the Open GApps Wiki, especially the FAQ since it'd answer most of the questions. If you can't find the answer to your question use the XDA Q&A Thread or join us on Gitter to receive support. Don't forget to add at least the Open GApps installer debug log and if experiencing Force Closures also include a logcat.
If you did find a bug in the Pre-built OpenGApps.org packages you can report it at the XDA Open GApps Development ThreadRemember to include at minimum the Open GApps installer debug log and if applicable a logcat.
Please don't file directly any GitHub issues to file problems with the Pre-built packages. The GitHub issues tracker is only used for issues concerning the Open GApps Project scripts themselves.

Build your own Open GApps

The example git commands assume you have a GitHub account and have set-up SSH authentication.
If you want to build your own version of Open GApps, you'll need to fetch the git sources:
To initialize your local repository using the Open GApps source tree, clone the main repository with the command:
git clone git@github.com:opengapps/opengapps.git
Then sync the submodules to get the original APK sources as provided by Google. Take note that these repositories are very large (in the order of GiBs). You can also use this command to update the sources at a later moment to their most recent version:
./download_sources.sh [--shallow] [arch]
  • --shallow will order to fetch only the latest snapshot of the APKs (reduces space used and amount of data to be retrieved by git, by not fetching the APKs' history)
  • arch can be one of the following "arm, arm64, x86, x86_64" to fetch only data required for specified architecture (note that fallback architectures will be fetched too)
To build Open GApps you'll need the Android build tools installed and set-up in your $PATH. If you use Ubuntu you can check out @mfonville's Android build tools for Ubuntu.
To build Open GApps for all platforms and all Android releases:
make
To build Open GApps for a specific Android release on a specific platform, define both the platform and the API level of that release, seperated by a dash and optionally add the variant with another dash.
Two examples (for building for Android 6.0 on ARM):
make arm-23
or
make arm-23-stock
To add updated source APKs to the sources archive (you can add more than one at once):
./add_sourceapp.sh [/path/to/the/files/you/want/to/add.apk]* [beta] [/apps/that/should/be/marked/as/beta.apk...]*
For contributors, updated sources can be uploaded. Either without an argument for every architecture, or with one or more arguments for a subset of architectures:
./upload_sources.sh [archs]*
If you want an overview of the locally available sources:
./report_sources.sh
You can add extra arguments to report_sources to do your more advanced bidding too:
./report_sources.sh ( ([sdk] [archs]*) || [arch-sdk] ) && [hash] || [max*mb] || [min*mb] || [nobeta] || [nohelp] || [noleanback] || [nosig]
frm https://github.com/opengapps/opengapps
-------------------------------

OpenGApps是什么

GAPPS是谷歌软件服务集合(Google Apps)的缩写形式。由于移动设备生产厂商的某些限制,一些运行Android系统的设备没有安装谷歌服务框架。这类设备在无法运行一些基于谷歌服务框架开发的应用软件及游戏时,需要安装包含谷歌服务框架的谷歌软件服务集合,即GAPPS。
一般情况下,GAPPS是Android 升级包(.zip)的形式,用户需要进入手机的Recovery模式刷入该包,重启系统,系统会自动安装并升级相关软件。
早期由于信息还不像今天这么畅通,国内大多数人习惯把 Google 服务包又叫做 GMS ( Googel Mobile Service )服务包。但其实从严格意义上来讲, GMS 只存在于那些经过了 Google 的 GMS 认证的手机厂商发售的 Android 设备当中。一方面, Google 通过内嵌服务和应用中的广告来获取收入;另一方面,由于 GMS 认证能从一定程度上反映手机厂商的综合实力,也是手机厂商用来拉开品牌差异的有效手段(遗憾的是当初国内几乎没有厂商通过了 GMS 认证)。
而 Android 玩家一直以来乐此不疲地折腾的东西叫做 GApps (全称 Google Apps ),一般是由国外某些 ROM 大牛或是 ROM 团队为了完善他们的 ROM 体验而单独制作的 Google 应用和服务的整合包。
所以 GApps 不仅包含了 Google 服务的基本框架,根据版本的不同,也包含诸多 Google 自家的优秀应用。
GMS 是 Android 的灵魂。时代发展到今天,GApps 依旧是那些想要拥有完善 Android 体验的非 Nexus 手机用户和 Google 服务重度依赖者们的不二之选。 GApps 在 Android 平台上所发挥的作用从某种程度上来说也是不可替代的,很多应用、游戏以及伴随它们所产生的内购项目在 Android 设备上必须依赖 Google 服务框架才能正常运作,这也是一般用户安装 GApps 的原因所在。


基于nodejs的微博平台程序-misskey

A forever evolving, sophisticated microblogging platform.
Misskey is a decentralized microblogging platform born on Earth. Since it exists within the Fediverse (a universe where various social media platforms are organized), it is mutually linked with other social media platforms. Why don't you take a short break from the hustle and bustle of the city, and dive into a new Internet? Find an instance!

 Features

Posting

Post your ideas, discussion topics, fun moments, or anything else you want to share! Misskey supports text, emoji, pictures, videos, and polls!
Reactions
Reactions are the simplest way to respond to others' posts. Simply pick a reaction emote from the list! Reactions on Misskey are much more expressive than other social media services which only allow “liking”.

Interface

Customize the UI to your own tastes! No UI will work for everyone, so Misskey is completely customizable. Make Misskey *yours* by editing the style, adjusting timeline layouts, and placing widgets.
Misskey Drive
Organize and store your files! Want to post a picture you have already uploaded? Wish you could organize your files into folders? Misskey Drive is a solution!
...and more! Experience Misskey with your own eyes at misskey.io or join one of the other instances that are available.

What's new

Please see the Release notes.

📦 Create your own instance

---

一个socks5代理服务器程序SimpleSocks5

Open vSwitch


Image may be NSFW.
Clik here to view.
https://travis-ci.org/openvswitch/ovs.png
 Image may be NSFW.
Clik here to view.
https://ci.appveyor.com/api/projects/status/github/openvswitch/ovs?branch=master&svg=true&retina=true
 Image may be NSFW.
Clik here to view.

What is Open vSwitch?

Open vSwitch is a multilayer software switch licensed under the open source Apache 2 license. Our goal is to implement a production quality switch platform that supports standard management interfaces and opens the forwarding functions to programmatic extension and control.
Open vSwitch is well suited to function as a virtual switch in VM environments. In addition to exposing standard control and visibility interfaces to the virtual networking layer, it was designed to support distribution across multiple physical servers. Open vSwitch supports multiple Linux-based virtualization technologies including Xen/XenServer, KVM, and VirtualBox.
The bulk of the code is written in platform-independent C and is easily ported to other environments. The current release of Open vSwitch supports the following features:
  • Standard 802.1Q VLAN model with trunk and access ports
  • NIC bonding with or without LACP on upstream switch
  • NetFlow, sFlow(R), and mirroring for increased visibility
  • QoS (Quality of Service) configuration, plus policing
  • Geneve, GRE, VXLAN, STT, and LISP tunneling
  • 802.1ag connectivity fault management
  • OpenFlow 1.0 plus numerous extensions
  • Transactional configuration database with C and Python bindings
  • High-performance forwarding using a Linux kernel module
The included Linux kernel module supports Linux 3.10 and up.
Open vSwitch can also operate entirely in userspace without assistance from a kernel module. This userspace implementation should be easier to port than the kernel-based switch. OVS in userspace can access Linux or DPDK devices. Note Open vSwitch with userspace datapath and non DPDK devices is considered experimental and comes with a cost in performance.

What's here?

The main components of this distribution are:
  • ovs-vswitchd, a daemon that implements the switch, along with a companion Linux kernel module for flow-based switching.
  • ovsdb-server, a lightweight database server that ovs-vswitchd queries to obtain its configuration.
  • ovs-dpctl, a tool for configuring the switch kernel module.
  • Scripts and specs for building RPMs for Citrix XenServer and Red Hat Enterprise Linux. The XenServer RPMs allow Open vSwitch to be installed on a Citrix XenServer host as a drop-in replacement for its switch, with additional functionality.
  • ovs-vsctl, a utility for querying and updating the configuration of ovs-vswitchd.
  • ovs-appctl, a utility that sends commands to running Open vSwitch daemons.
Open vSwitch also provides some tools:
  • ovs-ofctl, a utility for querying and controlling OpenFlow switches and controllers.
  • ovs-pki, a utility for creating and managing the public-key infrastructure for OpenFlow switches.
  • ovs-testcontroller, a simple OpenFlow controller that may be useful for testing (though not for production).
  • A patch to tcpdump that enables it to parse OpenFlow messages.

What other documentation is available?

To install Open vSwitch on a regular Linux or FreeBSD host, please read the installation guide. For specifics around installation on a specific platform, refer to one of the other installation guides
For answers to common questions, refer to the FAQ.
To learn about some advanced features of the Open vSwitch software switch, read the tutorial.

Each Open vSwitch userspace program is accompanied by a manpage. Many of the manpages are customized to your configuration as part of the build process, so we recommend building Open vSwitch before reading the manpages.

wifivoid


Ruby script for continuously jam all wifi clients and access points within range. The effectiveness of the script depends on your wireless card.
I've tested this well only under Ubuntu. Any feedback is welcome.

Requirements

Ruby version 1.9.3 or higher.
Wireless card capable of injection.

Usage

Simple usage example

ruby wifivoid.rb --adapter="wlan0"
from https://github.com/SValkanov/wifivoid

貓神揭秘:中共打造超級西朝鮮,閉關鎖國在即

年代向錢看 川普批WHO過度親中

surge-gen-jsbox


Surge3+配置管理器

安装

特性

  1. 支持多服务商订阅
  2. 便捷的策略编辑操作
  3. 第三方规则可视化更新

使用

  1. 点击界面最上方“铅笔”按钮,导入基础配置文件,删除配置文件中不需要的节点([Proxy]下)
  2. 退回主界面,此时主界面会根据策略组进行刷新
  3. 点击主界面最上方“云朵”按钮,添加服务商提供的托管地址,用于获取节点信息
  4. 退回主界面,点击最上方“刷新”按钮,拉取节点信息
  5. 根据自己的需求安排策略组,点击PROXIES下节点进行移除,点击MORE下节点进行添加
  6. 点击Generate按钮尝试生成,如果无法生成,脚本会自动导航到节点不存在的策略组中,修复所有问题即可生成

更新配置

由于Surge3+支持RULE-SET可以远程下载规则,所以多数时间我们并不需要使用脚本修改规则
但是脚本中提供了一个DIFF工具,使用这个工具,可以将当前的配置文件和规则维护者的配置文件进行比较,并且选择需要的更新进行合并

具体操作

  1. 点击界面最上方“铅笔”按钮,打开基础文件编辑界面
  2. 点击界面底部左边的按钮,输入远端配置文件地址,点击确定
  3. 在打开的界面中,根据提示进行修改
提示类型:
  • 绿色:本地文件增加内容
  • 红色:远端文件多余内容
当点击提示时,对应的内容会被删除,当所有内容检查完毕后,点击Save按钮即可保存配置文件
此处操做类似于git diff.

from https://github.com/Fndroid/surge-gen-jsbox 

maxthon浏览器的mac版

http://dl.maxthon.cn/mac5/Maxthon-r5.1.134.180827.dmg
https://www.maxthon.cn/mx5/mac/dl?m=mx5

from https://www.maxthon.cn/mac/

用了一下,似乎不错。它没有“代理设置”,因此只能通过vpn或全局代理让它翻墙。

linux上的可执行文件的压缩工具upx

UPX - the Ultimate Packer for eXecutables.

INTRODUCTION
============

UPX is an advanced executable file compressor. UPX will typically
reduce the file size of programs and DLLs by around 50%-70%, thus
reducing disk space, network load times, download times and
other distribution and storage costs.

Programs and libraries compressed by UPX are completely self-contained
and run exactly as before, with no runtime or memory penalty for most
of the supported formats.

UPX supports a number of different executable formats, including
Windows 95/98/ME/NT/2000/XP/CE programs and DLLs, DOS programs,
and Linux executables and kernels.

UPX is free software distributed under the term of the GNU General
Public License. Full source code is available.

UPX may be distributed and used freely, even with commercial applications.
See the UPX License Agreement for details.

UPX is rated number one in the well known Archive Comparison Test. Visit
http://compression.ca/ .

UPX aims to be Commercial Quality Freeware.


SHORT DOCUMENTATION
===================

'upx program.exe' will compress a program or DLL. For best compression
results try 'upx --brute program.exe'.

Please see the file UPX.DOC for the full documentation. The files
NEWS and BUGS also contain various tidbits of information.


DISCLAIMER
==========

UPX comes with ABSOLUTELY NO WARRANTY; for details see the file LICENSE.

Having said that, we think that UPX is quite stable now. Indeed we
have compressed lots of files without any problems. Also, the
current version has undergone several months of beta testing -
actually it's almost 8 years since our first public beta.

This is the first production quality release, and we plan that future
releases will be backward compatible with this version.

Please report all problems or suggestions to the authors. Thanks.


THE FUTURE
==========

- AArch64 (64-bit ARM) for Linux and iOS.

- The Linux approach could probably get ported to a lot of other Unix
variants, at least for other i386 architectures it shouldn't be too
much work. If someone sends me a fresh hard disk and an official
FreeBSD/OpenBSD/NetBSD/Solaris/BeOS... CD I might take a look at it ;-)

- We will *NOT* add any sort of protection and/or encryption.
This only gives people a false feeling of security because
by definition all protectors/compressors can be broken.
And don't trust any advertisement of authors of other executable
compressors about this topic - just do a websearch on "unpackers"...

- Fix all remaining bugs - keep your reports coming ;-)

- See the file PROJECTS in the source code distribution if you want
to contribute.

frm https://github.com/upx/upx

https://github.com/upx/upx/releases/latest
-------------------------------------------


UPX is a free, portable, extendable, high-performance executable packer for several executable formats.



Please also see the Wikipedia entry for some more background info.


Blog Posts




Overview



UPX achieves an excellent compression ratio and offers very fast decompression. Your executables suffer no memory overhead or other drawbacks for most of the formats supported, because of in-place decompression. UPX strengths in a nutshell:


  • excellent compression ratio: typically compresses better than WinZip/zip/gzip, use UPX to decrease the size of your distribution!

  • very fast decompression: ~10 MB/sec on an ancient Pentium 133, ~200 MB/sec on an Athlon XP 2000+.

  • no memory overhead for your compressed executables because of in-place decompression.

  • safe: you can list, test and unpack your executables. Also, a checksum of both the compressed and uncompressed file is maintained internally.

  • universal: UPX can pack a number of executable formats.

  • portable: UPX is written in portable endian-neutral C++.

  • extendable: because of the class layout it's very easy to add new executable formats or new compression algorithms.



Linux-Remote-Desktop-Environment一键安装脚本

One-click installation of Desktop environment, RDP, Windows support, Office Tools for Linux. 

Features:
  1. Install the desktop environment and RDP remote desktop connection for your Linux (CentOS/Debian/Ubuntu ) with one click.
    (You need a newly installed Linux System, the Recommended Hardware requirements are: CPU core ≥ 1, Memory ≥ 1GB, Disk space ≥ 15GB. The higher the hardware configuration, the better. You can also try running Debian with a low hardware configuration, but it may run slowly.)
    Recommended system : [Original] Network one-click Reinstall CentOS 7 (Official, Pure, Safe, Efficient) URL : https://tech.cxthhhhh.com/linux/2018/07/30/original-network-one-click-reinstall-centos-7-official-pure-safe-efficient-en.html
  2. Windows application support. (via Wine)
    (Install Wine X64 and X86, now you can Run Windows applications On Linux.)
  3. Create a 3GB Swap Memory. Avoid errors caused by insufficient memory.
    (Swap Location: /var/swapd)
  4. Install Chinese input environment, Chinese support.
    (Without a Chinese environment, you will not be able to view Chinese fonts. Will lead to coding confusion.)
  5. Install software that people recommend, such as Browsers, Office tools and Input methods.
    (I posted a survey here https://www.hostloc.com/thread-466449-1-1.html and https://www.hostloc.com/thread-473982-1-1.html. Respect the results of the survey, Chrome、Firefox、WPS International、FileZilla are installed.)
  6. Install the Remote Desktop client. (Remmina allows you to connect and manage other computers or Server.) (Support RDP/SSH/NX/SFTP/VNC/XDMCP protocol)
Let's get started (via root user)
wget --no-check-certificate -qO ~/Linux-Remote-Desktop-Environment.sh 'https://tech.cxthhhhh.com/tech-tools/Linux-Remote-Desktop-Environment/Linux-Remote-Desktop-Environment.sh'&& chmod a+x ~/Linux-Remote-Desktop-Environment.sh
(CentOS 7+) bash ~/Linux-Remote-Desktop-Environment.sh -CentOS
(Debian 9+) bash ~/Linux-Remote-Desktop-Environment.sh -Debian
(Ubuntu 18.04+) bash ~/Linux-Remote-Desktop-Environment.sh -Ubuntu
Now that you have done it, you can connect via RDP (IP: 3389)
(Please note that it is generally not recommended to use the root user, so the user [RdpUser] is automatically created with the password [cxthhhhh.com] and you should change the default password as soon as possible.)
You should check out my tutorial to find out what you need to pay attention to.
Tutorial name : [Original] One-click installation of Desktop environment, RDP, Windows support for Linux
URL : https://tech.cxthhhhh.com/linux/2018/08/07/original-one-click-installation-of-desktop-environment-rdp-windows-support-for-linux-en.html
Version 2.0.2 (stable version) Updated on Sep 11, 2018

SOCKS proxy server app,PySocksD

坊间流传过的《太子党纲领》

默克尔称 : 2020年将是人类的永久分水岭;普京发誓调查病毒是否人工合成……国际社会的强烈反应,为冷战终结以来所罕见,如果面对的是"生化战"的惊天杀器,大伙儿已经输了第一局,相比当年珍珠港被偷袭,后来美国反败为胜,靠的竟是三条破航母和中途岛的运气,并无任何神技,那么这次呢?倘若再去回味这份《纲领》,那边并未"崩溃",反倒又演成一幕"珍珠港"


大概2013年左右,坊间传出一份《太子党纲领》,满地的"碎眼镜":
——"绝不做亡国之君",必须"重整山河",整顿官僚队伍,重新确立党的优良传统,恢复马列毛信仰,挽狂澜于即倒;
——要记取苏联亡党亡国的历史教训,绝不做戈尔巴乔夫,致使在历史转折关头,竟无一人是男儿,无人救党救国;
——停止继续批毛,否则会天下大乱;
——坚决反击普世价值和宪政道路,夺回意识形态阵地的领导权主导权;
——我们手中的这个政权,是全世界最有钱的政府,控制了巨大的财富,即两个一百万亿(100万亿国有资产和100万亿现金),国家主义主导的"中国模式"已经成功,下一步要开疆拓土、资本输出、万方来朝,完成一系列战略举措;
——到2021是两个一百年:建党一百周年、从毛到习一百年,实现GDP人均从6000美元达到12000美元、经济总量从五十万亿人民币翻到七八十万亿,接近美国,坐稳世界老二的位置,国力军力超过当年苏联,成为东半球老大,并正式开始G2格局下的中美共治,这就是中国梦。
太子党在政治上退回"毛泽东时代",已遭举世诟病,无需赘言,无论北京的花招是什么,诸如"路论"、"梦论"、"鞋论"、"三个自信"、"中国模式",以及打通两个"三十年",眼花缭乱,其核心仍然是一个毛幽灵,难怪坊间都服气崔健的一句话:"只要天安门上还挂着毛泽东像,我们就还是同一代人。"
接下来的六年,是"少东家王朝"的试运行期,果然"全国山河一地鸡毛":杭州G20峰会的超豪华接待,是万国来朝的迷梦,也是对习近平的造神运动;冰封房地产市场则是多标靶射击,既想维护金融稳定,又要为将来的房地产税征收运动关门杀猪;国税总局对地方税务政策出尔反尔的否定,对包括演艺界在内诛求无度的征敛;北京则对外来打工移民的打砸暴力驱逐;各地政府朝令夕改,强行拆除商家店铺的牌匾;外交上毫无理性地肆意撒币送钱,广交各种国际流氓,又因长期不遵守WTO而与西方交恶,应对美国贸易战色厉内荏;在所有领域全面恶化下,搞军改、造航母、闯公海,一幅张牙舞爪的国际牛二嘴脸,令海内外皆倒吸一口凉气,人们惊觉这就是当年的"重庆模式",一个没有薄熙来的"红二代"政权,也是中共试图锁死中国的未来模式,大致是四步:
1、继续加强意识形态控制;
2、加大力度打击一切具有公民社会特征的组织性与非组织性力量;
3、进一步搜刮中高经济阶层,其中部分收益用以收买底层的安于奴役;
4、扩军备战,走军国主义道路,在政权面临严重危机时发动战争以解困。
中国政法大学法学院副教授萧瀚,2018年岁末在他的博客上写道:
我们的沉默,是提前自办的葬礼;
扭头闭目的,是提前自掘的坟场。
然而西方看中国,是另一只眼:
毛时代积累起来的农村剩余劳动力越来越少
计划生育平均年龄越来越大,
大量烧煤炼钢的高污染增长模式走到尽头,
水和土地污染、雾霾的受害者是底层民众和中产阶级
房地产泡沫因大量空置房而面临拐点,各级财务将断,
民众的相对被剥夺感高于任何时期
体制的支持者越来越被掏空,
总之,廉价劳力和土地资源,这两项中国起飞的红利告罄,
当局曾非常依赖的物质资料正在消失,
美国各智库均提醒白宫:是应对中共崩溃的时候了!
Viewing all 20515 articles
Browse latest View live