Skip to content

Instantly share code, notes, and snippets.

View geekyouth's full-sized avatar
💪
fighting

极客青年 geekyouth

💪
fighting
View GitHub Profile
@geekyouth
geekyouth / emmet-snippet.md
Created April 12, 2018 01:55 — forked from zxhfighter/emmet-snippet.md
自定义emmet模板

自定义emmet模板

问题复现

ST(Sublime Text)安装emmet插件后,输入!,按tab键就可以快速得到一个简易的html5模板,甚是便捷:

<!DOCTYPE html>
<html lang="en">
<head>
@geekyouth
geekyouth / centos6.5_nginx
Created October 4, 2018 13:26 — forked from ifels/centos6.5_nginx
centos 6.5 nginx安装与配置
第一步,在/etc/yum.repos.d/目录下创建一个源配置文件nginx.repo:
cd /etc/yum.repos.d/
vim nginx.repo
填写如下内容:
[nginx]
name=nginx repo
package cn.java666.jobtracker.common;
import org.junit.Test;
import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Enumeration;
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<!-- https://blog.csdn.net/www1056481167/article/details/60139851 -->
<!--自定义添加-->
<mirror>
@geekyouth
geekyouth / pac.js
Created June 4, 2019 04:26
pac.txt---自用
// Generated by gfwlist2pac in precise mode
// https://github.com/clowwindy/gfwlist2pac
var proxy = "__PROXY__";
var rules = [
"|http://85.17.73.31/",
"||sourceforge.net",
"||github.io",
"||linkedin.com",
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set nu " 显示行号
set ignorecase " 搜索时忽略大小写
set showcmd " 显示执行的命令
syntax on " 语法高亮
filetype on "检测文件类型
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
# sublime
127.0.0.1 www.sublimetext.com
127.0.0.1 sublimetext.com
127.0.0.1 sublimehq.com
127.0.0.1 telemetry.sublimehq.com
127.0.0.1 license.sublimehq.com
127.0.0.1 45.55.255.55
127.0.0.1 45.55.41.223
0.0.0.0 license.sublimehq.com
0.0.0.0 45.55.255.55
@geekyouth
geekyouth / fuck_geek-share.com.js
Last active March 20, 2020 01:33
【原创】greasyfork.org 油猴脚本:跳过QQ邮箱超链接的鸡肋安全提示---fuck_geek-share.com
// ==UserScript==
// @name fuck_geek-share.com
// @namespace https://github.com/geekyouth/
// @version 1.0
// @description fuck_geek-share.com,移除页面推广信息
// @author GeekYouth
// @match https://www.geek-share.com/*
// @grant none
// ==/UserScript==
@geekyouth
geekyouth / user-rule.txt
Created January 1, 2020 15:11
编辑GFWList的用户规则.…user-rule.txt
! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
! 要走代理
||vim.org
||packagecontrol.io
||apache.org
||*.apache.org
||readthedocs.io
||cloudera.com
Key Sublime Text 3.2.1 Build 3207
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4