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
/* | |
* File: main.c | |
* Author: thotgamma | |
* | |
* Created on August 4, 2018, 4:31 AM | |
*/ | |
#pragma config FOSC = HS // 20MHz Xtal(分周なし) | |
#pragma config MCLRE = ON // リセットピンを利用する | |
#pragma config LVP = OFF // 低電圧プログラミング機能使用しない(OFF) |
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
uint8_t mytex[3*256*256]; | |
for (int i = 0; i < 256; i++) { | |
for (int j = 0; j < 256; j++) { | |
bool flagA = (i % 32) < 16; | |
bool flagB = (j % 32) < 16; | |
if (flagA ^ flagB) { | |
mytex[3*(i+256*j)+0] = 32; | |
mytex[3*(i+256*j)+1] = 33; |
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 <GLUT/glut.h> | |
#include <stdio.h> | |
#include <random> | |
#include <math.h> | |
#include <iostream> | |
#include <time.h> | |
#include "header.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
"-=-=-=-=-=-=-=-=-=-=-=-=-=-" | |
" .vimrc " | |
" created by thotgamma " | |
" http://lab.thotgamma.com " | |
"-=-=-=-=-=-=-=-=-=-=-=-=-=-" | |
" このvimrcのバージョン | |
let s:version = "1.1" | |
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
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
[[plugins]] | |
repo = 'shougo/dein.vim' | |
[[plugins]] | |
repo = 'itchyny/lightline.vim' | |
[[plugins]] | |
repo = 'scrooloose/syntastic' | |
[[plugins]] |
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
if has('vim_starting') | |
" 初回起動時のみruntimepathにneobundleのパスを指定する | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
" NeoBundleを初期化 | |
call neobundle#begin(expand('~/.vim/bundle/')) | |
" インストールするプラグインをここに記述 |
NewerOlder