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 android.os.Build | |
import android.os.Handler | |
import android.os.Looper | |
import android.view.View | |
import android.view.Window | |
import android.view.WindowInsets | |
import android.view.WindowInsetsController | |
import androidx.core.view.ViewCompat | |
import androidx.core.view.WindowInsetsCompat |
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 'package:audioplayers/audioplayers.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:path_provider/path_provider.dart'; | |
import 'package:record/record.dart'; | |
void main() { | |
runApp(const MaterialApp( | |
home: AutoRecordStopPage(), | |
)); | |
} |
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
🌞 Morning 189 commits ███▏░░░░░░░░░░░░░░░░░ 15.4% | |
🌆 Daytime 225 commits ███▊░░░░░░░░░░░░░░░░░ 18.3% | |
🌃 Evening 650 commits ███████████░░░░░░░░░░ 52.9% | |
🌙 Night 164 commits ██▊░░░░░░░░░░░░░░░░░░ 13.4% |
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 serial | |
import requests | |
import json | |
import socket | |
import time | |
from requests.adapters import HTTPAdapter | |
from requests.packages.urllib3.util.retry import Retry | |
def execute(): | |
ser = serial.Serial('/dev/ttyUSB0', 9600, timeout=1.0) |
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 | |
import json | |
import socket | |
import time | |
# import upload_dust | |
file = open('register.txt', 'r') | |
line = file.readline() | |
number = int(line) | |
file.close() |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sstream> | |
#include <iostream> | |
#include <fstream> | |
#include <sys/socket.h> | |
#include <bluetooth/bluetooth.h> | |
#include <bluetooth/sdp.h> | |
#include <bluetooth/sdp_lib.h> |
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
# 분할정복 가장 가까운 점들 사이의 거리 구하는 Algorithm | |
import matplotlib.pyplot as plt | |
def distance(a, b, c, d): | |
result = pow((pow(c - a, 2) + pow(d - b, 2)), 0.5) | |
return result | |
def searching(alist): |