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 numpy as np | |
import os | |
import tensorflow as tf | |
#import urllib2 | |
#from datasets import imagenet | |
#from nets import inception | |
#from preprocessing import inception_preprocessing | |
from PIL import Image, ImageDraw, ImageFont |
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
.frontbg { | |
background-color: #53cd80; | |
border-radius: 7px; | |
color: #fff; | |
position: relative; | |
left: 0; | |
} | |
.android .frontbg { | |
background-color: #eelf34; | |
border-radius: 7px; |
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
# pytorch mnist cnn + lstm | |
from __future__ import print_function | |
import argparse | |
import torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
import torch.optim as optim | |
from torchvision import datasets, transforms | |
from torch.autograd import Variable |
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
Put this at the bottom of .tmux.conf: | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'nhdaly/tmux-better-mouse-mode' | |
# Other examples: | |
# set -g @plugin 'github_username/plugin_name' | |
# set -g @plugin 'git@github.com/user/plugin' | |
# set -g @plugin 'git@bitbucket.com/user/plugin' |
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
git clone https://github.com/nhdaly/tmux-better-mouse-mode ~/.tmux | |
echo 'set-option -g mouse on' >> ~/.tmux.conf | |
echo 'run-shell ~/.tmux/scroll_copy_mode.tmux' >> ~/.tmux.conf | |
tmux source-file ~/.tmux.conf |
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
#R version 3.3.2 | |
set.seed(10) | |
N_size = 20 | |
N_bit = 8 | |
Gen = 50 | |
mut_freq = 0.1 | |
Population = matrix(sample(c(0,1), size=N_size*N_bit, replace=TRUE), N_size, N_bit) |
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
[formats] | |
version=1.0 | |
data\normal\priority=-1 | |
data\normal\bold=false | |
data\normal\italic=false | |
data\normal\overline=false | |
data\normal\underline=false | |
data\normal\strikeout=false | |
data\normal\waveUnderline=false | |
data\normal\foreground=#f8f8f2 |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
form { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
position: absolute; | |
left: 10px; | |
top: 10px; | |
} |
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
cmake_minimum_required(VERSION 3.14) | |
project(prac_closure) | |
set(CMAKE_CXX_STANDARD 17) | |
add_executable(prac_closure main.cpp) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer