Skip to content

Instantly share code, notes, and snippets.

Avatar
💪
fighting

极客青年 geekyouth

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

自定义emmet模板

问题复现

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

<!DOCTYPE html>
<html lang="en">
<head>
@geekyouth
geekyouth / centos6.5_nginx
Created Oct 4, 2018 — forked from ifels/centos6.5_nginx
centos 6.5 nginx安装与配置
View centos6.5_nginx
第一步,在/etc/yum.repos.d/目录下创建一个源配置文件nginx.repo:
cd /etc/yum.repos.d/
vim nginx.repo
填写如下内容:
[nginx]
name=nginx repo
@geekyouth
geekyouth / pac.js
Created Jun 4, 2019
pac.txt---自用
View pac.js
// 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",
@geekyouth
geekyouth / provinces.json
Created Jul 29, 2019
全国城市区号列表.json
View provinces.json
[
{
"code": "010",
"city": "北京",
"pinyin": "beijing"
},
{
"code": "021",
"city": "上海",
"pinyin": "shanghai"
View Key Sublime Text 3.2.1 Build 3207
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
View GetRealLocalIP.java
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;
View settings-all.xml
<?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 / README.MD
Last active Oct 25, 2020
lastpass 汉化资料语言包【参考 http://www.3gz.xin/wp/?p=7593
View README.MD

参考以下路径,替换文件

C:\Users\你的账户名\AppData\Local\CentBrowser\User Data\Default\Extensions\hdokiejnpimakedhajhdlcegeplioahd\4.39.0.2_0_locales\en_US\messages.json

重启浏览器

View gist:3b3f579efb5c2b9f17bdd6fb6de98724
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set nu " 显示行号
set ignorecase " 搜索时忽略大小写
set showcmd " 显示执行的命令
syntax on " 语法高亮
filetype on "检测文件类型
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
View hosts
# 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
You can’t perform that action at this time.