Skip to content

Instantly share code, notes, and snippets.

@anylzer
anylzer / 01.bash_shortcuts_v2.md
Created February 6, 2023 10:41 — forked from tuxfight3r/01.bash_shortcuts_v2.md
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@anylzer
anylzer / ffmpeg.md
Created May 11, 2021 02:58 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
@anylzer
anylzer / ICS.php
Created November 1, 2017 04:13 — forked from jakebellacera/ICS.php
A convenient script to generate iCalendar (.ics) files on the fly in PHP.
<?php
/**
* ICS.php
* =======
* Use this class to create an .ics file.
*
* Usage
* -----
* Basic usage - generate ics file contents (see below for available properties):
@anylzer
anylzer / curl-example.md
Created April 24, 2017 12:14 — forked from JingwenTian/curl-example.md
linux curl 命令详解,以及常用curl实例 ( http://blog.51yip.com/linux/1049.html
  1. 抓取页面内容到一个文件中

curl -o home.html http://jingwentian.com

2.用-O(大写的),后面的url要具体到某个文件,不然抓不下来。我们还可以用正则来抓取东西

curl -O http://jingwentian.com/logo.png 
curl -O http://jingwentian.com/uploads/2010/[0-9][0-9]/demo.jpg  
@anylzer
anylzer / .vimrc
Created February 28, 2012 05:57 — forked from c9s/.vimrc
fun! EvalVimScriptRegion(s,e)
let lines = getline(a:s,a:e)
let file = tempname()
cal writefile(lines,file)
redir @e
silent exec ':source '.file
cal delete(file)
redraw
redir END
echo "Region evaluated."
@anylzer
anylzer / fetion.rb
Created July 8, 2011 14:08
ruby fetion
#!/usr/bin/ruby
# Using GPL v2
# Author:: DongYuwei(mailto:[email protected])
# 更新部分内容应对2010年7月25日飞信升级
require 'uri'
require 'net/http'
require 'net/https'
require "socket"
require 'rexml/document'