background preloader

2016

Facebook Twitter

Learn Linux, 101: RPM and YUM package management. Learn Linux, 101 Add new software and keep your system current Ian ShieldsPublished on May 11, 2010/Updated: December 21, 2015 Overview In this tutorial, learn to use the RPM and YUM tools to manage the packages on your Linux system. Learn to: Install, reinstall, upgrade, and remove packages using RPM and YUM.Obtain information about RPM packages including version, status, dependencies, integrity, and signatures.Determine what files a package provides, as well as find which package a specific file comes from.

This tutorial helps you prepare for Objective 102.5 in Topic 102 of the Linux Professional Institute's Junior Level Administration (LPIC-1) exam 101. Introducing package management In the past, many Linux programs were distributed as source code, which a user would build into the required program or set of programs, along with the required man pages, configuration files, and so on. About this series This series of tutorials helps you learn Linux system administration tasks. Prerequisites. Integral transform - Wikipedia. In mathematics, an integral transform is any transform T of the following form: Some kernels have an associated inverse kernel K−1(u, t) which (roughly speaking) yields an inverse transform: A symmetric kernel is one that is unchanged when the two variables are permuted. Motivation[edit] History[edit] The precursor of the transforms were the Fourier series to express functions in finite intervals. Using the Fourier series, just about any practical function of time (the voltage across the terminals of an electronic device for example) can be represented as a sum of sines and cosines, each suitably scaled (multiplied by a constant factor), shifted (advanced or retarded in time) and "squeezed" or "stretched" (increasing or decreasing the frequency).

