Skip to content

Instantly share code, notes, and snippets.

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;
__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
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):
@font-face {
font-family: AppleGothic;
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: "돋움";
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: "돋움";
src: local("Malgun Gothic");
}
@font-face {
font-family: "돋움체";
src: local("Malgun Gothic");
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Office.Interop.Word;
namespace Converter
{
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;
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));
}
}
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 {
import serial
import time
class SimpliciTI:
SIZE_OF_PACKET_HEADER = 3
HW_NO_ERROR = 0x06
def __init__(self):
self.device = serial.Serial()