paul graham_骇客(Paul Graham)的网页

paul graham

paul graham

I recently stumbled upon the site of Paul Graham, who is one of the three guys that created maybe the first online store, now sold to Y!. I like his essays very much and highly recommend them to everybody who has something to do with the web or programming. Part of his essays are listed on his site and part are in his book, "Hackers and Painters"

最近,我偶然发现了Paul Graham的网站,他是创建第一个在线商店的三个人之一,现在卖给了Y!。 我非常喜欢他的论文,并强烈推荐给与网络或编程有关的每个人。 他的文章中有一部分列在他的网站上另一部分则在他的书《黑客与画家》中

I wanted to print some of the essays to read on my train ride, but I saw that the text on the pages is in a narrow fixed width table column, which is a waste of paper when you print (and also thicker and heavier to carry ;)) Let me show you how I used a bookmarklet available from the squarefree.com collection to fix this problem.

我想打印一些文章以便在火车上阅读,但是我看到页面上的文本在狭窄的固定宽度表格栏中,这在您打印时浪费了纸张(并且更厚,更重) ;))让我向您展示如何使用squarefree.com集合中提供的书签来解决此问题。

1) The page in question, viewed 800x600 pixels (these are all clickable thumbnails, btw)

1)有问题的页面,以800x600像素查看(这些都是可点击的缩略图,顺便说一句)

2) Print preview shows 25 pages and a lot of blank space on the right

2)打印预览显示25页,右侧有很多空白

3) Enters Edit Page bookmarklet

3)输入“编辑页面”书签

4) See these squares, they mark the edges of the content table. The orange dot is for removing a column. We remove the nav menu, we don't need it.

4)看到这些正方形,它们标记内容表的边缘。 橙色点用于删除列。 我们删除了导航菜单,我们不需要它。

5) The menu's gone, we've played around with the date and the title of the article, just because we can 😉 Now we'll be dragging that black square.

5)菜单消失了,我们只用日期和标题来代替它,只是因为我们可以😉现在我们将拖动该黑色正方形。

6) Dragging... until we think fits.

6)拖动...,直到我们认为合适为止。

7) The result.

7)结果。

This is 16 pages, where the last one is just a footer, so it's 15. 15 pages vs. 25, not bad for a few clicks! Long live the bookmarklets!

这是16页,最后一页只是页脚,因此是15页。15页对比25页,单击几下还不错! 小书签万岁!

Tell your friends about this post on Facebook and Twitter

FacebookTwitter上告诉您的朋友有关此帖子的信息

翻译自: https://www.phpied.com/hacking-the-hackers-paul-grahams-page/

paul graham

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值