sitemap-generators使用实例
Aug 13, 2017
sitemap-generators是一款Sitemap生成工具,使用它可以生成符合sitemap.org规范的Sitemap文件,以便于提交给各个网站工具平台。 …
Dropbox脚本工具DropboxUploader
Jul 28, 2017
Dropbox Uploader是一款专为Dropbox开发的BASH脚本,可以实现上传、下载、删除、列出文件清单、在线分享、同步和备份等功能。 它使用BASH脚本语言写成,只需要cURL即可使用。 …
Linux下批量转换PNG和JPG
Jul 17, 2017
我们用到的软件名为imagemagick,一款强大的图片处理软件。 Debian系使用apt-get install imagemagick来安装,Fedora系通过yum install imagemagick来安装。 …
p7zip使用实例
Jun 16, 2017
以下是CentOS7中7za的使用实例,CentOS下安装p7zip可以参考此文 [root@localhost ~]# 7za 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,1 CPU x64) Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...] [<@listfiles...>] <Commands> a : Add files to archive b : Benchmark d : Delete files from archive e : Extract files from archive (without using directory names) h : Calculate hash values for files i : Show information about supported formats l : List contents of archive rn : Rename files in archive t : Test integrity of archive u : Update files to archive x : eXtract files with full paths <Switches> -- : Stop switches parsing -ai[r[-|0]]{@listfile|!wildcard} : Include archives -ax[r[-|0]]{@listfile|!wildcard} : eXclude archives -ao{a|s|t|u} : set Overwrite mode -an : disable archive_name field -bb[0-3] : set output log level -bd : disable progress indicator -bs{o|e|p}{0|1|2} : set output stream for output/error/progress line -bt : show execution time statistics -i[r[-|0]]{@listfile|!wildcard} : Include filenames -m{Parameters} : set compression Method -mmt[N] : set number of CPU threads -o{Directory} : set Output directory -p{Password} : set Password -r[-|0] : Recurse subdirectories -sa{a|e|s} : set Archive name mode -scc{UTF-8|WIN|DOS} : set charset for for console input/output -scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}} : set charset for list files -scrc[CRC32|CRC64|SHA1|SHA256|*] : set hash function for x, e, h commands -sdel : delete files after compression -seml[.] : send archive by email -sfx[{name}] : Create SFX archive -si[{name}] : read data from stdin -slp : set Large Pages mode -slt : show technical information for l (List) command -snh : store hard links as links -snl : store symbolic links as links -sni : store NT security information -sns[-] : store NTFS alternate streams -so : write data to stdout -spd : disable wildcard matching for file names -spe : eliminate duplication of root folder for extract command -spf : use fully qualified file paths -ssc[-] : set sensitive case mode -ssw : compress shared files -stl : set archive timestamp from the most recently modified file -stm{HexMask} : set CPU thread affinity mask (hexadecimal number) -stx{Type} : exclude archive type -t{Type} : Set type of archive -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName] : Update options -v{Size}[b|k|m|g] : Create volumes -w[{path}] : assign Work directory. Empty path means a temporary directory -x[r[-|0]]{@listfile|!wildcard} : eXclude filenames -y : assume Yes on all queries 压缩文档 [root@localhost oneinstack]# du -sh ##当前目录大小 1.8M . [root@localhost oneinstack]# 7za a oi.7z * ##将当前目录所有文件压缩保存为oi.7z 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,1 CPU x64) Scanning the drive: 7 folders, 128 files, 1541017 bytes (1505 KiB) Creating archive: oi.7z Items to compress: 135 Files read from disk: 128 Archive size: 131726 bytes (129 KiB) Everything is Ok [root@localhost oneinstack]# ls -lh oi.7z ###压缩后大小 -rw-r--r-- 1 root root 129K Jun 16 15:59 oi.7z p7zip默认使用7z格式,当然它还支持一些通用的压缩格式,如7z, lzma, cab, zip, gzip, bzip2, Z 和tar等等…… …
一加3/3T工具包
Jun 15, 2017
工具菜单如下: Title OnePlus 3/3T Unified ToolKit v5.0U by @ahmed_radaideh ====================== = Menu = ====================== Enter a Number to select a Task. 1) Install USB Drivers On PC 2) Unlock - ReLock Bootloader 3) Check Device Status 4) Check Bootloader Status 5) Flash - Boot TWRP Recovery 6) Flash - Boot Stock Recovery 7) Push Systemless Root 8) Push Debloater Script 9) Wipe Cache Your Device 10) Force Decryption Device [WIPE] 11) Get Logs your Device 12) Restart Menu 13) Check for new Version 14) XDA Thread 15) Donate! 00) Exit 下载地址在此OnePlus3T-ToolKit-v4.7.7z,XDA贴地址在这里。 …
修复东芝U盘写保护
Jun 10, 2017
一直以来都是使用U盘安装Linux,光盘镜像通过dd写入U盘。最近需要安装elementary,下载镜像后发现系统推荐使用Rufus来写入U盘,这个工具以前没试过所以试了下,确实挺快的。 …
在Linux中运行Android软件
Jun 09, 2017
想要在PC上运行Android软件就需要模拟器,Windows版的Android模拟器软件很多,但是Linux平台的就不多了,今天推荐一款Linux下的Android模拟器软件Anbox …
CentOS7安装使用p7zip
Jun 06, 2017
在此只推荐从源码安装p7zip,下载地址 http://www.7-zip.org/download.html 源码在这里下载 https://sourceforge.net/projects/p7zip/files/p7zip/ wget https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2 tar jxf p7zip_16.02_src_all.tar.bz2 cd p7zip_16.02 make make install 使用p7zip [root@localhost ~]# 7za 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,1 CPU x64) Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...] [<@listfiles...>] <Commands> a : Add files to archive b : Benchmark d : Delete files from archive e : Extract files from archive (without using directory names) h : Calculate hash values for files i : Show information about supported formats l : List contents of archive rn : Rename files in archive t : Test integrity of archive u : Update files to archive x : eXtract files with full paths 压缩文件 …
树莓派显示天气信息RARP
May 25, 2017
在此介绍一个国外网友的树莓派项目RARP,Weather According to Raspberry Pi 顾名思义,Weather According to Raspberry Pi是一个有关天气信息的项目,该项目通过采集Raspberry Pi和Sense HAT的数据,来显示相关的天气信息,比如温度、湿度、压力等 …
stuffRaspberry Piraspi树莓派Laptop DockSense HATHATSenseRARPPythonPython3Humidity天气传感器压力湿度温度
在Citrix应用中使用本地输入法
May 16, 2017
进入到Citrix安装目录C:\Program Files (x86)\Citrix\ICA Client 启用本地输入法 wfica32.exe /localime:on 禁用本地输入法 wfica32.exe /localime:off 以上输入完后会有弹窗提示是否成功。 除了通过运行命令行程序来更改,也可以通过修改注册表来实现 …