编程界书籍推荐

编程界也有很多经典书籍,而且这些经典书籍很多都有一个霸气的别名,如编译原理领域有“龙书”“虎书”“鲸书”的说法,听起来是不是瞬间高大上了。

其实,这些书的别名主要根据封面、作者姓名首字母、书名首字母来命名的。下面,我们就来盘点下编程界的龙书、虎书、鲸书、橡书、犀牛书、蝴蝶书...都是指哪些?

首先来看看依据封面命名的书籍。

编译原理三大圣书:

1、《编译原理》(龙书)

《编译原理》最新版

本书深入讨论了编译器设计的重要主题,包括词法分析、语法分析、语法制导分析、类型检查、运行环境、中间代码生成、代码生成、代码优化等。并在最后两章讨论了实现编译器的一些编程问题和几个编译器实例。

”龙书“的由来:1977年的封面是一个骑士和一只恐龙,因此第一次被人们叫做龙书,而且那条龙是绿色的,所以又叫绿龙书。再次之后随着不断的改版,又相继出现了红龙书、紫龙书。

2、《现代编译原理:C语言描述 》(虎书)

《现代编译原理:C语言描述》修订版

在编译领域,“虎书”和“龙书”齐名。虎书出版的比较晚,与“龙书”相比,内容上增加了数据流分析、循环优化、内存管理等内容。上图为上个月才出版的修订版。

”虎书“的由来:第一版封面是一只老虎,因此也被人们叫做“虎书”,本书使用的是更适合广大读者的C语言,而另外两本书分别采用ML语言和Java语言。

3、《高级编译器设计与实现》(鲸书)

对于鲸书来说,出版的时间比“龙书”和“虎书”晚,它不但包含了起那两本书的内容,而且还涵盖其中包含了一些比较高级的编译器的设计和实现,是针对有一定基础的人群来学习的。

4、《编译器设计》 (象书)

此书也被称为象书,虽然没有被列入编译原理三大圣书名单,但内容还是相当不错的。

主要介绍编译器构造法中的艺术和科学。书中深入分析现代编译器后端所用的算法和技术,重点讨论代码优化和代码生成,详细介绍了用几个编程语言编写的示例等。

5、《OpenGL编程指南(第八版)》 (红宝书)

《OpenGL编程指南》素有“OpenGL红宝书”之誉。本书以清晰的语言描述了OpenGL的功能以及许多基本的计算机图形技巧,内容详实,讲解生动,图文并茂,是OpenGL程序员的绝佳编程指南。

6、《OpenGL超级宝典》 (蓝宝书)

《OpenGL超级宝典》素有“OpenGL蓝宝书”之誉。是OpenGL及3D图形编程最好的入门指南,书中涵盖了使用最新版本的OpenGL进行编程所需要的主要知识。

7、《OpenGL着色语言》(橙宝书)

《OpenGL着色语言》全面覆盖从算法到API,书中更含丰富的API函数参考及顶级的案例分析。要求读者需要具有一定的数学知识,适合有兴趣编写着色器的应用程序开发人员,可作为GLSL开发者的参考手册。本书还有“OpenGL蓝宝书”的称号

8、《DirectX 9.0 3D游戏开发编程基础》 (红龙书)

主要介绍如何使用DirectX 9.0开发交互式3D图形程序,重点是游戏开发。全书首先介绍了必要的数学工具,然后讲解了相关的3D概念。

几乎涵盖了Direct3D中的所有基本运算,所以作为入门书籍还是不错的,它的封面是一条红色的龙,因此也被称之为红龙书

9、《计算机程序的构造和解释》 魔法书

这本书的称号就比较多了,被称为是计算机语言界的魔法书、紫皮书、巫师书以及SICP。本书要讨论的各种问题都牵涉到三类需要关注的对象:人的大脑、计算机程序的集合以及计算机本身。如今已经被世界各地100多所高校采用作为教材

10、《Java高级程序设计》(红宝书)

提升JS水平经典的红宝书,。全书从Java 语言实现的各个组成部分以及离线应用和与维护、性能、部署相关的最佳开发实践。适合有一定编程经验的Web 应用开发人员阅读。

11、《Java权威指南》 (犀牛书)

