G0dspeed's Blog

Stay Hungary, Stay Foolish
经验技巧

怎样创建一个只允许FTP登录的Linux用户

Here are steps to setup a user and allow the user access only via FTP (i.e. no SSH) and also limit access to a specific (user home) directory on proftpd: 1. Add new user: adduser newusername 2. Set password: passwd newusername 3. Modify user home directory fro…

2018/04/02 0条评论 380点热度 0人点赞 G0dspeed 阅读全文
经验技巧

怎样遍历目录找到包含特定字串的文件

grep -rnw '/path/to/somewhere/' -e 'pattern' -r or -R is recursive, -n is line number, and -w stands for match the whole word. -l (lower-case L) can be added to just give the file name of matching files. Along with these, --exclude, --include, --exclude-dir fl…

2018/01/30 0条评论 357点热度 0人点赞 G0dspeed 阅读全文
经验技巧

Ubuntu Boot分区满的处理办法

sudo apt-get clean sudo apt autoremove --purge sudo apt-get autoremove --purge sudo purge-old-kernels sudo apt autoremove

2017/10/31 0条评论 763点热度 0人点赞 G0dspeed 阅读全文
图片摄影

Ocean City Air Show 2017

废话少说,直接上图! P51, A10, Blue Angel, B2, F22... 有这些关键字就够了

2017/06/19 0条评论 509点热度 0人点赞 G0dspeed 阅读全文
我的生活

主机换到Vultr

用了三年多了DigitalOcean,最近发现Vultr的性价比更高,速度更快。 还犹豫什么?换! 目前感觉速度还不错~ 有海外虚拟机需求的朋友可以关注了。

2017/03/20 0条评论 572点热度 0人点赞 G0dspeed 阅读全文
经验技巧

怎样将动画gif转成mp4

今天刚好有这个需求研究了一下,发现ffmpeg就可以实现。 $ ffmpeg -f gif -i infile.gif outfile.mp4 Mark一下

2017/02/21 0条评论 486点热度 0人点赞 G0dspeed 阅读全文
经验技巧

国内公共DNS服务器

还在用ISP给的DNS?有没发现一些网站上不去了? 试试下面几个公共DNS服务器: DNSPod首选:119.29.29.29备选:182.254.116.116 114DNS首选:114.114.114.114备选:114.114.114.115 阿里DNS首选:223.5.5.5备选:223.6.6.6 DNS派首选(电信/移动/铁通):101.226.4.6备选(电信/移动/铁通):218.30.118.6 首选(联通):123.125.81.6备选(联通):140.207.198.6 百度DNS首选:180…

2017/01/03 0条评论 596点热度 0人点赞 G0dspeed 阅读全文
经验技巧

怎样分离MP4中的音频为MP3

如果碰上一些MP4中的音乐特别好听的,想转成MP3的话怎么办? 用ffmpeg就可以实现: ffmpeg -i a.mp4 b.mp3 还可以加 -b:a 192k 来指定码率 更多参数可参照:https://trac.ffmpeg.org/wiki/Encode/MP3  

2016/12/29 0条评论 1014点热度 0人点赞 G0dspeed 阅读全文
网络技术

要让VPN通过的话防火墙必须打开哪些端口?

1) If RRAS based VPN server is behind a firewall (i.e. a firewall is placed between Internet and RRAS server), then following ports need to be opened (bidirectional) on this firewall to allow VPN traffic to pass through: – For PPTP: IP Protocol=TCP, TCP Port n…

2016/12/27 0条评论 7293点热度 2人点赞 G0dspeed 阅读全文
网络技术

在Ubuntu 16.04下安装dnsmasq

Ubuntu好像自12.04以后,就把定制的dnsmasq用作自己的DNS解析服务。只绑定在127.0.0.1上面。 但是当你安装了完整版的dnsmasq以后,却发现这个定制版的dnsmasq导致无法在127.0.0.1以外的IP上提供服务。 经过多方研究,发现经过如下两步操作以后,dnsmasq的完整版就可以完美运行了。 编辑 /etc/NetworkManager/NetworkManager.conf 在dns=dnsmasq这一行前面加上#注释掉。 这样就可以把这个定制版的dnsmasq停掉 编辑/lib/…

2016/11/09 0条评论 2736点热度 0人点赞 G0dspeed 阅读全文
12345…98
分类
  • 图片摄影
  • 我的生活
  • 数码产品
  • 硬件相关
  • 经典网文
  • 经验技巧
  • 编程相关
  • 网络技术
标签聚合
自由行 hack Linux Windows USA 摄影 模型 movie
最新 热点 随机
最新 热点 随机
怎样在Linux下搜索包含特定字串的文件 2022回国全记录(三)-- 离开上海 2022回国全记录(二)-- 抵达上海 2022回国全记录(一)-- 离开美国 如何检测网站支持的SSL/TLS版本 Win11跳过TPM检测
BitDefender 航拍长虫山 Pirates of the Caribbean Dead Mans Chest 菜鸟音响选配攻略[收藏] 文件同步备份工具 Linux下利用Rsync命令进行增量备份

COPYRIGHT © 2022 G0dspeed's Blog. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang