Skip to content

Instantly share code, notes, and snippets.

View bluelovers's full-sized avatar

bluelovers bluelovers

View GitHub Profile
@bluelovers
bluelovers / emojis.json
Created September 10, 2018 08:38 — forked from oliveratgithub/emojis.json
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family_mothers_two_girls", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👧", "category": "p", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family_mothers_children", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👦", "category": "p", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family_mothers_two_boys", "shortname": "", "unicode": "", "html": "👩‍👩‍👦‍👦", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family_two_girls", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👧", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👧‍👦", "name": "family_children", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👦", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👦‍👦", "name": "family_two_boys", "shortname": "", "unicode": "", "html": "👨&zw
@bluelovers
bluelovers / liveplugin.cn2tw.kt
Last active August 7, 2018 05:47
idea liveplugin cn2tw 簡繁轉換 兩種模式 一種是 盡量不去取代已經存在於繁體中的字 另一種則是會取代
import com.intellij.openapi.actionSystem.AnActionEvent
import liveplugin.currentEditor
import liveplugin.registerAction
import liveplugin.runWriteAction
import liveplugin.*
import liveplugin.show
import com.intellij.openapi.editor.actionSystem.EditorAction;
import com.intellij.openapi.editor.actionSystem.*;
import com.intellij.openapi.editor.*;
import com.sun.jna.StringArray

新闻

推荐列表

URL:http://v2.api.dmzj.com/article/recommend/header.json

method: GET

content-type: text/html

@bluelovers
bluelovers / tw.lng
Last active June 4, 2018 15:14
Advanced Renamer Traditional Chinese
TargetApplication=3.82
Author=bluelovers
SourceLANGID=1033
LANGID=1028
Generator=DKLang Translation Editor v3.0
LastModified=2018-06-04 22:42:21
[About]
00000002=關於
00000161=關閉
@bluelovers
bluelovers / index.js
Last active January 28, 2018 10:49
合併小說txt為單一整合txt
#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const novelGlobby = require("node-novel-globby");
const path = require("path");
const Promise = require("bluebird");
const node_novel_info_1 = require("node-novel-info");
const crlf_normalize_1 = require("crlf-normalize");
const fs_iconv_1 = require("fs-iconv");
let TXT_PATH;
@bluelovers
bluelovers / loki-fs-sync-adapter.js
Created October 12, 2016 20:35
LokiFsSyncAdapter - A loki persistence adapter which persists using node fs sync module
/**
* Created by user on 2016/10/13.
*/
"use strict";
(function (root, factory)
{
if (typeof define === 'function' && define.amd)
{
@bluelovers
bluelovers / 千年戦争アイギス.user.js
Last active October 1, 2015 05:18
適用於 使用 html5 canvas 技術的 DMM 遊戲 千年戦争アイギス
// ==UserScript==
// @name 千年戦争アイギス
// @namespace bluelovers
// @author bluelovers
//
// @downloadURL https://gist.github.com/bluelovers/5d0b9eff3d8fbb48388e/raw/%25E5%258D%2583%25E5%25B9%25B4%25E6%2588%25A6%25E4%25BA%2589%25E3%2582%25A2%25E3%2582%25A4%25E3%2582%25AE%25E3%2582%25B9.user.js
// @updateURL https://gist.github.com/bluelovers/5d0b9eff3d8fbb48388e/raw/%25E5%258D%2583%25E5%25B9%25B4%25E6%2588%25A6%25E4%25BA%2589%25E3%2582%25A2%25E3%2582%25A4%25E3%2582%25AE%25E3%2582%25B9.user.js
//
// include http://www.dmm.co.jp/netgame/social/-/gadgets/=/app_id=156462/
// @include http://assets.millennium-war.net/*
@bluelovers
bluelovers / sha-1.js
Last active August 29, 2015 14:27
JS implementation of SHA-1
/**
* JS implementation of SHA-1
*
* http://stackoverflow.com/questions/539488/how-would-i-get-a-hash-value-of-a-users-file-with-javascript-or-flash
**/
(function(){
var sha1 = function (bytes) {
return sha_hexdigest(bytes);
@bluelovers
bluelovers / DMM_Plus_SC.user.js
Last active September 2, 2015 01:43
DMM_Plus_SC.user.js
// ==UserScript==
// @name DMM Plus SC
// @namespace bluelovers
// @author bluelovers
//
// @downloadURL https://gist.github.com/bluelovers/d7b2d9f51030a90a871f/raw/DMM_Plus_SC.user.js
// @updateURL https://gist.github.com/bluelovers/d7b2d9f51030a90a871f/raw/DMM_Plus_SC.user.js
//
// @include http://www.dmm.co*/netgame/social/application/-/list/*
// @include https://www.dmm.co*/my/*
@bluelovers
bluelovers / SocialTweak_SC.user.js
Last active August 29, 2015 14:21
SocialTweak_SC.user.js
// ==UserScript==
// @name SocialTweak SC
// @namespace bluelovers
// @author bluelovers
//
// @downloadURL https://gist.github.com/bluelovers/3ea67f4344c17ec82e65/raw/SocialTweak_SC.user.js
// @updateURL https://gist.github.com/bluelovers/3ea67f4344c17ec82e65/raw/SocialTweak_SC.user.js
//
// @include *
// @include https://www.facebook.com/*