? Editing: Post:21.body Save Delete Cancel
Content changed Sign & Publish new content

IT小世界

软件/Linux/Python/PHP

Follow in NewsfeedFollowing

Latest comments:

DRM Removal Tools for eBooks #Calibre #Kindle

on Jan 02, 2018
Read more

20110420 | 黑客的含义 - 阮一峰的网络日志

on Oct 12, 2017

http://www.ruanyifeng.com/blog/2011/04/on_hacker.html

自由软件基金会创始人Richard Stallman说:

"出于兴趣,解决某个难题,不管它有没有用,这就是黑客。" (Playfully doing something difficult, whether useful or not, that is hacking.)

根据Richard Stallman的说法,黑客行为必须包含三个特点:好玩(playful)、高智商(cleverness)、探索精神(exploration)。只有行为同时满足这三个标准,才能被称为"黑客"。另一方面,它们也构成了黑客的价值观,黑客追求的就是这三种价值,而不是实用性或金钱。

1984年,《新闻周刊》的记者Steven Levy出版了历史上第一本介绍黑客的著作《黑客:计算机革命的英雄》(Hackers: Heroes of the Computer Revolution)。在该书中,他进一步将黑客的价值观,总结为六条"黑客伦理"(hacker ethic),直到今天都被视为这方面的最佳论述:

1. 使用计算机,不应受到任何限制。任何事情都应该亲手尝试。(Access to computers--and anything that might teach you something about the way the world works--should be unlimited and total. Always yield to the Hands-On Imperative!)

2. 信息应该全部免费。(All information should be free.)

3. 不信任权威,提倡去中心化。(Mistrust Authority--Promote Decentralization.)

4. 判断一个人应该看他的技术能力,而不是看其他标准。(Hackers should be judged by their hacking, not bogus criteria such as degrees, age, race, or position.)

5. 你可以用计算机创造美和艺术。(You can create art and beauty on a computer.)

6. 计算机使生活更美好。(Computers can change your life for the better.)

根据这六条"黑客伦理",黑客价值观的核心原则可以概况成这样几点:分享(Sharing)、开放(Openness)、民主(Decentralization)、计算机的自由使用(Free access to computers)、进步(World Improvement)。

"黑客伦理"的一个必然推论,就是黑客不服从管教,具有叛逆精神。

黑客通常对管理者强加的、限制他们行为的愚蠢规定不屑一顾,会找出规避的方法。一部分原因是为了自由使用计算机,另一部分原因是为了显现自己的聪明。比如,计算机设备的各种安全措施,就是最常被黑客破解的东西。

Steven Levy对这一点,有过一段生动的描述:

"对于黑客来说,关着的门就是一种挑衅,而锁着的门则是一种侮辱。......黑客相信,只要有助于改进现状、探索未知,人们就应该被允许自由地使用各种工具和信息。当一个黑客需要一样东西,来帮助自己创造、探索、或者改正某种设备时,他不会自找麻烦,接受那些财产专有权的荒谬概念。"

Read more

GoldenDict 词库下载 #英语词典 #ed2k