本书全面介绍了Java语言的核心,以及Web浏览器中实现的遗留和标准的DOM。它运用了一些复杂的例子,说明如何处理验证表单数据、使用cookie、创建可移植的DHTML动画等常见任务。封面是一头犀牛,因此也叫犀牛书

12、《Java语言精粹》(蝴蝶书)

这本书只有100来页,可以很快看完,故名“精粹 ”。蝴蝶书的作者是道格拉斯·克罗克福特(Douglas Crockford,JSON的缔造者),蝴蝶书对于了解JS的基础知识,比如对象,数组,语法,作用域,闭包等等都颇有帮助,在JS的代码风格上也给出不少好的建议。

13、《编写可维护的Java》 (乌龟书)

《编写可维护的Java》内容涵盖了编码风格、编程技巧、自动化、测试等几方面,既包括具体风格和原则的介绍,也包括示例和技巧说明,最后还介绍了如何通过自动化的工具和方法来实现一致的编程风格。

14、《Java Web 富应用开发》 (猫头鹰书)

《Java Web 富应用开发》本书系统而深入的讲解了如何使用最前沿的Web技术构建下一代互联网富应用程序。因封面是头猫头鹰,因此也被称之为猫头鹰书

有些书的称号则是来根据作者命名的:

15、《算法导论》 (CLRS )

这本书全面地介绍了计算机算法。对每一个算法的分析既易于理解又十分有趣,并保持了数学严谨性。是由Thomas H.Cormen 、Charles E.Leiserson、Ronald L.Rivest 、Clifford Stein 这四位合著,四位作者的首字母为CLRS,因此这本书也被称为CLRS

16、《设计模式》 (GOF)

这本书结合设计实作例从面向对象的设计中精选出23个设计模式,总结了面向对象设计中最有价值的经验,并且用简洁可复用的形式表达出来。

《设计模式》一书由 Erich Gamma、Richard Helm、Ralph Johnson 和 John Vlissides 合著(Addison-Wesley,1995)。这几位作者常被称为"四人组(Gang of Four)",因此这本书也被称之为GOF

17、《C程序设计语言》( K&R)

我们现在见到的大量论述C语言程序设计的教材和专著均以此书为蓝本。原著第1版中介绍的C语言成为后来广泛使用的C语言版本——标准C的基础。人们熟知的“hello,World"程序就是由本书首次引入的。C程序设计语言一书由Brian W. Kernighan / (美)Dennis M. Ritchie 合著,因此此书也被称之为K&R

也有的书是根据书名的首个字母命名的,如下:

18、《深入理解计算机系统》 (CSAPP)

从程序员的视角,看计算机系统!它是CMU的神课Introduction to Computer Systems的教材,分别介绍了信息的表示和处理、程序的机器级表示、处理器体系结构、存储器层次结构等计算机系统相关内容,命名来自书名首字母《Computer Systems: A Programmer's Perspective》

19、《计算机程序设计艺术》(TAOCP)

《计算机程序设计艺术》系列是公认的计算机科学领域权威之作,深入阐述了程序设计理论,对计算机领域的发展有着极为深远的影响。命名同样来自书名首字母《the Art of computer programming 》。

比尔·盖茨曾说过,如果学完了3卷TAOCP,就把简历寄给他,由此可见,这本书在编程界的地位之高

你还知道哪些编程经典书籍有其他高逼格的叫法?可以留言告诉大家。

来自:程序员书库(微信号:CodingBook )

手机号码标记清除及恶意号码共享

码号服务推进组于2017年5月8日成立,在工业和信息化部指导下,中国信息通信研究院联合多家知名单位共 同发起,现有成员单位58家,旨在搭建跨行业码号资源产学研用交流、研讨、创新平台,针对跨行业码号资源的规范使用、数据共享、应用创新、趋势 发展等问题开展研究,支撑工业和信息化部相关工作,助力电信运营商与非电信行业企业共同探索互利共赢的发展新模式。

搭建跨行业电信网码号资源产学研用相关核心单位之间的研讨交流平台,针对 跨行业码号资源的规范使用、数据共享、应用创新、趋势发展等问题开展研究,支撑工业和信息化部相关工作,助力电信运营商与非电信行业企业共同探索互利共赢的发展新模式。

电信网码号资源服务平台由中国信息通信研究院主办,依托工业和信息化部全国电信网码号资源管理数据库,集中号码携带数据库及电信运营商(含移动转售企业)业务数据库,面向全社会码号数据应用单位及个人提供码号资源全生命周期信息发布,查询,共享服务的综合码号服务品台。