Usage example[edit] As an example of an application of integral transforms, consider the Laplace transform. Another usage example is the kernel in path integral: This states that the total amplitude to arrive at [that is, Table of transforms[edit] A. 前言 · Rust 程序设计语言(第一版) 简体中文版. Submissions Inbox. 首页 - 火狐社区. SaltTiger | 每天一本编程书,每天进步一点点. Electrolysis. Overview Electrolysis functionality hosts, renders, or executes web related content in background child processes which communicate with the "parent" Firefox browser via various ipdl protocols.

The two major advantages of this model are security and performance. Security improvements are accomplished through security sandboxing, performance improvements are born out of the fact that multiple processes better leverage available client computing power. Electrolysis child processes are currently in use for the following tasks within Firefox: Legacy NPAPI plugin hosting Media playback ('Gecko Media Plugin', a.k.a. 'GMP') Web content ('content processes') [Fx53] GPU Process (Windows Only) bug 1264543 [Fx54] access process bug 1147911 [Fx55] Web Extensions bug 1190679 [Fx55, Fx56] ServiceWorker and in the future SharedWorker threads bug 1231208 In Mozilla documentation "Electrolysis" is often shorted as "e10s". Testing Nightly/Aurora Firefox Beta Firefox Release Force Enable Schedule. 漫画图超分辨率重构.

Applying styles to specific sites · stylish-userstyles/stylish Wiki. Stylish styles can be made specific to certain URLs with @-moz-document rules. Compatibility Stylish for Firefox and other Mozilla software supports @-moz-document rules. The @-moz-document format is the supported format when posting on userstyles.org. The site software handles converting to other formats for browsers that do not support it. Stylish on Chrome does not support @-moz-document rules, but provides a UI with the same rule types. It also has a feature to output styles to @-moz-document format, which is useful when you want to post them on userstyles.org. Rule types There are four @-moz-document rule types: url - for exact URLs (including the protocol)url-prefix - for URLs that start with a certain value (including the protocol)domain - for all URLs on a domain (not including the protocol)regexp - for advanced matching with wildcards (including the protocol) Format @-moz-document rules are specified on the "outside" of normal CSS, just like @media rules.

Multiple sites. Sphinx 生成中文 PDF | SeisMan. Master PDF Editor for Linux. Download a free of Master PDF Editor for Linux. 用 CentOS 7 打造合适的科研环境 | SeisMan. Ebooks - Converting DJVU to PDF - Ask Ubuntu. Algorithm - Maximum product subsequence. 行前准备::飞跃同期声|美国|加拿大|体检疫苗|文件准备. 能帮你节省上千元的机票购买指南 - 知乎专栏. 对于初次出国的同学们来说,如何机智地选购机票是大家普遍会面临的一个问题。 有时候,掌握一些购票技巧能节省几千块的留学成本。 留学汪在新西兰留学3年半,在购买国际机票上也算有一些小经验,这里分享给大家,希望能帮大家淘到既便宜又靠谱的机票。 这里从购买渠道和注意事项2个维度去谈 购买渠道1. 官网 各大航空公司官方网站,正规安全,需要注册登录才能进行查询和购买。 优势: 通过航空公司官网订票是最安全可靠的,有时候也会有特价deal。 劣势: 大多数时候机票价格也比机票代理贵。 2. 这些网站本身不买机票,上面能查到通过官网购买或通过代理网站购买直航或者转机航班的价格。 StudentUniverse 优势: 学生有机会买到价格非常低的机票 劣势: 需要上传相关学生证明(如学生证,Offer) Google Flight 优势: 1. 2.

劣势: 1. 2. <img src=" data-rawwidth="1130" data-rawheight="774" class="origin_image zh-lightbox-thumb" width="1130" data-original=" 提供与其他网站的对比服务 优势: 提供与其他网站的对比服务劣势: 提供的代理商有限,票价不一定低Expedia 优势: 购买多程组合机票价格相对较低(成都-上海-纽约) 劣势: 单程机票高于其他平台 Priceline <img src=" data-rawwidth="1252" data-rawheight="824" class="origin_image zh-lightbox-thumb" width="1252" data-original=" 1. 2. 劣势:购买直飞机票,价格没有优势 去哪网 携程网.

Arrival/Departure Forms: I-94 and I-94W | U.S. Customs and Border Protection. Foreign visitors to the U.S. arriving via air or sea no longer need to complete paper Customs and Border Protection Form I-94 Arrival/Departure Record or Form I-94W Nonimmigrant Visa Waiver Arrival/Departure Record. Those who need to prove their legal-visitor status—to employers, schools/universities or government agencies—can access their CBP arrival/departure record information online. CBP now gathers travelers’ arrival/departure information automatically from their electronic travel records.

Because advance information is only transmitted for air and sea travelers, CBP will still issue a paper form I-94 at land border ports of entry. If travelers need the information from their Form I-94 admission record to verify immigration status or employment authorization, the record number and other admission information they are encouraged to get their I-94 Number. This automation streamlines the entry process for travelers, facilitates security and reduces federal costs.

Host, run, and code Python in the cloud: PythonAnywhere. Welcome to Peijun’s Homepage — Peijun's Home. 乱谈AsciiDoc的书籍编写. 在Linux下玩转街机游戏:AdvanceMAME新手指南 – 牛牛博客. 安装 AdvanceMAME(仅提供了openSUSE的安装方法) 打开链接 在 software.opensuse.org 中搜索 advancemame,根据实际情况选择 openSUSE 版本然后点击 1 Click Install,然后会弹出Yast2一键安装窗口,之后基本都是直接点击 next 了。 注:有的浏览器会显示 advancemame.ymp 的内容而不是自动弹出Yast2一键安装窗口,这时需要你右键另存为 advancemame.ymp ,然后双击 advancemame.ymp 来启动Yast2一键安装工具。

初始化 AdvanceMAME 在终端运行一次 advmame ,即可完成 AdvanceMAME 的初始化工作,具体来说就是使用缺省选项创建了 AdvanceMAME 的配置文件 ~/.advance/advmame.rc 下载ROM以及对应的BIOS 在 网站上收藏了大量适合于MAME模拟器的ROM文件以及BIOS文件。 Kovplus.zip kov.zip pgm.zip 其中的 pgm.zip 就是 Poly Game Master的BIOS文件。 Kof98.zip neogeo.zip 其中neogeo.zip就是BIOS文件 ROM和BIOS放到哪里去? 下载下来的ROM和BIOS文件,需要放到特定目录夹下,AdvanceMAME 才找得到。 Dir_rom /mnt/F/Software/game/mame/rom:/home/bruce/.advance/rom:/usr/share/advance/rom 注1:冒号(:)是目录分隔符。

全屏启动游戏 在终端运行 advmame 游戏名称 AdvanceMAME 支持的所有游戏可以通过 advmame --listxml 来查看,但是一般情况下,游戏名称就是zip包的名称,以三国战记为例,你只需运行 advmame kovplus 即可启动三国战记了。 省略若干文字...... 这时输入OK组合键(先按O键后按K键),接着会出现黑屏,这时连续两次输入OK组合键,即可进入游戏画面。 窗口模式启动游戏 advmame -device_video_output window 游戏名称 设置视频分辨率 设置游戏按键 常用按键介绍 截图 拳皇98 三国战记. Software.opensuse.org: 首页 - Shadowsocks.com Portal. 主页 | 学堂在线. FCEUX. Patterns - Implementing Graphs. Change notes: 2/22/98, 3/2/98, 12/4/00: This version of this essay fixes several bugs in the code. Copyright (c) 1998, 2000, 2003 Python Software Foundation. All rights reserved. Licensed under the PSF license. Graphs are networks consisting of nodes connected by edges or arcs. In directed graphs, the connections between nodes have a direction, and are called arcs; in undirected graphs, the connections have no direction and are called edges.

We mainly discuss directed graphs. There's considerable literature on graph algorithms, which are an important part of discrete mathematics. Few programming languages provide direct support for graphs as a data type, and Python is no exception. This graph has six nodes (A-F) and eight arcs. This is a dictionary whose keys are the nodes of the graph. Let's write a simple function to determine a path between two nodes. A sample run (using the graph above): >>> find_path(graph, 'A', 'D') ['A', 'B', 'C', 'D'] >>> A sample run: Sample run: Pelican Static Site Generator, Powered by Python. Git乱码解决方案汇总|终极解决方案 zrong's blog. Git乱码解决方案汇 我一直是在cygwin下使用git,辅以TortoiseGit。 使用上没什么问题,但今天在处理一个有中文文件名的项目时却出现文件名乱码的问题。 情况重现 在一个使用cygwin的bash提交的git项目中,已经完成了所有的提交,但使用TortoiseGit查看的时候,却发现仍有文件没有提交,甚至是有文件还处于未暂存的状态。 于是使用TortoiseGit提交;再次用cygwin下的git status查看,这次又发现了未提交的情况。

再次用git commit命令行提交;回到TortoiseGit下查看,问题又出现了! 乱码原因 搜索一番,发现git文件名、log乱码,是普遍问题,这其中有编码的原因,也有跨平台的原因。 Windows系统中使用的msysGit,采用的是系统编码来保存文件名;而Cygwin中的Git默认采用UTF-8编码来保存文件名。 这就导致,如果一直使用TortoiseGit(实际调用MsysGit)提交,那么中文文件名没问题;一直使用cygwin提交,中文文件名也没问题。 分别设置 LANG、LC_CTYPE、LC_ALL 参数为同样的编码,问题依旧。 Cygwin官方网站提到了非拉丁语文件名的问题,也许研究后能解决该吧: Chapter 2. 这里还有一篇讲解Linux系统编码文章:locale的设定及其LANG、LC_ALL、LANGUAGE环境变量的区别 。

官方终极解决方案 这个问题的官方终极解决方案,就是更新到msysGit1.7.10或更新版本。 不幸的是,对于使用老版本msysGit提交的版本库,升级到msysGit1.7.10或者更高会出现编码问题。 有两篇文章介绍了这个问题的解决办法: 下面的文章,是历史遗留,可以不看。 乱码情景对号入座和解决方案 乱码情景1 在cygwin中,使用git add添加要提交的文件的时候,如果文件名是中文,会显示形如 274\232\350\256\256\346\200\273\347\273\223.png 的乱码。 解决方案: 在bash提示符下输入: git config --global core.quotepath false core.quotepath设为false的话,就不会对0x80以上的字符进行quote。

乱码情景2 在MsysGit中,使用git log显示提交的中文log乱码。 乱码情景3. 如何在论文中画出漂亮的插图. [周末折腾笔记]在非 Chrome 浏览器上使用 Pepperflash 看视频. 移除软件源: sudo zypper rr <软件源别名> 冲浪、视频、下载、邮件、文件共享、远程桌面、社交网络、即时通讯(FQ 相关主题请发里区) 版主: xiehuc xiaoooxu 行走 帖子: 209 注册: 周三 1月 15日, 2014年 10:28 pm Cash on hand: 36.10 Bank: 99.30 送出感谢: 17 次 收到感谢: 8 次 liangziOM 帖子: 124 注册: 周日 7月 5日, 2015年 11:03 am Cash on hand: 215.30 送出感谢: 23 次 收到感谢: 1 次 skysml 帖子: 3 注册: 周三 11月 20日, 2013年 6:46 pm Cash on hand: 53.00 送出感谢: 1 次 收到感谢: 0 次 回到 互联网 在线用户 正在浏览此版面的用户:没有注册用户 和 3 位游客. 有OpenSUSE的用户吗? - V2EX. 我哭了...居然有这么多力挺 openSUSE 的。 谢谢诸位老爷。 我就说说坏处和软件源的问题吧。 一直有人批评 openSUSE 的玛格丽特时代带了意识形态,还给我总结出两个凡是:凡是 openSUSE 的都是好的,凡是 openSUSE 上出现的问题都是用户不对。 那我就来巴一些坏处,只有一个声音是不对的。 (一) 中文社区 Ubuntu 肯定是最大的中文社区,Arch 肯定是最活跃的中文社区,Fedora 肯定是最爱交际的中文社区,openSUSE 肯定是最宅的中文社区。 首先我们应该没有多少活跃的大学用户。 其次我们一直是一个单核心的社区。

但我给自己的定位是 Coordinator,中文翻译为办公室主任。 也许有人会说,没有你,openSUSE 不还是一样? 第三,每一个活跃用户对我来说都很珍贵。 第四,我们现有的人不太会也不太可能成为社区实体 Body 的组织者。 第五。 (二) 公司支援 很多人都说 SuSE 嘛,跟红帽一样在开源界的双核,数一数二的带头大哥,还是微软的战略伙伴,拥有最多的服务器认证,肯定给社区砸好多钱。 所有人都认为 openSUSE 是 SuSE 儿子,但那是在国外。 对 SuSE 中国的感觉是,中式办公室文化导致大家都不伸手,德国过问肯定问老外,老外被架空又不敢说,或者说可能老外也觉得我就是个在德国斗争失败被流放的,就挣工资没激情,也不主动要钱要物要人,看好企业版,腾讯淘宝缴费我就有业绩(这段我猜的)。 所以至少我觉得,openSUSE 在国内的推广,一是靠社区自己的努力和在校生那可歌可叹的 passion,一是在 SuSE 指定负责亚洲甚至中文社区事务的专员,然后培养他们本土员工的开源意识,就是说我 SuSE 中国不止办公室里这几十号人,那几万不领工资的也是我「员工」,甚至他们比员工还高尚,所以我们要聆听他们的诉求。

相信这样,前期可能不明显,过几个时代,比如后玛格丽特时代,hillwood 时代,甚至 douglarek 时代、multipe1902 时代、郭云鹤时代、hottea 时代什么的,总会开枝散叶。 (三)软件源 由于我们社区现有成员和在校学生没有办法建立联系。 而官方不推荐使用镜像源。 而中国一是被 Debian 搞出来的镜像源会快的理念,二是可能这种技术应对国内网络环境真的有问题。 所以目前的折中方法就是: 好了。 Physics pages of Prof. A.W. Peet. See also How to become a Good Theoretical Physicist, by Gerard 't Hooft (Nobel laureate). Introduction This particular web essay is intended for university students interested in doing a PhD in string theory in the Department of Physics at the University of Toronto, locally known as "UofT" (pronounced "you of tea"). Much of this information should also be useful to students interested in doing a PhD here in particle theory or early universe cosmology.

I created this web essay in order to cut down on the work involved in responding to every bright student who expresses interest in working in my research field or research group. Quick guide to emailing:- I do not have the power to admit you to our PhD program, so please do not ask me to do so. Thinking of applying? If you are interested in coming to UofT for a PhD, then you should start by browsing our Physics Department web pages, especially our graduate programme section which contains important application information. Fall: Spring: NumPy Reference — NumPy v1.13 Manual. Python 性能分析入门指南 - yexiaoxiaobai - SegmentFault. 注: 本文的原作者是 Huy Nguyen ,原文地址为 A guide to analyzing Python performance 虽然并非你编写的每个 Python 程序都要求一个严格的性能分析,但是让人放心的是,当问题发生的时候,Python 生态圈有各种各样的工具可以处理这类问题。 分析程序的性能可以归结为回答四个基本问题: 正运行的多快速度瓶颈在哪里内存使用率是多少内存泄露在哪里 下面,我们将用一些神奇的工具深入到这些问题的答案中去。

让我们开始通过使用一个快速和粗暴的方法计算我们的代码:传统的 unix time 工具。 $ time python yourprogram.py real 0m1.028s user 0m0.001s sys 0m0.003s 三个输出测量值之间的详细意义在这里 stackoverflow article,但简介在这: real -- 指的是实际耗时user -- 指的是内核之外的 CPU 耗时sys -- 指的是花费在内核特定函数的 CPU 耗时 你会有你的应用程序用完了多少 CPU 周期的即视感,不管系统上其他运行的程序添加的系统和用户时间。 如果 sys 和 user 时间之和小于 real 时间,然后你可以猜测到大多数程序的性能问题最有可能与 IO wait 相关。 我们下一步的技术包括直接嵌入代码来获取细粒度的计时信息。 Timer.py import time class Timer(object): def __init__(self, verbose=False): self.verbose = verbose def __enter__(self): self.start = time.time() return self def __exit__(self, *args): self.end = time.time() self.secs = self.end - self.start self.msecs = self.secs * 1000 # millisecs if self.verbose: print 'elapsed time: %f ms' % self.msecs 为了使用它,使用 Python 的 with 关键字和 Timer 上下文管理器来包装你想计算的代码。

这个代码片段示例: primes.py. Python3实例手册-基本类型-字符串 - 君无畏. IPython Books - Getting the Best Performance out of NumPy. This is the first featured recipe from the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python. NumPy is the cornerstone of the scientific Python software stack. It provides a special data type optimized for vector computations, the ndarray. This object is at the core of most algorithms in scientific numerical computing. With NumPy arrays, you can achieve significant performance speedups over native Python, particularly when your computations follow the Single Instruction, Multiple Data (SIMD) paradigm.

In this featured recipe, we will see some tricks that can help you write optimized NumPy code. Learning to avoid unnecessary array copies Computations with NumPy arrays may involve internal copies between blocks of memory. Inspect the memory address of arrays The first step when looking for silent array copies is to find out the location of arrays in memory.

A = np.zeros(10); aid = id(a); aid b = a.copy(); id(b) == aid False False True True. Animation example code: animate_decay.py — Matplotlib 1.4.2 documentation. Peijunz (Peijun Zhu) SeisMan. 「一家之谈」文档类解决方案(包括演示文稿) 纯属一家之谈。 应该属于办公类,就发到这个板了。 而且我也没有使用过里面的所有东西。 所以判断未必准确。 我也没实力列举出所有软件包。 只列举了一些我觉得具有典型性值得使用的。 总的来说参考价值不大。 不局限于 Linux,但是好的东西要配合具有先进包管理思想的操作系统来使用才能发挥最大效力:-) 内容基本以前都讲过,总结一下而已。 解决单个文稿的工具===================Libreoffice / openoffice writer - 使用价值一般LaTeX - 科学类文稿、书籍必备。 类似 wiki 的个人文档管理解决方案(适合做笔记等使用)==========================================基于编辑器的:vimwiki - Debian 的包好像有问题,没怎么用过,看起来觉得不错,结合 vim,编辑效率肯定很高orgmode - 强大,不过我不习惯用 emacs。 传统的 wiki 程序:太多了。 基于 git 的:gollum - 这个用得很多,支持的语言还是比较多的,支持 asciidoc 但是支持不够完美。 桌面的:zim - 看 @PaleFire 大神的介绍: 软件文档类工具(适合极其系统性的整理文稿、写书等)=============================================(不包括 autodoc、haddock 这种只能自动生成某一种语言的文档的工具,所列的都是可以写在线书籍的) LaTeX、DocBook - 不再赘述Sphinx - openSUSE 有。