on Oct 04, 2017
  1. American Heritage Dictionary.bgl (57MB)
  2. Babylon_Chinese_S_English.BGL (1.68MB)
  3. Babylon_English.BGL (7.52MB)
  4. BabylonEnglish_Chinese_S.BGL (2.54MB)
  5. Collins Cobuild Audio Dictionary.dsl.dz (591.83KB)
  6. Collins Cobuild Audio Dictionary.dsl.files.zip (465.08MB)
  7. CollinsCobuildEnEn.dsl.dz (8.4MB)
  8. En-En_Cambridge Advanced Learners Dictionary.dsl.dz (14.62MB)
  9. En-En_Cambridge Advanced Learners Dictionary.dsl.files.zip (276.66MB)
  10. En-En-Longman_Pronunciation.dsl.dz (3.28MB)
  11. En-En-Longman_Pronunciation.dsl.dz.files.zip (565.65MB)
  12. En-En-Longman_Pronunciation_abrv.dsl.dz (277)
  13. En-En_Merriam-Webster's Advanced Learner's Dictionary.dsl.dz (9.81MB)
  14. En-En-MWCollegiate11.dsl.dz (12.93MB)
  15. En-En-MWCollegiate11.dsl.dz.files.zip (569.9MB)
  16. En-En_Oxford Advanced Learners Dictionary.dsl.dz (22.86MB)
  17. En-En_Oxford Advanced Learners Dictionary.dsl.files.zip (558.88MB)
  18. Essential English-Chinese Dictionary.ld2 (890.16KB)
  19. Langdao E-C Dictionary.ld2 (12.38MB)
  20. Longman DOCE5.dsl.dz (16.89MB)
  21. Longman DOCE5.dsl.files.zip (1.26GB)
  22. Merriam-Webster Collegiate Dictionary.BGL (35.06MB)
  23. Modern Chinese Dictionary.ld2 (3.55MB)
  24. Oxford Advanced Learner's Dictionary 7.bgl (41.59MB)
  25. OxfordAmericanDictionaryEnEn.dsl.dz (14.16MB)
  26. OxfordDictionaryEnEn.dsl.dz (13MB)
  27. Oxford English Dictionary Full Edition.dsl.dz (27.49MB)
  28. Oxford_Talking_Dictionary.bgl (28.86MB)
  29. Random House Webster's Unabridged Dictionary.dsl.dz (18.32MB)
  30. SoundEn.lsa (54.26MB)
  31. TOEFL Vocabulary.ld2 (8.22MB)
  32. Vicon English-Chinese(S) Dictionary.ld2 (2.84MB)

  33. Webster's Collegiate Dictionary.dsl.dz (13.36MB)

  34. Webster's Collegiate Dictionary.dsl.files.zip (551.9MB)

  35. WordNet 3.0 (En-En).dsl.dz (20.68MB)

  36. 美国传统词典双解版.bgl (23.42MB)

  37. 牛津高阶英汉双解词典第四版.bgl (12.15MB)

  38. 宋词鉴赏大辞典.mdx (2.35MB)

  39. 现代汉英综合大辞典.bgl (11MB)
  40. 现代英汉综合大辞典.bgl (13.08MB)
  41. 新牛津美语大词典.bgl (10.11MB)
  42. 新牛津英汉双解词典.bgl (17.12MB)
  43. 中国诗词辞典.mdx (16.14MB)
Read more

MLDonkey 临时目录、下载保存目录、共享目录设置

on Oct 04, 2017

temp_directory:在 Options → Files 下修改,输入目录名,按回车保存修改。

mldtemp.png (627x360)

incoming_directories 和 incoming_files 在 ~/.mldonkey/downloads.ini 内修改。

mldsave.png (518x237)

在 Options → Shares 中查看和设置共享目录。点击“Add Share"添加共享目录。

mlshare.jpg (814x680)

mlshareset.jpg (813x272)

预设的共享策略如:

  • "all_files": recursively all files (default)
  • "only_directory": not recursive, all files

参考:http://mldonkey.sourceforge.net/Share

20060210 | Gentoo Forums :: View topic - [Mldonkey] How to change the path of incoming files?

Read more

Simplenote

on Oct 02, 2017
Read more

dnsmasq.conf 参考示例

on Oct 02, 2017
listen-address=192.168.0.115,127.0.0.1

no-resolv
no-poll
server=208.67.222.222
server=208.67.222.220
server=208.67.220.222
server=208.67.220.220
server=8.8.8.8
server=8.8.4.4
server=/.ubuntu.com/223.5.5.5
server=/.cn/223.5.5.5
server=/.163.com/223.5.5.5
server=/360buyimg.com/223.5.5.5
server=/alicdn.com/223.5.5.5
server=/alipay.com/223.5.5.5
server=/yeeyan.org/223.5.5.5
server=/yhd.com/223.5.5.5

address=/.51yes.com/127.0.0.1
address=/.allyes.com/127.0.0.1
address=/.cnzz.com/127.0.0.1
address=/.cnzz.net/127.0.0.1
address=/cpro.baidu.com/127.0.0.1
address=/cpro.baidustatic.com/127.0.0.1
address=/.jiathis.com/127.0.0.1
address=/.miaozhen.com/127.0.0.1
address=/.tanx.com/127.0.0.1
Read more

Freeplane #思维导图

on Sep 26, 2017
Read more

20111009 | 自由軟體心智圖 #自由软件

on Sep 26, 2017
Read more

20130408 | Bill Gates與Paul Allen於1981、2013的同一地點合影 | 簡睿隨筆

on Sep 20, 2017

光陰似箭,歲月如梭-32年匆匆而過。微軟創辦人Bill Gates與Paul Allen在西雅圖的電腦博物館(Living Computer Museum (LCM))合影。

https://www.geek.com/news/bill-gates-and-paul-allen-recreate-32-year-old-microsoft-photo-1551090/

billgates19812013.jpg (687x763)

Read more

Firefox Multi-Account Containers #浏览器扩展

