duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
/*jslint latedef:false*/ | |
'use strict'; | |
var CodeMirror = require('codemirror'); | |
var twitterText = require('twitter-text'); | |
CodeMirror.defineSimpleMode = function(name, states) { | |
CodeMirror.defineMode(name, function(config) { | |
return CodeMirror.simpleMode(config, states); | |
}); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Code Mirror CDN</title> | |
<link rel="stylesheet" href="http://esironal.github.io/cmtouch/lib/codemirror.css"> |
// RSA with node-forge | |
"use strict"; | |
// npm install node-forge | |
const forge = require("node-forge"); | |
new Promise((f, r) => forge.pki.rsa.generateKeyPair( | |
2048, (err, pair) => err ? r(err) : f(pair))) | |
.then(keypair => { | |
const priv = keypair.privateKey; |
This is an unofficial, uncomplete and (pretty sure) wrong documentation of the RESTful service which powers the League of Legends spectator mode.
This documentation is desgined to be community driven and should be extended by everyone. If you find things missing, add them please!
Riot's spectator mode works by requesting replay data via HTTP form a service. The data is split in chunks which usually contain about 30 seconds of gameplay. Additionally there are key frames which seem to contain more information than a single chunk. They seem to be used to support skipping back in time or for spectators that join the game later.
// ==UserScript== | |
// @name TweetDeck Paste Image | |
// @namespace gaeulbyul.userscript | |
// @description 트윗덱에 클립보드 붙여넣기(Ctrl-V)로 이미지를 업로드하는 기능을 추가한다. | |
// @author Gaeulbyul | |
// @license WTFPL | |
// @include https://tweetdeck.twitter.com/ | |
// @version 0.3b3 | |
// @run-at document-end | |
// @grant none |
유니코드에서 한글을 어떻게 다루는지를 정리하였다.
We need to generate a unique SSH key for our second GitHub account.
ssh-keygen -t rsa -C "your-email-address"
Be careful that you don't over-write your existing key for your personal account. Instead, when prompted, save the file as id_rsa_COMPANY
. In my case, I've saved the file to ~/.ssh/id_rsa_work
.