Skip to content

Instantly share code, notes, and snippets.

@nck2
nck2 / quest.py
Last active January 18, 2018 02:47
사전으로 넘긴 쿼리셋에 대하여 실행시 중복되는 템플릿 구문 해결방법
# models.py##########################
class SageSource(models.Model):
title = models.CharField(max_length=200, verbose_name = "제목")
code = models.TextField(blank=False, verbose_name="소스코드")
cat= (("1","대수"),('2','해석'))
category = models.CharField(verbose_name="분야", max_length=20, default="대수",choices=cat)
def __str__(self):
return self.title
@nck2
nck2 / mytemplete.html
Created April 9, 2018 14:46
question
{% load static%}
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<script type="text/javascript">
var content = [
'![image](https://cloud.githubusercontent.com/assets/389021/16107646/9729e556-33d8-11e6-933f-5b09fa3a53bb.png)',
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nck2
nck2 / Linear_algebra
Created August 16, 2018 09:30
선형대수학
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Linear Algebra"
]
},
{
@nck2
nck2 / Linear_algebra
Last active August 16, 2018 09:41
선형대수학
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Linear Algebra"
]
},
{
@nck2
nck2 / Linear_algebra
Created August 16, 2018 09:30
선형대수학
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Linear Algebra"
]
},
{
@nck2
nck2 / ch1_Setting_List_teacher.ipynb
Last active August 22, 2018 14:10
파이썬으로 수학문제풀기(수학과 스터디)1강
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nck2
nck2 / word_cloud_math4.ipynb
Created August 22, 2018 14:01
word cloud로 수학3,수학4를 그려보기
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nck2
nck2 / test.ipynb
Created September 13, 2018 04:13
test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.