提供多个服务:

号码标记查询 http://www.opene164.org.cn/mark/index.html

号码误标记清除 http://www.opene164.org.cn/mark/index.html

恶意号码共享平台 http://mn.opene164.org.cn/

恶意号码共享平台正式发布
中国信息通信研究院组织,阿里安全钱盾反诈实验室牵头,中国电信、泰迪熊移动科技、电话邦、奇虎360科技、阿里通信一起参与共建恶意号码共享平台,于8月22日在北京网络安全生态峰会发布上线

 

一、通过本平台处理的误标记范围:

1、可处理的误标记类型:

a)用户使用的号码为“二次放号”号码(经电信运营商 回收后再次销售的号码),被标记为前用户相关信息;

b)标记显示名称与用户开户名称不一致。

2、可处理的号码范围:

a)中国联通的移动用户(暂不支持号码携带用户)

b)中国联通400 用户(4000、4006字头号码)

c)江苏联通固定电话用户

d)山东移动的移动用户(暂不支持号码携带用户)和固定电话用户

3、若申请符合“1”中所属误标记规则,服务商后台会完成号码标记清除,手机端号码标记清除会有一定延时,请耐心等待。

二、通过号码标记服务提供方处理的误标记范围:

如不在“一”中所述处理范围内,请通过本平台直接进入“标记服务商”平台,发起号码误标记“清除申请”。

 

阿里云免费版企业邮箱是否有到期日

免费版企业邮箱产品,目前没有收费计划,系统显示到期时间默认为1年,到期后会自动延长。如有变动,会提前在阿里云官网进行公告通知。

另外,请注意免费邮箱如果申请后7天内用户邮箱域名解析未设置生效,系统将收回此邮箱服务,再次使用此邮箱需要重新申请。

来源:https://help.aliyun.com/knowledge_detail/36712.html

所以说,如果你看到阿里云免费版企业邮箱有提示到期,然后让你升级,不用理会,到期后会自动延期1年的。不用担心。

目前可用的阿里云免费邮箱注册地址:

https://common-buy.aliyun.com/?commodityCode=alimail&specCode=lx_18482#/buy

建议选择5年.

招商证券著名的直播电商系列调研报告

”网红“报告 | 招商证券关于新零售行业研究之直播电商系列1:直播电商三国杀,从“猫拼狗”到“猫快抖”

罗永浩在微博和公众号发文称“看了招商证券那份著名的调研报告之后,我决定做电商直播了”,
团队初期选品会侧重数码科技产品、文创产品、图书、家具杂货以及零食小吃。

 

”网红“报告 | 招商证券关于新零售行业研究之直播电商系列1:直播电商三国杀,从“猫拼狗”到“猫快抖”

 

 

然后好奇之下找到了相关的招商证券调研报告看了一下,现免费分享,如侵权请联系我,必删.

 

招商证券调研报告-零售行业-新零售行业研究之直播电商系列1:直播电商三国杀,从“猫拼狗”到“猫快抖”

网盘下载: https://72k.us/file/16922972-431309748

 

招商证券调研报告-零售行业-新零售行业研究之直播电商系列2:从直播电商的春秋战国,看MCN的进阶之道

网盘下载: https://72k.us/file/16922972-431309740

 

 

备案中注销网站后遇到空壳主体的解决方法

起因:

在阿里云注销了备案的两个网站,然后阿里云的备案全部被清除了。

重新备案时,填写资料,进行备案,阿里云通知说备案主体在工信部有记录,无法进行备案。

后经查询得知,这种情况叫空壳主体。

通过回忆,想起来在景安备案过一个域名,注销了网站,但不记得是否注销主体,然后登录上去发现还真有主体的记录,然后提交注销主体操作,等待工信部进行审核注销。

 

总结:

备案分备案主体和备案网站两个信息,在不同的服务商处进行备案,都会有备案主体存在,如果部分服务商在不存在备案域名的情况下,不能保留备案主体信息,就无法在注销网站后进行重新备案,需在通信管理局注销备案主体。

原则上注销备案主体是要在服务商的备案平台进行操作。如果无法找到,也可以通过填写资料,邮件到各省对应的备案管理处进行线下操作,但不建议这样处理。

 

