npmエラーが出たらとりあえず試すと良いことを書き残しておきたい
npm install firebase でパーミッションエラーが出る
sudoをつけてもエラーが解消されない
<html> | |
<head> | |
<style> | |
* { | |
margin: 0; | |
} | |
body { | |
background-image: url(https://images.unsplash.com/photo-1488203602058-8db2ce840718?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60); |
# 参考 : https://qiita.com/drken/items/97e37dd6143e33a64c8c | |
a = [1, 14, 32, 51, 51, 51, 243, 419, 750, 910] | |
def binary_search(key, list_): | |
def isOK(index, key): | |
if a[index] >= key: | |
return True | |
return False |
package week102; | |
public class MyClass { | |
public static void main(String[] args) { | |
// TODO 自動生成されたメソッド・スタブ | |
int a, b; | |
String str1, str2; | |
a = 1; |
#include <stdio.h> | |
#include <stdlib.h> | |
int comp(const void *left, const void *right) | |
{ | |
return *(int *)left - *(int *)right; | |
} | |
int a[10] = {23, 2, 15, 7, 19, 10, 13, 4, 1, 27}; |
snippet = [] | |
while True: | |
s = input() | |
if s == "exit": | |
break | |
snippet.append(s) | |
for s in snippet: | |
print(f'"{s}",') |
type obj = { | |
[key: string]: any | |
} | |
const typeOf = (obj: any): string => { | |
return toString.call(obj).slice(8, -1).toLowerCase() | |
} | |
const camelToSnakeArray = (arr: any[]): any[] => { | |
return arr.map((item: any) => { |
import requests, glob, json, datetime, re | |
UUDI_TO_PROFILE_URL = "https://sessionserver.mojang.com/session/minecraft/profile/{uuid}" | |
achivements_pattern = re.compile(r'minecraft:(story|nether|end|adventure|husbandry)/.*') | |
files = glob.glob("*.json") | |
user = {} | |
for file in files: | |
uuid = file.split(".")[0] |