综合来看,我觉得 Sphinx 最好,因为有 RTFD 这个服务。 将文稿生成为个人网站的工具(适合建设个人 blog、个人网站)=============================================== jekyll / octopress - 我不喜欢,支持的语言主要是 markdown,不够强大,用起来感觉有点奇怪。 综合,我个人推荐普通的 blog 类网站选择 pelican,非 blog 类或者淡化 blog 风格的 blog(强调系统性整理的)选择 Sphinx,最大化灵活度就选择 Hakyll。 3.6.1. Restructured Text (reST) and Sphinx CheatSheet — openalea.doc v0.8.0 documentation. 美国大学分布及学校概况全图. Merging Multiple PDFs under GNU/Linux - blog.dbrgn.ch. LeechBlock | A Simple Free Productivity Tool. The Boost Graph Library - 1.60.0. Creator Manual. Download Firefox in your language. Python调用C语言函数. Tweets with replies by Peijun Zhu (@zpj_ustc) | Twitter. I, Peijun Zhu | An Inquisitive Tinker. Zpj / home — Bitbucket. GitLab. Git提交本地分支到远程分支 - springbarley. NumPy User Guide — NumPy v1.13 Manual. Cookbook - SymPy Tutorial for SciPy 2013 — SciPy 2013 SymPy Tutorial documentation. Preliminaries — SymPy 1.0 documentation.

