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
server { | |
listen 80; | |
listen [::]:80; | |
server_name jupyter.jonghwan.me; | |
location / { | |
proxy_pass http://127.0.0.1:8888; | |
proxy_set_header X-Real-IP $remote_addr; |
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
__author__ = 'NoSyu' | |
""" | |
You are not permitted to modify the constants or functions marked as "GIVEN". | |
Indeed you are free to implement extra functions as you need. | |
You must handle data to run EM algorithm | |
iter means the # of iterations | |
Pi & Mu are parameters you must find | |
nData is the # of data |
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 sys | |
FILENAMES = { | |
'first': [ 'shuffled_review_with_tag_{0}'.format(i) for i in range(0, 8) ], | |
'second': [ 'shuffled_review_without_tag_{0}'.format(i) for i in range(0, 8) ], | |
} | |
NUMBER_OF_CATEGORIES = 8 + 1 # including neutral | |
def read_entry(input_file): |
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
@font-face { | |
font-family: AppleGothic; | |
src: local("Apple SD Gothic Neo"); | |
} | |
@font-face { | |
font-family: "돋움"; | |
src: local("Apple SD Gothic Neo"); | |
} |
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
@font-face { | |
font-family: "돋움"; | |
src: local("Malgun Gothic"); | |
} | |
@font-face { | |
font-family: "돋움체"; | |
src: local("Malgun Gothic"); | |
} |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.Office.Interop.Word; | |
namespace Converter | |
{ |
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
var $log = $('<div />'); | |
function HanyangRegistration(student_number, grade, interval) { | |
this.student_number=student_number; | |
this.grade = grade; | |
this.interval_second = interval | |
if (typeof interval === "undefinded") | |
this.interval_second = 10; | |
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
public class a { | |
public static void main(String args[]) { | |
System.out.println(String.format("%5d%5d%5d", 1, 2, 3)); | |
System.out.println(String.format("%5d%5d%5d", 11, 22, 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
class List { | |
public Item removeFirst() throws ListException { | |
if (this.count() <= 0) throw new ListException("no more item"); | |
Item item = /* remove the first item from the list */; | |
return item; | |
} | |
} | |
class Stack { |
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 serial | |
import time | |
class SimpliciTI: | |
SIZE_OF_PACKET_HEADER = 3 | |
HW_NO_ERROR = 0x06 | |
def __init__(self): | |
self.device = serial.Serial() |
NewerOlder