Skip to content

Instantly share code, notes, and snippets.

View nulledge's full-sized avatar

NULLEDGE nulledge

View GitHub Profile
This is test page for Gist.
@nulledge
nulledge / test.md
Created September 14, 2015 09:48
Test page for markdown

An h1 header

Paragraphs are separated by a blank line.

2nd paragraph. Italic, bold, and monospace. Itemized lists look like:

  • this one
  • that one
@nulledge
nulledge / SWMaestro6th 1-2 PT.md
Last active November 18, 2015 09:21
SWMaestro6th 1-2 PT

달력 위젯

한 달 일정을 한 눈에 확인 가능한 달력 위젯. 마이크로소프트가 제공하는 WPF로 제작. 처음 만들어본 게임이 아닌 응용 어플리케이션.

enter image description here

def fibonacci(num):
if num <= 2:
return 1
return fibonacci(num - 1) + fibonacci(num - 2)
def exponential(base, exp):
value = 1
for i in range(exp):
value *= base
return value
<?
echo(2);
@nulledge
nulledge / MNIST_toy_project.ipynb
Last active November 28, 2017 15:00
MNIST toy project run on Quadro m6000.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nulledge
nulledge / tf_gray2color.py
Last active January 19, 2018 05:33
Convert single gray-scale image to color-spectrum image.
class tf_Spectrum:
Color = tf.constant([
[0, 0, 128],
[0, 0, 255],
[0, 255, 0],
[255, 255, 0],
[255, 0, 0]
], dtype = tf.float32)
def tf_gray2color(gray, spectrum = tf_Spectrum.Color):
@nulledge
nulledge / ReadOnlyAttrib.cs
Last active December 12, 2017 05:46
Difference between the quaternion and the Euler angle rotation
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ReadOnlyAttribute : PropertyAttribute
{
}
import scipy.io
import numpy as np
FLIC = scipy.io.loadmat('FLIC/examples.mat')
filepath_idx = 1
print(np.squeeze(np.squeeze(FLIC['examples']['filepath'])[filepath_idx]))
print(np.squeeze(np.squeeze(FLIC['examples']['imgdims'])[filepath_idx]))
print(np.squeeze(np.squeeze(FLIC['examples']['istrain'])[filepath_idx]))
coord = {'x': 0, 'y': 1}
print(np.squeeze(np.squeeze(np.squeeze(FLIC['examples'])[filepath_idx])['coords'])[coord['x']][7])
@nulledge
nulledge / H36M.ipynb
Last active September 8, 2021 03:39
Description for Human3.6M dataset.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.