建议记录了备案过的相关信息,以备后面遇到问题,好解决。

 

扩展知识:

空壳主体:在工业和信息化部备案系统中,网站主办者的历史备案信息只存在主体信息,没有网站信息和接入信息。

空壳网站:在工业和信息化部备案系统中,网站主办者的历史备案信息中含有主体信息和网站信息,但(一个或多个网站)没有接入信息(即网站有备案号,但由于网站实际使用空间IP地址变更,之前空间接入商已将网站的备案信息取消接入,同时网站主办者并没有在新的空间接入商办理备案信息转接入)。

Pro Git(中文版)

 

https://gitee.com/progit/

 

https://www.progit.cn/

 

https://github.com/progit/progit2-zh

 

下载电子书

https://github.com/progit/progit2-zh/releases

 

英文原版

https://git-scm.com/book/en/v2

多国语言版

https://github.com/progit

PANTONE(彩通/潘通)

潘通(英语:Pantone Inc.)总部位于美国新泽西州卡尔士达特市(Carlstadt, NJ),是一家专门开发和研究色彩而闻名全球的权威机构,也是色彩系统的供应商,提供许多行业包括印刷及其他关于颜色如数字技术、纺织、塑胶、建筑以及室内设计等的专业色彩选择和精确的交流语言。
潘通于1962年由现任公司董事长、总裁兼首席执行官劳伦斯·赫伯特(Lawrence Herbert)所收购,当时只是为化妆品公司生产颜色卡的小公司。赫伯特于1963年推出第一本的“潘通配色系统”色标。
2007年10月,色彩管理与设备公司爱色丽以1.8亿美元收购潘通为全资子公司。

foldersync帮助

Help for FolderSync


General infoGetting startedFile managerSync statusAccountsFolderPairs


GeneralSchedulingSync optionsConnectionNotificationsAdvancedSync filtersSettingsAboutTaskerShortcutsTroubleshootingLimitations in lite versionUpgrading from lite version

General info


FolderSync uses the ActionBar pattern. FolderSync contains of the following sections:The dashboard where all areas of the app can be accessed quickly.File manager used to manage your files.Sync status screen where sync history can be seen.Accounts screen where cloud accounts can be created and edited.Folderpairs screen where sync folders can be configured.Settings screen where general settings can be configured.About screen where you can find info about license and support.


The dropdown in the top menu bar can be used to quickly jump to the different sections of the app.


To select items in lists, long-press them or tap the checkbox.


The three-dot icon to the right is an "overflow" menu that opens up additional options as seen on the image to the right. There you can access settings, help and about screen from all main sections of the application. Note: On older Android devices it may be necessary to use the menu button to access this menu.


Menu options that is accessible almost everywhere using the menu button:SettingsHelpAbout


Tip: To know what an icon does, long-press it and a help text will appear - no action will be taken when you do so.


Per default, FolderSync starts up in the dashboard mode. This can be changed on the settings screen.Contents

Getting started


If you want to set up a sync between two folders quickly, the first thing you want to do, is to create an account and then configure a folderpair.Go to the accounts screen, press the add account button and fill in your details.After you have configured your account, then open the folderpairs screen.Press the add new folderpair icon and enter a name.Select the local and remote folders you want to sync and choose sync type.Setup a schedule, if you want the sync to run automatically on a schedule.Press save and thats it.You can now sync the folderpair manually or it will sync when it's scheduled.


Tip: To sync manually either select folderpair in the folderpairs list and press sync now icon or add a shortcut to the home screen.


For more info on configuring a folderpair, see the folderpairs section.Contents

File manager


The file manager allows you to copy/move files to and from your accounts from the local sdcard, as well as move/copy files in a remote storage space. You can also rename files and folders and create new folders. Copying from one remote account to another is not supported, as this is not possible without using the local sdcard as a temporary storage space. Moving files locally on a cloud provider is not supported by all providers either.


To browse into a folder in the file manager, just tap the folder. To browse back presse the back-button or the parent icon in the list.


Menu options in the file manager:Create new folderSelect local pathSelect remote path (configured accounts)Select favoriteSelect all


To select a file or folder in the file manager long press it, or press the checkbox. If you normal press a file it will be opened or, if its a remote file, a dialog will open asking if you want to download an open the file. The opening will only succeed if you still have the file manager open when the download has finished. else the file will be available in the temp folder.


