Skip to content

Instantly share code, notes, and snippets.

View geekyouth's full-sized avatar
💪
fighting

极客青年 geekyouth

💪
fighting
View GitHub Profile
@geekyouth
geekyouth / docker-registry-mirrors.md
Created June 21, 2023 05:14 — forked from y0ngb1n/docker-registry-mirrors.md
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized

Docker Hub 镜像加速器

国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。

Dockerized 实践 https://github.com/y0ngb1n/dockerized

配置加速地址

Ubuntu 16.04+、Debian 8+、CentOS 7+

// ==UserScript==
// @name YARN Cluster Prettyfication
// @namespace http://thedeetch.github.io
// @version 0.5
// @description Prettyfier for YARN cluster web UI
// @author thedeetch
// @match *://*/cluster*
// @grant none
// @require http://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.js
// ==/UserScript==
@geekyouth
geekyouth / .Cloud.md
Created March 30, 2021 05:12 — forked from imba-tjd/.Cloud.md
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供软件/框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@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
# 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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set nu " 显示行号
set ignorecase " 搜索时忽略大小写
set showcmd " 显示执行的命令
syntax on " 语法高亮
filetype on "检测文件类型
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@geekyouth
geekyouth / README.MD
Last active October 21, 2021 11:35
lastpass 汉化资料语言包【参考 http://www.3gz.xin/wp/?p=7593

参考以下路径,替换文件

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

重启浏览器

<?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>
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;