on Sep 18, 2017

https://addons.mozilla.org/zh-CN/firefox/addon/multi-account-containers/

FMAC.jpg (1280x720)

允许用户在同一个网站同时登陆多个账号。这样用户就再不需要使用多个浏览器或同一个浏览器一个普通模式一个隐身模式,以实现在同一网站登录多个账号。安装完这个插件后,可以通过不同颜色的标签来追踪所有不同的账户。在地址栏中,还会看到当前标签属于哪个会话的识别性文本,以避免混淆。

参考:

Read more

rime 输入法词库若干

on Aug 31, 2017

rime_luna_pinyin_dict_yaml_20170831.7z

ed2k (2.5MB)

  1. luna_pinyin.acg.dict.yaml
  2. luna_pinyin.cn_en.dict.yaml
  3. luna_pinyin.cy.dict.yaml
  4. luna_pinyin.extended.dict.yaml
  5. luna_pinyin.hanyu.dict.yaml
  6. luna_pinyin.house.dict.yaml
  7. luna_pinyin.it.dict.yaml
  8. luna_pinyin.law.dict.yaml
  9. luna_pinyin.new.dict.yaml
  10. luna_pinyin.poetry.dict.yaml
  11. luna_pinyin.sc.dict.yaml
  12. luna_pinyin.sc2.dict.yaml
  13. luna_pinyin.travel.dict.yaml
  14. luna_pinyin.w.dict.yaml
  15. mysymbols.yaml

rime_luna_pinyin_dict_yaml_201702.jpeg (921x900)

rime_luna_pinyin_dict_yaml_201701.jpeg (921x900)

Read more

20080820 | Start a VNC Server on Ubuntu on Boot | Andrew Berry Development #树莓派 #Raspberry Pi #VNC 自启动

on Aug 28, 2017

http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot/

/etc/init.d/vncserver

#!/bin/sh -e
### BEGIN INIT INFO
# Provides:          vncserver
# Required-Start:    networking
# Default-Start:     3 4 5
# Default-Stop:      0 6
### END INIT INFO

PATH="$PATH:/usr/X11R6/bin/"

# The Username:Group that will run VNC
export USER="mythtv"
#${RUNAS}

# The display that VNC will use
DISPLAY="1"

# Color depth (between 8 and 32)
DEPTH="16"

# The Desktop geometry to use.
#GEOMETRY="<WIDTH>x<HEIGHT>"
#GEOMETRY="800x600"
GEOMETRY="1024x768"
#GEOMETRY="1280x1024"

# The name that the VNC Desktop will have.
NAME="my-vnc-server"

OPTIONS="-name ${NAME} -depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"

. /lib/lsb/init-functions

case "$1" in
start)
log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
;;

stop)
log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
;;

restart)
$0 stop
$0 start
;;
esac

exit 0

Make the script executable with sudo chmod +x /etc/init.d/vncserver.

run sudo update-rc.d vncserver defaults.

Read more

Python - requests

on Aug 23, 2017

http://python-requests.org/

https://github.com/requests/requests

http://docs.python-requests.org/en/master/user/advanced/

安装:$ pip install requests

或:

$ git clone git://github.com/kennethreitz/requests.git
$ cd requests
$ python setup.py installhttp://docs.python-requests.org/en/latest/user/install/#install

Socks 支持:

$ pip install requests[socks]

基本应用:

import requests
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/55.0.8767.44 Safari/537.21'}
proxies = {'http': 'http://127.0.0.1:7777','https': 'http://127.0.0.1:7777',}

baidu = requests.get('https://www.baidu.com/',headers=headers,proxies=proxies,timeout=200)
print(baidu.content.decode())
baidu.close()
Read more

Virtual Volumes View (VVV) #跨平台的磁盘文件索引

on Aug 22, 2017

http://vvvapp.sourceforge.net/

http://portableapps.com/apps/utilities/virtual_volumes_view_portable

VVV0-0.jpg (1266x527)

vvv0-1.jpg (1266x725)

VVV0-2.jpg (461x383)

搜索语法

  • and: billboard +2013
  • not: billboard -2013
  • or: billboard 2013
  • "text1 text2"
Read more

Dukto #跨平台的局域网文件传输软件

on Aug 20, 2017
Read more
Add new post

Title

21 hours ago · 2 min read ·
3 comments
Body
Read more

Not found

Title

21 hours ago · 2 min read

0 Comments:

user_name1 day ago
Reply
Body
This page is a snapshot of ZeroNet. Start your own ZeroNet for complete experience. Learn More