Skip to content

Instantly share code, notes, and snippets.

@hiun
hiun / ssl.conf
Created August 12, 2013 21:04 — forked from smallvil/ssl.conf
# HTTPS server
#
# 2013-07-07 secure.get9.net
# cat get9.net.crt sub.class1.server.ca.pem ca.pem > get9.net-nginx.crt
server {
listen 443;
server_name secure.get9.net;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My Blog</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Blog Admin</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<?php
/*
Downlaod Required Software to build PHP Application.
WAMP - Windows + Apache + MySQL + PHP
http://sourceforge.net/projects/wampserver/files/WampServer%202/Wampserver%202.4/Wampserver2.4-x86.exe/download
Sublime Text - Amazing Code Editor
http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20Setup.exe
CREATE DATABASE blog;
CREATE TABLE blog
(
id int(11),
title varchar(100),
text varchar(1000),
time varchar(100)
);
// a.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
int main(void)
{
int a = 5;
@hiun
hiun / pre_sejong2.cpp
Last active January 2, 2016 14:19
simple calc
// a.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
int main(void)
{
int sum, multiplying, subtraction, division;
@hiun
hiun / pre_sejong2-1.cpp
Last active January 2, 2016 16:39
simple calc 2 fixed
// clac.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
int main(void)
{
int sum, multiplying, subtraction, division;
int num, num2;
@hiun
hiun / pre_sejong3.cpp
Created January 13, 2014 02:50
if else if else example
// spring.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
int main(void)
{
@hiun
hiun / pre_sejong3-1.cpp
Last active January 3, 2016 02:18
simple comparator
#include <stdafx.h>
#include <stdio.h>
int main(void)
{
int a, b, c;
printf("---------- c++ comparator ----------\n");
printf("------- jan 13 2014 hiun kim -------\n\n");
printf("type 3 number : ");