没有让我失望的火星救援

期待了半年的《火星救援》并没有让我感到失望。 写在观影之前 早在今年6月份看到一段预告片之后就将这部电影加入了待看片单,等了半年,在好莱坞大片云集的11月,也没有去看任何影片只等着这一部。马特达蒙,最喜欢的演员,星际宇宙,最喜欢的题材,有这这样的组合怎能不让人期待。 写在观影之后 终于在等了半年之后,在25号看了0点场,电影没有让我失望,当然带来的感动和震撼也并没有超出想象。或许是《地心引力》和《星际穿越》的铺垫,让我对此类讲述宇宙的电影有了最基本的感受,宇宙浩瀚的视觉体验,飞船对接的惊险,以及人类在广袤宇宙的渺小。 这部电影的剧情其实很简单 Read more ...

2015-11-26 影评 , MattDamon

Git hook

和其他 Version Control System 一样,git 也有方法来触发自定义脚本。 两类 hooks: client hooks server hooks Installing a hook hook 脚本在 hooks 子目录下,大部分是 .git/hooks 下。在使用 git init 之后就会初始化一些 sample 脚本,在 hooks 下都以 .sample 结尾,如果要使用则需要将 .sample 后缀去掉。 Client-side Hooks pre-commit pre-commit hook 会在输 Read more ...

2015-11-21 git , git-hook , vcs

Java 查漏补缺之 throwable vs exception 区别

在 java 中 try catch 的时候,大多数情况下是使用的 Exception,但是今天看代码有些却 catch 了 Throwable,于是总结下。 看 JDK 源码知道 Throwable 是 Exception 的超类,也同样是 Error 的超类,所以可想而知,如果 catch 了 Throwable,那么会连同 Exception 和 Error 一同 catch,这样也不会丢异常。 Throwable 是所有异常的根,java.lang.Throwable Error 是错误,java.lang.Error,Error Read more ...

2015-11-20 java , jdk , exception

Awesome vim plugin website collections

功能比较强大,比较重要的几个 Plugin 都在单独的文章中做了介绍,这里单独的列举一些特定场景使用的插件,带有语法高亮等的插件,比如针对 Nginx 配置, Dockerfile 文件等等的插件。 Plugins 优化 nginx 配置 Plug 'chr4/nginx.vim' Language Related Python Go Plug 'fatih/vim-go' js Plug 'kchmck/vim-coffee-script' " CoffeeScript Plugin 'mtscout6/vim-cjsx' vi Read more ...

2015-11-03 vim , awesome , collection , collections

每天学习一个命令:tr 命令行届的翻译

tr 是 translate 的缩写。 tr [OPTION] SET1 [SET2] translate SET1 to SET2 转换大小写 cat "abc" | tr a-z A-Z cat "abc" | tr [:lower:] [:upper:] 将空白转换成 TABs echo "a b" | tr [:space:] '\t' 转换括号 echo ‘{abc}’ | tr ‘{}’ ‘()’ (abc) delete set 删除 -d 指定的字符集 echo "abc" | tr -d 'a' bc Read more ...

2015-11-02 linux , tr , command

lua installation

Install Lua in Linux You can install lua in Linux Mint/Debian/Ubuntu.. You can find all verions of lua here. wget http://www.lua.org/ftp/lua-5.3.1.tar.gz tar zxf lua-5.3.1.tar.gz cd lua-5.3.1 make linux test Finally, if test have passed, then install lua into the right place b Read more ...

2015-10-31 lua , linux

Things to do after install Linux Mint

I have changed my desktop environment to Linux, and after I tried Ubuntu and Debian, I finally choose the Linux Mint distribution. I think there are some reasons why this distribution take the first place in distrowatch. User-friendly desktop environment and convenient software p Read more ...

2015-10-24 linux , linux-mint , applications

在 Linux 下安装字体

Most of computer fonts people using are TrueType fonts. TrueType fonts end with .ttf, which stand for TrueType Font. This tutorial shows how to install TrueType fonts in Linux (Debian, Ubuntu, Linux Mint, etc). Linux 字体文件夹 Linux 下默认安装的字体都被存放在 /usr/share/fonts 下。 如果是个人使用可以将字体文件 Read more ...

2015-10-21 linux , linux-mint , fonts , font , truetype

git presentation

之前做过一个简单的 git 的介绍,下面是 PPT 的摘录。 What is Git Git is a free and open source distributed version control system(VCS) designed to handle everything from small to very large projects with speed and efficiency. Git 是一个分散式版本控制软件,最初由林纳斯·托瓦兹(Linus Torvalds)创作,于 2005 年以 GPL 发布。最初目的是为 Read more ...

2015-10-12 git , linux , version-control

Java 中时间相关处理工具类库 joda time

注意如果使用 Java SE 8 及以上,建议使用 java.time (JSR-210) 来代替使用 Joda-time。 Java 中日期,时间处理类库 Joda time 依赖 <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>2.10.2</version> </dependency> 最新的版本官 Read more ...

2015-10-11 java , joda-time , jdk8

最近文章

  • 让 AI 来编写 Git 提交变更信息 很早之前就看到了 GitHub Copilot 可以在 VS Code 中提交 Git 时自动编写提交 Message,但是实际上我一直没有用起来。正好现在对 Git Message 做一个完整的学习,顺便也了解一下当前的 AI Commits 方案。
  • Uptime Kuma 清理 SQLite 数据库历史数据 大概两年前我自己部署了 Uptime Kuma 来监控我的各项服务在线情况,这两年内一直工作非常稳定,除了偶尔的网络波动带来的误报,基本上没有其他大问题。
  • 历史最低 29 美元通过 Northwest Registered Agent 注册美国公司 前几个月很多人分享通过 [[Stripe Atlas]] 注册美国公司(LLC),但是 Atlas 及时通过微软的创业者链接也需要 250 美元,今天就教一下大家如何只需要 133 美元就可以注册一家美国 LLC。
  • kookey 美国静态住宅 IP 去年开始因为一些海淘的原因,所以租赁了一个美国静态住宅 IP,299 美元买了一台 Google Pixel 9,后来陆陆续续又因为申请美国网站的各种服务就一直续费了下来。所以本文就记录一下非常个人的使用。
  • Novita AI 面向 AI 开发者的 GPU 云平台 在如今 AI 时代,个人开发者和企业都想要高效,经济,且容易部署的 AI 模型,尤其是 DeepSeek 横空出世之后使得个人在部署使用私有 AI 模型方面变得异常简单,但问题随之出现,普通人的电脑无法带动 DeepSeek 发布的更消耗内存更消耗计算能力的模型,普通用户也很难去给自己的每台电脑都配上英伟达 4090,更不用说去管理 GPU 集群,而普通开发者如果想要将自己的模型部署到云服务上也非常棘手,而这就是今天我要介绍的 Novita.AI 要解决的问题。