- slack
- コミュニケーションはもちろん。連携でより開発環境を快適に
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 requests | |
payload = {'page': '1', 'per_page': '3'} | |
headers = {'Authorization': 'Bearer <token>', 'Content-Type': 'application/json'} | |
response = requests.get('http://qiita.com/api/v2/authenticated_user/items', params=payload, headers=headers) | |
def dumper(dict): | |
summary = {} | |
for key in ['title', 'likes_count', 'comments_count', 'uri']: |
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 requests | |
from bs4 import BeautifulSoup | |
hatena_id = '<hatena_id>' | |
blog_id = '<blog_id>' | |
password = '<api_key>' | |
payload = {'page': '012'} | |
def get_collection_uri(hatena_id, blog_id, password): | |
service_doc_uri = "https://blog.hatena.ne.jp/{hatena_id:}/{blog_id:}/atom".format(hatena_id=hatena_id, blog_id=blog_id) |
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
#!/usr/bin/env python3 | |
## wav_filename:text in metadat.csv | |
## parsed to mel, ttf and txt files | |
import os | |
import argparse | |
import string | |
import numpy as np |
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
public class LookAt: MonoBehaviour | |
{ | |
[SerializeField] private Transform[] Targets; | |
[SerializeField] private Transform Head; | |
[SerializeField] private float DotThreshould = 0.7f; | |
[SerializeField] private float MaxDistance = 3.0f; | |
private bool _isAwake = false; | |
private bool _backDefault = false; | |
private Vector3 _defaultForward; |
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
void main() async { | |
runApp(const MyApp()); | |
// 初期化後 | |
await LateStaticUtil.initialize(); | |
// 初期化前に呼ぶ、初期化されていたら1になってる | |
var num = await LateStatic().getNumber(); | |
print(num); |
OlderNewer