Skip to content

Instantly share code, notes, and snippets.

View maboloshi's full-sized avatar
😑
闭关中。。。。忙起飞了~~~~

沙漠之子 maboloshi

😑
闭关中。。。。忙起飞了~~~~
  • 12:20 (UTC +08:00)
View GitHub Profile
@abhisekp
abhisekp / # Emojis.md
Last active October 22, 2025 22:34 — forked from rxaviers/gist:7360908
Complete list of Github :octocat: supported emojis — http://j.mp/gh-emojis
@r-a-y
r-a-y / _readme.md
Last active August 28, 2025 17:53
Using Git for Windows (PortableGit) with a portable HOME directory

Prologue

I develop on Windows (yeah, I hear your jeers, linux users!), so to use Git, I use Git for Windows

However, I use Git For Windows (portable version) so I can keep my dev environment centrally located. This is so I can reuse this environment simply by copying my msysgit directory to a USB drive.

Installation

@phawxby
phawxby / gulpfile.js
Created May 21, 2017 16:30
Hexo integrated into a Gulp pipeline
'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');
let imagemin = require('gulp-imagemin');
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active January 5, 2026 19:18
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@mcxiaoke
mcxiaoke / crossover.md
Created July 21, 2017 05:52 — forked from Nathaniel100/crossover.md
crossover在mac系统字体模糊解决方法

先从windows系统复制文件simsun.ttf到你的虚拟机下(c:\windows\fonts\),在CrossOver下打开regedit(命令行方式) 找到HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements,删除下面的项目simsun 宋体 新宋体

@tomma5o
tomma5o / superShell.bash
Last active January 2, 2023 03:32
This gist is for standard install of the zsh shell and oh-my-zsh configuration with spaceship theme
#!/bin/bash
# For use this script copy&paste this in your terminal:
# bash <(curl -s https://gist.githubusercontent.com/tomma5o/302be3dc6e2092743e6049570e102a09/raw/superShell.bash)
OPTIONS="OSX Debian"
SELECTED="null"
echo Where you want to activate zsh?
select opt in $OPTIONS; do
@nickbclifford
nickbclifford / auto-deploying.md
Last active May 15, 2023 09:02
How to automatically deploy code to a server using Travis CI

Auto-Deploying via Travis CI

Because Travis CI can automatically execute scripts after successfully (or unsuccessfully!) executing tests, it is an obvious choice for a deployment tool. In order to deploy to a Git repository on a remote server, the process generally is as follows:

  • Set up SSH keys
  • Add the server's copy of the repository as a Git remote
  • Push to the remote
  • SSH into the server and execute any installation/compilation/miscellaneous commands

Before even touching .travis.yml...

Users

Upload images to GitHub

  1. Create a new issue on GitHub.

  2. Drag an image into the comment field.

  3. Wait for the upload process to finish.

  4. Copy the URL and use it in your Markdown files on GitHub.

@baymaxium
baymaxium / content.md
Created October 18, 2017 08:54
GitLab 工作流概览GitLab Issue Board

原文:Linux中国

GitLab 是一个基于 git 的仓库管理程序,也是一个方便软件开发的强大完整应用。 GitLab 拥有一个“用户新人友好”的界面,通过图形界面和命令行界面,使你的工作更加具有效率。GitLab 不仅仅对开发者是一个有用的工具,它甚至可以被集成到你的整个团队中,使得每一个人获得一个独自唯一的平台。

-- Marcia Ramos

本文导航

-GitLab 工作流02%

@quericy
quericy / auto_update.sh
Last active August 23, 2020 03:21
Auto update tracker list of aria2 config in Mac OSX
#!/bin/bash
DAEMON=/usr/local/Cellar/aria2/1.31.0/bin/aria2c
PID_NAME=aria2c
PID=$(ps ux | awk '/aria2c/ && !/awk/ {print $2}')
CONFIG_PATH='/path/to/aria2.conf'
TRACKER_URL='https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_ip.txt'
#####