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 <string.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <arpa/inet.h> | |
#include <netinet/in.h> | |
int main(int argc, char *argv[]) | |
{ |
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
#---------------------------------------------------------# | |
# install_ROS2_dashing.sh | |
# @author Koki Nagahama (hamstick) | |
# @teston yet | |
# @discription install ROS2 Dashing & required packages | |
#---------------------------------------------------------# | |
# Set locale | |
sudo apt update && sudo apt -y full-upgrade | |
sudo apt -y install locales curl gnupg2 lsb-release |
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
#---------------------------------------------------------# | |
# install_foxy.sh | |
# @author Koki Nagahama (herp-vt) | |
# @teston Raspberry Pi 4B+ & Ubuntu 20.04 LTS (focal) 64bit | |
# @discription install ROS2 & required packages | |
#---------------------------------------------------------# | |
# Set locale | |
sudo apt update && sudo apt -y upgrade | |
sudo apt -y install locales curl gnupg2 lsb-release |
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
0 0,6,12,18 * * * /bin/bash interval_backup_aws.sh |
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
# Python 3.7 image on Debian stretch for ARMv7 | |
FROM arm32v7/python:3.6-stretch | |
# Install pipenv | |
RUN pip install --default-timeout=100 pipenv | |
# Set PIPENV_TIMEOUT=1000 to prevent timeout err | |
ENV PIPENV_TIMEOUT 1000 | |
# Setup pipenv | |
COPY Pipfile ./ |
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
/* | |
submission #8803956 - User: herp_sy | |
https://atcoder.jp/contests/sumitrust2019/submissions/8803956 | |
coding: utf-8 | |
lang: Java8 (OpenJDK 1.8.0) | |
*/ | |
import java.util.*; | |
import java.util.Collections; // sorting use |
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 | |
# lang: Ruby(2.3.3) | |
# submission # - User: herp_sy | |
# https://atcoder.jp/contests/ | |
# ------------------------------------------------------------ | |
## stdin,stdout utility | |
# str = gets | |
# strArray = gets.split('') | |
# strLines = readlines.map(&:chomp) |
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
/* | |
submission # - User: herp_sy | |
https://atcoder.jp/contests/ | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
#include <stdbool.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
/* | |
submission # - User: herp_sy | |
https://atcoder.jp/contests/ | |
coding: utf-8 | |
lang: Java8 (OpenJDK 1.8.0) | |
*/ | |
import java.util.*; | |
import java.util.Collections; // sorting use |
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 | |
# submission # - User: herp_sy | |
# https://atcoder.jp/contests/ | |
# | |
# lang: Python3 (3.8.2) | |
import math | |
import statistics | |
import numpy as np | |
import queue |
NewerOlder