Fish and Oh My Fish in Ubuntu】的更多相关文章

After install Fish shell, then install Oh My Fish . Oh My Fish(shortly OMF) can make our Fish shell beautiful and elegant.  It is a Fishshell framework that allows you to install packages which extend or modify the look and feel of your shell. It is…
zsh优势兼容bash, 方便git管理,但是有时候切换速度较慢,特别遇到git仓库目录 fish优势速度较快,路径提示也不错,但是和bash不兼容 1. zsh 首先,可以通过cat /etc/shells显示当前安装了哪些shell,也可以通过echo $SHELL查看当前正在使用的shell 安装zsh:Ubuntu:sudo apt-get install zsh 从bash切换到zsh,且开启Terminal默认为zsh, chsh -s /bin/zsh 安装oh my zsh: w…
Fish 是 Linux/Unix/Mac OS 的一个命令行 shell,有一些很好用的功能. 自动推荐 VGA 颜色 完美的脚本支持 基于网页的配置 帮助文档自动补全 语法高亮 以及更多 自动推荐功能让 fish 非常方便(特别是你想不起来一些命令的时候). 你可能觉得挺好,但是 fish 没有被默认安装.对于 Ubuntu(以及它的衍生版),你可以用下面的命令安装: sudo apt-add-repository ppa:fish-shell/release-2 sudo apt upda…
Fish的官网宣传语是 Finally, a command line shell for the 90s. 翻译过来就是 Fish shell 是一个为90后准备的 shell. 有人说:"二逼青年用bash,普通青年用zsh,文艺青年用fish."[4] 其次由于zsh 的速度实在是太慢,所以决定换用fish,fish速度快,智能提示强大. 本文的亮点在于三点: 1.Fish的入门使用 2.与bash兼容性的方案 3.一个属于自己的Fish主题 Fish配置请参考:https://…
Special Fish Problem Description There is a kind of special fish in the East Lake where is closed to campus of Wuhan University. It's hard to say which gender of those fish are, because every fish believes itself as a male, and it may attack one of s…
Special Fish Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 14 Accepted Submission(s): 9   Problem Description There is a kind of special fish in the East Lake where is closed to campus of Wuhan…
用了好久的zsh, 才知道用那么多年的bash是多么的原始. 然而比zsh更好用的其实是fish, 但是不与bash兼容, 所以最终还是选择了zsh. 关于zsh的使用,配置方法, 可以翻前文查阅. zsh配置起来之繁琐, 插件之多, 插件太多之后运行之慢, 兼容让人崩溃. 然后仅仅为了个兼容性. 难道用惯了fish之后就不会用bash了不成?  想了一想, 之前的这种想法简直愚蠢. 而且兼容性不过就是脚本嘛, 脚本都是带着头的, 这完全没关系. 退一万步就算真的要再bash下用, 切回去不就好…
Description There are many homeless cats in PKU campus. They are all happy because the students in the cat club of PKU take good care of them. Li lei is one of the members of the cat club. He loves those cats very much. Last week, he won a scholarshi…
时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 There are many homeless cats in PKU campus. They are all happy because the students in the cat club of PKU take good care of them. Li lei is one of the members of the cat club. He loves those cats very much. Last…
前提:要使用free命令,可以安装fish shell,然后在里面安装free插件. 安装fish brew install fish 安装free fish fisher free 使用 fish free…
1.brew update 2.brew install fish 3.sudo vi /etc/shells 增加内容:/usr/local/bin/fish   ##增加fish到shell环境变量 4.chsh -s /usr/local/bin/fish   ##切换至fish 5.新开标签页/窗口,马上生效. *如果想切换回zsh或bash,则: chsh -s /bin/zsh 或 chsh -s /bin/bash *如果希望root用户也是用fish/zsh,则切换到root用户…
As everyone knows, bears love fish. But Mike is a strange bear; He hates fish! The even more strange thing about him is he has an infinite number of blue and red fish. He has marked n distinct points in the plane. i-th point is point (xi, yi). He wan…
安装 Oh My Fish 安装 omf 很简单.你要做的只是在你的 Fish shell 中运行下面的命令. curl -L https://get.oh-my.fish | fish 一旦安装完成,你将看到提示符已经自动更改,如上图所所示.另外,你会注意到当前时间在 shell 窗口的右边. 就是这样.让我们继续并调整我们的 fish shell. 现在,让我们将 Fish Shell 变漂亮 列出所有的安装包,运行: omf list 这条命令将显示已安装的主题和插件.请注意,包可以是主题…
术语Fish代表了一组工作原理相同的关于特定候选数的解题技巧(Fish技巧直接产生自数独规则——每个单元内的数字都不能重复),Fish家族成员包括“体型”从小到大的X-Wing.Swordfish. Jellyfish.Squirmbag. Whale以及Leviathan(后三者在人工解题过程中很少用到,本篇不做展开),以及由标准Fish结构延伸出来的Finned/Sashimi Fish. X-Wing——若数字A在某两行(列)中只能存在于相同的两列(行),则这两列(行)的其他格都不能有A.…
#1631 : Cats and Fish 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 There are many homeless cats in PKU campus. They are all happy because the students in the cat club of PKU take good care of them. Li lei is one of the members of the cat club. He loves thos…
Special Fish Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2367    Accepted Submission(s): 878 Problem Description There is a kind of special fish in the East Lake where is closed to campus o…
Fish shell 简介 fish 可以根据输入自动匹配历史命令.它的一大特点是开箱即用,没有zsh那些繁琐的配置.官网:http://www.fishshell.com/. 安装与配置 在终端里使用Homebrew安装,直接输入 brew install fish 等待安装完成即可.安装完了以后还不能用,因为没把fish添加到 mac 的 shell 列表里,切换到 fish shell 时显示找不到fish shell,所以我们要先添加 fish 并设置一下 shell .首先,用 she…
fish redux 理解 fish redux是什么 Fish Redux 是一个基于 Redux 数据管理的组装式 flutter 应用框架, 它特别适用于构建中大型的复杂应用. 它的特点是配置式组装. 一方面我们将一个大的页面,对视图和数据层层拆解为互相独立的 Component|Adapter,上层负责组装,下层负责实现: 另一方面将 Component|Adapter 拆分为 View,Reducer,Effect 等相互独立的上下文无关函数. 所以它会非常干净,易维护,易协作. Fi…
背景 在闲鱼深度使用 Flutter 开发过程中,我们遇到了业务代码耦合严重,代码可维护性糟糕,如入泥泞.对于闲鱼这样的负责业务场景,我们需要一个统一的应用框架来摆脱当下的开发困境,而这也是 Flutter 领域空缺的一块处女地.Fish Redux 是为解决上面问题上层应用框架,它是一个基于 Redux 数据管理的组装式 flutter 应用框架, 特别适用于构建中大型的复杂应用.它的最大特点是配置式组装, 一方面将一个大的页面,对视图和数据层层拆解为互相独立的 Component|Adapt…
Cats and Fish 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 There are many homeless cats in PKU campus. They are all happy because the students in the cat club of PKU take good care of them. Li lei is one of the members of the cat club. He loves those cats v…
题意: N只FISH.每个回合会有一只FISH吃掉另一个FISH.直到池塘里只剩一只FISH. 给出aij:第i只FISH吃掉第J只FISH的概率. 问每一只FISH是最后存活者的概率. Input The first line contains integer n (1 ≤ n ≤ 18) - the amount of fish in the lake. Then there follow n lines with n real numbers each - matrix a. aij (0…
Santosh Srinivas on 07 Nov 2016, tagged onApache Spark, Analytics, Data Minin I've finally got to a long pending to-do-item to play with Apache Spark. The following installation steps worked for me on Ubuntu 16.04. Download the latest pre-built versi…
公司配的台式机,新装了ubuntu,记录下配置过程. vim sudo apt-get install vim unzip sudo apt-get install unzip unrar sudo apt-get install unrar cmake sudo apt-get install cmake ubuntu受限的额外的解码器 sudo apt-get install ubuntu-restricted-extras adobe-flash播放器 sudo apt-get insta…
andorid开发也做了3年有余了,也面试很多加企业,借此机会分享一下,我们中遇到过的问题以及解决方案吧,希望能够对正在找工作的andoird程序员有一定的帮助. 特别献上整理过的50道面试题目 1.listView的优化方式 重用convertView viewHolder static class viewHolder 在列表里面有图片的情况下,监听滑动不加载图片 多个不同布局,可以创建不同的viewHolder和convertView进行重用 2.listView展示数据几种形式 从sql…
链接:https://zhuanlan.zhihu.com/p/30668155 Linux 桌面从开始的简陋到现在走了很长的路.在我早期使用 Linux 的那段日子里,掌握命令行是最基本的 —— 即使是在桌面版.不过现在变了,很多人可能从没用过命令行.但对于 Linux 系统管理员来说,可不能这样.实际上,对于任何 Linux 管理员(不管是服务器还是桌面),命令行仍是必须的.从管理网络到系统安全,再到应用和系统设定 —— 没有什么工具比命令行更强大. 但是,实际上……你可以在 Linux 系…
2018-10-31 更新Logging日志记录以及异常捕获 感谢廖大教程.Python实战 直接在闲置的服务器上开发.阿里云Centos 6.8 64位. 1 搭建开发环境 Python 环境是Python 3.4, 在装aiohttp的时候报错,之前用pip3和系统本身的pip(Python 2.7)也有安装问题,索性下最新版Python 3.6.4,并安装virtualenv独立运行. python3.3以后自带venv模块支持轻量级虚拟环境,virtualenv模块仍然支持,可安装. 1…
工作环境 系统:Ubuntu LTS 显卡:GPU NVIDIA驱动:410.93 CUDA:10.0 Python:.x CUDA以及NVIDIA驱动安装,详见https://www.cnblogs.com/orzs/p/10951473.html 需要部署的软件 conda环境 nccl2环境 openmpi环境 horovod环境 1. 创建conda环境 官网下载地址:https://www.anaconda.com/distribution/#download-section 下载合适…
https://linuxtoy.org/archives.html Archives 在 Android 系统上安装 Debian Linux 与 R (2015-07-14) Pinos:实现摄像头共享 (2015-07-06) Firefox 40 Beta (2015-07-04) BookDrop: 通过 Dropbox 接收 Kindle 电子书 (2015-06-24) Linux Kernel 4.1 (2015-06-23) b2gdroid:在 Android 手机上一键切换…
6.1 LIKE操作符 通配符(wildcard),用来匹配某些值的的特殊字符. 在搜索子句中必须通过LIKE操作符使用通配符. 通配符搜索只能用于文本字段(字符串),非文本数据类型字段不能使用通配符搜索. 利用通配符,可以创建特定数据的搜索模式. 搜索模式(search pattern),由字面值.通配符或两者组合构成的搜索条件. 注意:在不同的DBMS及配置中,通配符的定义可能不同,并且搜索也可能区分大小写. 6.1.1 百分号通配符 在搜索字符串中,%表示任何字符出现任意次数(包含0个.1…
前言  虽然tmux能让我们方便组织工作环境,但每次重新打开会话时都需要手动重新创建窗口.窗格和执行各种程序,能不能像VS那样以工程为单位保存窗口.窗格和各种所需执行的程序的信息呢?tmuxinator恰恰能解决我们这个需求! 安装与配置  安装gem $ sudo apt install gem $ gem sources --remove https://rubygems.org --add http://gems.ruby-china.org/  确保gem的源有且仅有http://gem…