The travis gem includes both a command line client and a Ruby library to interface with a Travis CI service. Both work with travis-ci.org, travis-ci.com or any custom Travis CI setup you might have. Check out the installation instructions to get it running in no time.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function () { | |
let rsshub_host = 'https://rsshub.app'; | |
let cnblog = 'https://www.cnblogs.com/'; | |
let csdn = 'https://blog.csdn.net/'; | |
let jianshu_user = '/jianshu/user/'; | |
let zhihu_user = '/zhihu/people/activities/'; | |
let zhihu_collection = '/zhihu/collection/'; | |
let zhihu_zhuanlan = '/zhihu/zhuanlan/'; | |
let bilibili_user = '/bilibili/user/video/'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# 在需要转换图片的目录下运行此脚本 | |
# convert命令是ImageMagick这个图片处理软件包中的一个命令 | |
# 安装ImageMagick之后,才能使用convert命令 | |
# man convert可以查看命令用法帮助文档 | |
# 逐个将所有png,bmp,jpg格式图片文件转换为原来尺寸的1/4大并保存为jpg格式图片文件 | |
# 转换后重命名 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//from https://gist.github.com/phawxby/9e41cb8d57ca5106046de80d8b24e308 | |
'use strict'; | |
// Based on https://gist.github.com/zhoujiealex/4d926889b02b85d4d8d73f036ef728eb | |
let Promise = require('bluebird'); | |
let gulp = require('gulp'); | |
let cssnano = require('gulp-cssnano'); | |
let uglify = require('gulp-uglify'); | |
let htmlmin = require('gulp-htmlmin'); | |
let htmlclean = require('gulp-htmlclean'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
node_js: | |
- '6' | |
# 缓存依赖,节省持续集成时间 | |
cache: | |
directories: | |
- node_modules | |
- themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 原作者: t0n1 | |
# 来自: http://hacktracking.blogspot.ca/2013/07/download-mega-files-from-command-line.html | |
# | |
# 修改: maboloshi | |
# <file_url>: https://mega.nz/#!<id>!<decyption Key> | |
url=$1 | |
out_file="$2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in $(ls *rst) | |
do | |
filename="${i%.*}" | |
echo "Converting $i to $filename.md" | |
pandoc "$i" -f rst -t gfm -o "$filename.md" | |
done |