Skip to content

Instantly share code, notes, and snippets.

View msh01's full-sized avatar

yoma msh01

  • China
View GitHub Profile
@Orenoid
Orenoid / titles.json
Created October 28, 2019 09:40
轻小说标题列表
[
"为所欲为的前勇者再度转生,开始强大而愉快的第二轮游戏(不自重前勇者强大又轻松的NEW GAME)",
"结束时在做什么呢?正忙着吗?被拯救可以吗?(末日时在做什么?有没有空?可以来拯救吗?)",
"死神外传小说(BLEACH Spirits Are Forever With You)",
"普通攻击是全体二连击,这样的妈妈你喜欢吗?(平A=两次全体攻击的老妈你喜欢吗?)",
"身为男高中生兼当红轻小说作家的我,正被年纪比我小且从事声优工作的女同学掐住脖子",
"加入年轻人敬而远之的黑魔法公司,没想到工作待遇好,社长和使魔也超可爱,太棒了!",
"为了拯救世界的那一天─Qualidea Code─(为了终有一天能拯救世界)",
"转生成女性向游戏里尽是毁灭FLAG的反派千金了(转生恶役只好拔除破灭旗标)",
"喜欢上亲友的女友的向井弘凪的罪与罚(喜欢上死党的女友,向井弘凪的罪与罚)",
@hermanbanken
hermanbanken / Dockerfile
Last active March 1, 2025 03:18
Compiling NGINX module as dynamic module for use in docker
FROM nginx:alpine AS builder
# nginx:alpine contains NGINX_VERSION environment variable, like so:
# ENV NGINX_VERSION 1.15.0
# Our NCHAN version
ENV NCHAN_VERSION 1.1.15
# Download sources
RUN wget "http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" -O nginx.tar.gz && \
@srph
srph / oauth.js
Created February 21, 2016 13:50
axios: interceptor which includes your oauth token in every request as an Authorization header
import axios from 'axios';
// You can use any cookie library or whatever
// library to access your client storage.
import cookie from 'cookie-machine';
axios.interceptors.request.use(function(config) {
const token = cookie.get(__TOKEN_KEY__);
if ( token != null ) {
config.headers.Authorization = `Bearer ${token}`;
@qwIvan
qwIvan / SslUtil.java
Created October 21, 2015 02:56 — forked from sharonbn/SslUtil.java
SSL/TLS connection from Eclipse Paho Java client to mosquitto MQTT broker
import java.io.*;
import java.nio.file.*;
import java.security.*;
import java.security.cert.*;
import javax.net.ssl.*;
import org.bouncycastle.jce.provider.*;
import org.bouncycastle.openssl.*;
public class SslUtil
@binjoo
binjoo / Amount2RMB.java
Created July 18, 2013 10:15
JAVA:字符串金额转成中文大写
/*
* Amount2RMB.java 2008-6-15
*/
package test;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Amount2RMB {
private static final Pattern AMOUNT_PATTERN =