I hereby claim:
- I am jxcodetw on github.
- I am jxcode (https://keybase.io/jxcode) on keybase.
- I have a public key ASCgw1-M_ZrHroHTRAsmylxMFg9Gb7FGRaEbnGpkpYxngAo
To claim this, I am signing this object:
import java.util.logging.Level; | |
import java.util.logging.Logger; | |
import org.newdawn.slick.AppGameContainer; | |
import org.newdawn.slick.BasicGame; | |
import org.newdawn.slick.GameContainer; | |
import org.newdawn.slick.Graphics; | |
import org.newdawn.slick.SlickException; | |
public class MyGame extends BasicGame |
import org.newdawn.slick.AppGameContainer; | |
import org.newdawn.slick.GameContainer; | |
import org.newdawn.slick.SlickException; | |
import org.newdawn.slick.state.StateBasedGame; | |
public class Main extends StateBasedGame | |
{ | |
public Main(String name) { | |
super(name); | |
} |
["1", "2"] |
#include <stdio.h> | |
#include <string.h> | |
void swap(char* a, char* b) { | |
char t = *a; | |
*a = *b; | |
*b = t; | |
} | |
void perm(char* head, int i, int n) { |
class Matrix < Array | |
def initialize(filename) | |
# read file | |
f = File.open(filename) or die("no such file or reading error.") | |
@row, @col = f.readline.split(' ').map(&:to_i) | |
f.each_line { |line| | |
line = line.split(' ').map(&:to_r) | |
self.push(line) | |
} | |
end |
#include <stdio.h> | |
#include <math.h> | |
#define MAX 100 | |
double M[MAX][MAX]; // matrix | |
bool DR[MAX]; // row that has been deleted | |
int row, col; // maxrow, maxcol | |
int sub; // col to be substituted |
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE html> | |
<html b:version='2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'> | |
<head> | |
<meta content='width=device-width, initial-scale=1' name='viewport'/> | |
<title><data:view.title.escaped/></title> | |
<b:include data='blog' name='all-head-content'/> | |
<!-- CSS STARTS --> | |
<b:skin><![CDATA[ | |
body, pre{ font-size: 1rem; font-style: normal; font-family: Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif; text-rendering: geometricPrecision; background: #002b36; color: #93a1a1; line-height: 1.4rem;}a { color: #ff9800; text-decoration: none; border-bottom: 1px solid #ff2e88;}a[href*="://"]:after { content: " " url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20class='i-external'%20viewBox='0%200 |
I hereby claim:
To claim this, I am signing this object:
import torch | |
import torch.nn as nn | |
from tqdm import tqdm | |
device = torch.device('cuda') | |
# 5629MiB / 11178MiB | |
# NVIDIA-SMI 410.78 Driver Version: 410.78 CUDA Version: 10.0 | |
torch.backends.cudnn.benchmark = True |