When you press the overflow menu in the file manager you are provides with extra options,. in addition to the three standard menu options. These are:Toogle view of hidden filesSort (with options to sort files on different criteria)Refresh (refreshes the files and folder view)Manage transfers (opens a window with transfers)Manage favorites


When you have selected one or more folders you are presented with these options:DeleteCopyCutRename (single selection only)Details (single selection only)Add favorite (single selection only)Media scan (will scan media files and add them to library)


When you have selected one or more files you are presented with these options:DeleteCopyCutRename (single selection only)Details (single selection only)Share (single selection only)Open with (single selection only)Media scan (will scan media files and add them to library)Compress to zip file (will compress to zip file with name of your choice)


To copy files manually from the SD card to a cloud provider or the other way around, selected the files you want to transfer, press the copy (or cut) icon, then browse to the folder where you want to paste the files (using a favorite shortcut for example). Then press the paste icon, that will have appeared on the actionbar. That will start the transfer of the files to the folder that are currently designated in the location bar.


When tapping a local file it will open in a default viewer, or you will be prompted to select an app.


When tapping a remote file, you will have the option to download automatically to a temp folder and then open it. If the file is streamable (video/audio) and the provider supports streaming, you will also have the option to stream the file to a player of your choice. I suggest VLC for video files.Contents

Sync status


The sync status windows provides you with the opportunity to see whats going on when syncing, and to view a history of past syncs that have occurred. It also informs you when the next sync check will run. A sync check is not a sync, but just a periodic check FolderSync does to check if anything needs to be synced. If no scheduled/instant syncs are configured, then this is not set.


Successful syncs will have a green icon, either containing a check mark or plus character. The latter is present when a sync has transferred actual files. A yellow icon indicates a sync has errors.


If you click on an item in the sync history, you will be able to see a detailed log of events for the sync.


Menu options in the sync status screen:Sync now (sync all folderpairs that are allowed)Select all (select all sync logs)Cancel syncing (if sync is in progress)Delete (if sync logs selected)View log (if single sync log selected)Contents

Accounts


The accounts screen is where you create and manage your cloud accounts.


The first thing to do in FolderSync is create an account to use for syncing with cloud storage. You will be required to provide your login credentials, either directly in FolderSync or on the provider webpage for those using OAuth authentication. If you do not already have an account you can create one for free at the applicable vendor website, if you want to use SkyDrive, Dropbox, SugarSync, Google Drive, Ubuntu One, Box or Amazon S3 cloud storage..


Menu options in the accounts screen:Add accountDelete account (if accounts selected)Edit account (if single account selected)


Press the add account icon represented as a cloud with a plus icon. That will bring up menu where you are asked to select provider type. Choose the type you want.


To activate an cloud account, using OAuth authentication, press [Authenticate account]. Then a website asking for your login credentials to your account will open - FolderSync will not know your password, as the cloud provider will generate an OAuth token it returns to FolderSync, when you have signed in. When that happens you will be able to see your quota for your cloud provider.


Depending on the account type, this process may be different. Some cloud providers does not support OAuth authentication. For those provider types where FolderSync need to store credentials, they are stored in encrypted form.


If you want to use Samba/Windows shares, FTP, SFTP or WebDAV, you have to set it up on a server or your home PC, or have access to an existing account. Explaining how setup this is not in the scope of this help text, but try using Google.


When not using OAuth, FolderSync provides an option to test your entered account settings using the [Test connection] button, to see if it can connect to the selected provider with the server address and credentials you have entered.


When entering a server address, never enter protocol type and never enter folders. Just enter a server address or IP address, eg. "www.server.com" or "11.22.11.43". If you need to define a start folder for your server, enter it in the start folder field.Contents

FolderPairs


A FolderPair is a definition of a sync that you want this application to perform. A folderpair defines a sync between a local folder on your device and a remote folder for your chosen provider type. A sync can sync files to remote cloud storage, to your local storage or both ways.


Menu options in the folderpairs screen:Add folderpairSelect allDelete (if folderpairs selected)Sync now (if folderpairs selected)Copy folderpair (if single folderpair selected)Edit folderpair (if single folderpair selected)View log (if single folderpair selected)


