Skip to content

Instantly share code, notes, and snippets.

View geekyouth's full-sized avatar
💪
fighting

极客青年 geekyouth

💪
fighting
View GitHub Profile
@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 / 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>
@xjohjrdy
xjohjrdy / xiaoxiao_tts.py
Last active April 24, 2024 09:27
返回的音频没有文件头,所以我随便加的一个文件头,但显示的音频时长有问题。如果播放器不能正常播放,可以使用Chrome播放。
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
from ws4py.client.threadedclient import WebSocketClient
import binascii
class WSClient(WebSocketClient):
def __init__(self, url, text, filename):
@geekyouth
geekyouth / provinces.json
Created July 29, 2019 08:01
全国城市区号列表.json
[
{
"code": "010",
"city": "北京",
"pinyin": "beijing"
},
{
"code": "021",
"city": "上海",
"pinyin": "shanghai"
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
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active May 7, 2024 09:32
国内的 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+

@satorg
satorg / scala-compile-server-options.md
Last active March 20, 2022 09:05
HOWTO FIX: "Warning:scalac: Cannot connect to compile server at localhost/127.0.0.1:3200 Trying to compile without it"

Applicable for:

  • IntelliJ IDEA CE 2019.1 (2018.* – ?)
  • macOS Mojave
  • may also work for other IDEA/macOS versions

Steps to fix:

  1. Go to directory ~/Library/Preferences/IdeaIC${IDEA_VERSION}/
    • for IntelliJ IDEA CE 2019.1: ~/Library/Preferences/IdeaIC2019.1/.
  2. There're two files in this directory:
  • ./settingsRepository/repository/scala.xml;
@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
@ericzhong
ericzhong / ELK 安装与使用.md
Last active October 9, 2018 21:05
ELK 安装与使用

介绍

ELK = Elasticsearch + Logstash + Kibana,都是 Elastic 公司的产品。

Elastic Stack 目前包含组件 Beats、Elasticsearch、Elasticsearch Hadoop、Kibana、Logstash、X-Pack。

安装