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
" reset augroup | |
augroup MyAutoCmd | |
autocmd! | |
augroup END | |
if &compatible | |
set nocompatible | |
endif | |
" install dein.vim |
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 random | |
bingo = [i for i in range(1, 76)] | |
used = set([]) | |
while len(bingo) > 0: | |
c = input() | |
if c == 'd': | |
print(used) | |
elif c == 'q': |
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> | |
using namespace std; | |
// int my_max(int a, int b){ | |
// if(a > b) return a; | |
// else return b; | |
// // return (a > b) ? a : b; | |
// } | |
int main(){ |
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
cipher = 'fsdz{Fdhvdu_flskhu_lv_fodvvlfdo_flskhu}' | |
flag = '' | |
for asc in cipher: | |
asc = ord(asc) | |
if 64 < asc < 91 or 96 < asc < 123: | |
flag += chr(asc-3) | |
else: | |
flag += chr(asc) |
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
from sklearn import svm | |
xor_date = [ | |
[0, 0, 0], | |
[0, 1, 1], | |
[1, 0, 1], | |
[1, 1, 0]] | |
data = [] | |
label = [] |