Press the add folderpair icon to add a new folderpair. Then the first thing you do, after entering a name for your folderpair, is to select an account to use. If you have not already configured an account, do this before setting up a folderpair or use the built-in SD Card account if you want to sync locally on your device between two folders. When an account has been selected, and it is properly configured, you will be able to browse the remote file system for your cloud provider, when clicking the remote folder input field, and chose the folder to be used when syncing. Similarly you can choose which local folder to use.


Additionally you can define various parameters for each sync: which network connection it should be allowed to use, allowed/disallowed SSID's, if sub folders or hidden files are to be synced and if you want a scheduled sync to run automatically or at certain times.


Syncing
Syncing occurs according to the schedule you have defined for each folderpair. If a schedule is not defined the folderpair will only be synced if you manually initiate it. If no network connection is set to be allowed for a folderpair it will never sync, not even if you manually initiate it. This is to ensure you are not accidentally charged for expensive network traffic. Files are compared using their last modification date and optionally using MD5 hashes (for local files).


Two-way sync
Two-way sync copies files in both directions, overwriting older files if duplicate files are found. It will also detect cases where modifications have happened on both local and cloud storage. If this happens, the latest modified file will be used or the file will be skipped, according to what you specify in for the folderpair.


Instant sync
This feature is experimental and can be enabled for a folderpair. When enabled, local file changes will be detected in the device folder, and a immediate partial sync will be attempted. It is recommended that a scheduled sync is still configured, as some change events are not detected properly - fx. on some custom ROMs etc.


Mirroring of deletions
If the "Sync deletions" option is enabled, deletions will also be synced, for all types of sync. FolderSync has an internal database of synced files. If a previously synced filed is deleted at either end, the deletion will also happen at the opposite end (if the file at the opposite end has not changed since last sync). Use this option only if you are sure what you are doing, and at your own risk!


Explanation of folderpair configuration optionsGeneralSchedulingSync optionsConnectionNotificationsAdvanced


When configured, a folderpair will run on a schedule (if so configured), obeying the settings you have set. That is, it will not try to sync on non-allowed networks or in any other non-allowed state.Contents

Folderpairs - General


Name: Unique name of your choice.Account: The account to sync to or from (must be configured first on account page).Remote folder: The remote folder to sync to or from. Can be selected after an account has been chosen.Local folder: The local folder on the device to sync to or from.Sync type: The type of sync - one-way to local or remote or two-way sync. Default: To local folder.Contents

Folderpairs - Scheduling


Use scheduled sync: Check this if you want to sync on a schedule (and not solely by manual start or Tasker).Sync interval: Choose how often you want to sync.Sync days: If sync interval is set to advanced, then this option is shown. Choose which days to sync.Sync times: If sync interval is set to advanced, then this option is shown. Choose which time of day to sync.Contents

Folderpairs - Sync options


Instant sync: Select this for instant sync on change. Only detects changes on local device. Use with care!Copy files to time-stamped folder: For one-way sync only. If enabled , this creates a time-stamped folder at target location, so all source files are synced every time into a new folder at target location.Exclude from force sync: Check this if this sync should be excluded from sync all action on sync status screen.Sync sub-folders: Check this if sub-folders are to be synced. Enabled by default.Sync hidden files: Check this if hidden files are to be synced. Enabled by default.Delete source files after sync: For one-way sync only. After syncing of files, the source files are deleted. Use with care! Disabled by default.Retry sync if failed: Retry sync on next sync check, if previous sync failed. If not enabled, sync will not be retried until next scheduled sync if failed.Sync deletions: Check this if deletions are to be mirrored. Use with care! Disabled by default.Sync modified files since last sync only: Only available for one-way sync. If enabled, only files modified since previous sync will be synced again. That means if files are deleted or changed in the target folder, they will not be replaced or overwritten. You can then delete files in target folder, without them being transferred again.Overwrite old files: Choose what to do if a file already exist at target. Default setting is to overwrite the old file, so the newest file is used.If conflicting modifications: Choose what to do if a conflicting modification is detected. A conflicting modification is one where both the source and target file has been changed since last recorded sync. Default is to skip file, which will result in sync warnings.Contents

Folderpairs - Connection


