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 -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew update | |
brew upgrade | |
brew tap homebrew/cask-fonts | |
brew install font-fira-code-nerd-font | |
brew install starship | |
echo 'eval "$(starship init zsh)"' >> ~/.zshrc |
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 <bits/stdc++.h> | |
using namespace std; | |
#define INF_LL (int64)1e18 | |
#define INF (int32)1e9 | |
#define REP(i, n) for(int64 i = 0;i < (n);i++) | |
#define FOR(i, a, b) for(int64 i = (a);i < (b);i++) | |
#define all(x) x.begin(),x.end() | |
#define fs first | |
#define sc second |
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 | |
for i in ${@:3} | |
do | |
cp "template/lang/template."$2 $1"/"$i"."$2 | |
done |
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
set encoding=utf-8 | |
scriptencoding utf-8 | |
set nocompatible | |
set splitbelow | |
set splitright | |
set number | |
set cursorline |
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
export EDITOR=vim | |
export LANG=ja_JP.UTF-8 | |
setopt correct | |
setopt magic_equal_subst | |
setopt notify | |
autoload -U compinit; compinit | |
setopt auto_list | |
setopt auto_menu |
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 <iostream> | |
#include <sstream> | |
#include <iomanip> | |
#include <algorithm> | |
#include <string> | |
#include <fstream> | |
#include <vector> | |
#include <random> | |
using namespace std; |
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 <iostream> | |
#include <iomanip> | |
#include <string> | |
#include <fstream> | |
#include <sstream> | |
#include <chrono> | |
#include <wiringPi.h> | |
using namespace std; |
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 <string.h> | |
#include <unistd.h> | |
#define SIZE 20 | |
void write_life(int life[][SIZE]){ | |
int i,j; | |
int life_temp[SIZE][SIZE]; |
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> | |
//分数 | |
typedef struct{ | |
int deno; //分母 | |
int nume; //分子 | |
}function_t; | |
//関数のプロトタイプ宣言 |