-
Sonatype Nexus 3.0 OSS
- NPM (proxy)
- npm packages (registry.npmjs.org/_all_docs, skimdb.npmjs.com)
- from npmjs.cf
- yarn: https://github.com/yarnpkg/yarn/releases
- install using yarn
- multi-threaded (ruby-concurrecy)
- npm packages (registry.npmjs.org/_all_docs, skimdb.npmjs.com)
- NPM (proxy)
-
Bash on windows offline install
-
https://www.varunagw.com/how-install-windows-subsystem-linux-bashonwindows-offline-windows/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from sys import argv, exit | |
cac = [] | |
res = [] | |
words = [] | |
M = 0 | |
for x in range(1000): | |
cac.append([-1 for j in range(1000)]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getDate(decrease) { | |
var date = new Date(); | |
if(decrease && decrease > 0) { | |
date = new Date(date); | |
date.setDate(date.getDate() - decrease); | |
} | |
var yyyy = date.getFullYear().toString(), | |
dd = date.getDate().toString(), | |
mm = (date.getMonth() + 1).toString(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAME=$1 | |
FROM=$2 | |
PIDFILE=".$1.pid" | |
DIR=$(pwd) | |
PERIOD=${3:-7} | |
PRIORITY=${4:-10} | |
FILENAME="$(date +%Y-%m-%d_%H%M).tar.gz" | |
BACKUPDIR="$DIR/backups/$NAME" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* layout | |
-------------------------------------*/ | |
body { | |
margin: 0 3.5%; | |
padding: 0; | |
font-family: 'NanumGothic'; | |
} | |
p, h2, tr, td, td a, select { | |
font-family: 'NanumGothic'!important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import icu | |
import romkan | |
from unihandecode import Unihandecoder | |
def main(): | |
d = Unihandecoder(lang='ja') | |
collator = icu.Collator.createInstance(icu.Locale('ja_JP.UTF-8')) | |
table = [ | |
u"女言葉の消失", # 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
try: | |
import requests | |
except ImportError: | |
raise ImportError(u'requests 패키지가 설치되어있지 않습니다.\n>> pip install requests') | |
from urllib.parse import parse_qsl | |
from collections import namedtuple | |
from datetime import datetime | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"errors" | |
"net/url" | |
fasthttp "github.com/valyala/fasthttp" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as amqp from 'amqplib'; | |
export class ExponentialBackoffHelper { | |
private maxDelay: number = 60; | |
private factor: number = 2; | |
private maxAttempts: number = 5; | |
constructor( |
Credits for the data go to https://gist.github.com/Fluidbyte/2973986 . I've simply transformed the data into an array.