Use WiFi: Check this setting, if this Folderpair is allowed to sync on WiFi.Turn on WiFi for scheduled syncs: Check this if WiFi can be turned on for this sync.Allowed WiFi SSID's: Enter a list of allowed WiFi SSID's to sync on. If empty, all WiFi networks are allowed.Disallowed Wifi SSID's: Enter a list of disallowed WiFi SSID's.Use 3G/4G: Check this setting, if this FolderPair is allowed to sync on 3G/4G mobile networks.Use Edge/2G: Check this setting, if this FolderPair is allowed to sync on 2G mobile networks.Use other connections: Enable this if other connection types should be allowed (Bluetooth, USB, etc.).Sync when roaming: Enable this to allow sync while roaming on mobile networks (use with care).Contents

Folderpairs - Notifications


Show notification when syncing: Show persistent notification while syncing folderpair.Show notification on sync success: Show dismiss-able notification on sync success.Show notification when changes occur: Show dismiss-able notification if transfers/deletions happened.Show notification on sync error: Show dismiss-able notification if syncs fail for any reason.Contents

Folderpairs - Advanced


Only sync if charging: Check this setting if FolderPair should only sync when charging.Rescan media library: Check this if media library should be updated for deleted or added media files.Use MD5 checksums: Check this setting if MD5 checksum should be calculated for files. May decrease sync speed and use extra battery, but can also result in less download and upload traffic. Enabled by default.Use temp-file scheme: Check this setting, if you want to use temp-file scheme. Temp-file scheme means files are transferred using temporary name, and upon completion of transfer is renamed to the final filename. This may break the functionality of some cloud providers (proper revisions etc.). Enabled by default.Disable file-size check: Check this if transferred files should not be validated against source by comparing file-size. Some providers adds bytes to certain files when uploaded, so this setting can help in those cases.Contents

Sync filters


In the full version you have the ability to create sync filters, where your can include or exclude files and folders based on file type, name, size, file age and modification date. Regular expression filtering is also supported (experts only). Sync filters are specific to the folderpair for which you configure them.


All filters are case-sensitive.


For file type filters you should enter the file type of the file, for example "jpg" or "doc". Don't include leading period.


All folders will be matched against folder filters - that means if you want to exclude or include a specific folder with name matching "xyz" then all folders in the tree under the root folder configured for the folderpair will be filtered, if it has the name "xyz".


To exclude or include only a specific "xyz" folder you have to include a forward slash ("/") in the name you specify. Then you can exclude a folder and all its sub folders with a folder filter of type "startswith" with value "/mnt/sdcard/rootfolder/xyz". When using full path in a filter please only use the "startswith" type filter.


To totally exclude a folder from all syncs, it is possible to place an empty file in a folder named ".foldersync_ignore". Then this folder will be excluded from all syncing. Both local and correspoding remote folder will be excluded if this is done for a folder, and vice versa.Contents

Settings


The settings panel allow you to configure settings for FolderSync. These settings are not backed up in the database.


General:Language: Set your preferred language.Startup screen: Set which screen should be displayed on initial startup.Disable notifications: If enabled, this totally disables all notifications from Foldersync.Temp folder: The device folder where FolderSync stores temporary files.Retain sync logs: The number of sync logs to retain. If limit is reached, oldest sync logs are deleted.


Sync options:Use full wakelock: This may be required on some devices, to stay awake during syncing.Disable scheduled sync: Check this to completely disable all scheduled or instant syncing.Difference in ms allowed when comparing files: When comparing files, modified timestamp are required to be identical, if files are to be considered equal. This lets you configure how much slack you will allow in this comparison.Required free space (MB): How much free SD card space is required on device. Syncs that writes files to local device will not start, if free space is below this threshold.


Security:Use access pin code: Enable this to require pin code when opening FolderSync.Pin timeout (seconds): The number of seconds FolderSync can be paused before again asking for pin code.The pin code to use: The code you want to use.


Backup:Disable automatic backup: FolderSync automatically backup up database at certain intervals. Check this to disable this backup.Backup folder: The folder where backups are createdBackup database: Press to create a backup nowRestore database: Press to restore a earlier created backup. You will be prompted with a list of backups located in the current backup folder.Contents

About