Simple user guide · xiehuc/pidgin-lwqq Wiki. 貴哥的 sozi 簡報/心智圖. Zhfonts 模块的用法 - # emerge -e world. 应用程序. Howtotex.com. Markdown 语法说明(简体中文版) Linux游戏下载站 - Gamux. Downloads - hslinuxextra - Hubert Star's Linux System Extra Resource. 12.2常见问题 - openSUSE. Conky 配置. OpenSUSE. SDB:NVIDIA Bumblebee. 沉浸式学 Git. 用 vga_switcheroo 在 Linux 下(开启 KMS)彻底关闭某一可切换显卡的简单教程. 如何在Linux下使用rsync-系统运维|Linux.中国-开源社区. TechBase. Minecraft中文论坛 —— 我的世界论坛,Minecraft中文站,我的世界中文站 - Minecraft资讯|MOD|联机|皮肤|材质|作品. USTC Open Source Software Mirror. OpenSUSE Linux. 天文学名词. 中国科学技术大学教务处. Xkcd: Fire Ants.

The N-dimensional array (ndarray) — NumPy v1.13 Manual. Velop4/TipsAndTricks. Contact for Pittsburgh Property Rentals | Sterling Land. How to make the zypper use proxy. 停止扯淡!!漫谈显示器色彩管理(二) - 知乎专栏. 停止扯淡!!漫谈显示器色彩管理(四) - 知乎专栏. 中国科学技术大学学生名单. CEAC. 天文学名词. 网络通. Iconfinder - 575,000+ free and premium icons. UserBase Wiki. 外塞之雾的DOS仙剑资料. Bruce Auyeung's TV (powered by 64ma.com) 中国科学技术大学图书馆v5.5书目检索系统. Welcome to leanote!