On the about view you can view license details regarding FolderSync or use the link to upgrade to full version (if you haven't done so already).


You can also enable logging and send logs to developer. Please see the troubleshooting section for more info on logging.


Support:Enable verbose logging: Enable more verbose logging. May slow down syncing, but can provide invaluable information to debug errors.Review logs: Press to review collected log.Send collected logs: Press to send log to developer.Get support: Pressing this will open the support webpage in a browser.Contents

Tasker


The full version of FolderSync works as Tasker plugin. This means one or more folderpair syncs can be initiated when a condition or rule you configured in Tasker occurs. Configuring Tasker is out of the scope of this help text, but FolderSync is found in the the Plugin section. Note that syncs will run no matter what settings they are configured with, when initiated from Tasker, except if the allowed connection type(s) is not met.Contents

Shortcuts


You can add shortcuts to sync folderpairs, favorites and the main app sectoins to your Android home screen. Do this the normal way. When adding the shortcut you will be prompted which item you want add a shortcut for.Contents

Troubleshooting


FolderSync incorporates its own log collection functionality, to help the developers fix bugs that might exist. It can be enabled on the about screen, where it can also be emailed to the developer.


To create a log file with useful data, please check [Enable verbose logging] on the FolderSync about screen. Redo the function/action that fails (previous errors will not be logged, so its important to recreate the error). After that, go back to the about screen and review the log. Then press [Send collected logs] to attach the log to a new e-mail. Add your description of the problem and press send. (emails without description are auto-deleted).Contents

Limitations in lite version


The following limitations are present in the lite version:Only two accountsNo instant syncNo sync filtersDisplays adsContents

Upgrading from lite version


Create a database backup in the lite version in the settings menu. Then fire up the full version and restore the database backup you created in the lite version to import settings - this will overwrite existing database so beware. That's its.Contents

Web安全颜色

不同的平台(Mac、PC等)有不同的调色板,不同的浏览器也有自己的调色板。这就意味着对于一幅图,显示在Mac上的Web浏览器中的图像,与它在PC上相同浏览器中显示的效果可能差别很大。
选择特定的颜色时,浏览器会尽量使用本身所用的调色板中最接近的颜色。如果浏览器中没有所选的颜色,就会通过抖动或者混合自身的颜色来尝试重新产生该颜色。

 

为了解决Web调色板的问题,人们一致通过了一组在所有浏览器中都类似的Web安全颜色。
这些颜色使用了一种颜色模型,在该模型中,可以用相应的16制进制值00、33、66、99、CC和FF来表达三原色(RGB)中的每一种。这种基本的Web调色板将作为所有的Web浏览器和平台的标准,它包括了这些16进制值的组合结果。这就意味着,我们潜在的输出结果包括6种红色调、6种绿色调、6种蓝色调。6*6*6的结果就给出了216种特定的颜色,这些颜色就可以安全的应用于所有的Web中,而不需要担心颜色在不同应用程序之间的变化。

 

256色里有40种颜色在Macintosh和Windows里显示的效果不一样,所以能安全使用的只有216色。为了尽量让用户看到色彩相同的网页,请尽量使用下面的216色。

 

在设计软件中,我们在设计时,只需要在调色板中勾选只有web色即可

 

小皮面板(phpStudy Linux 面板)

相信phpStudy大家都听说过,大部分同学也使用过.

一个公益的集成环境,一直免费供大家使用,非常令人钦佩.

现在推出Linux 面板,改名小皮面板,新官网www.xp.cn

看域名就可猜测出,名字是来源于域名(至少这个域名的价值不低啊).

 

联想到目前在站长中比较知名的另一个宝塔面板,可以看出,小皮面板有一比高下的意味.

目前小皮面板还很年轻,2019年国庆后推出了1.0正式版,从论坛上可以看出,还有挺多的小问题.

不过,作为使用phpstudy多年的站长,也一定会相信小皮面板会越来越好.

 

从另一个角度来看,现在的宝塔有新的竞争对手,也是一件好事.

于宝塔于用户都是一件好事.

期待宝塔面板和小皮面板越做越好,造福中国站长.

 

相关知识(linux版):

宝塔面板

官网 www.bt.cn

基于python开发

目前来说,宝塔各方面都很成熟,官方正在打造生态闭环.

现有成熟的开发团队,第三方插件开发者,第三方程序入住,只要安装宝塔面板,就可以在宝塔直接实现90%的维护功能.

 

小皮面板

官网 www.xp.cn

基于docker核心开发,docker是基于go开发.

而小皮面板采用成熟的docker核心开发,站在巨人的肩膀上,再加上多年的phpstudy开发经验,不容小觑。