Skip to content

Instantly share code, notes, and snippets.

@univdev
univdev / index.html
Created June 7, 2017 10:35
Grid example 2
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="assets/css/lib.css">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="wrap">
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="wrap">
<div class="header">
@univdev
univdev / index.html
Created May 17, 2017 10:40
20170517 Layout 연습
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="wrap">
<div class="header">
@univdev
univdev / index.html
Last active May 13, 2017 14:49
20170510 HTML과 CSS 입문 과정 수업자료
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="asset/css/style.css">
</head>
<body>
<table>
<thead>
@univdev
univdev / common.js
Created March 22, 2017 12:17
02. Draggable & Droppable tutorials
$(document).ready(function() {
$('#dialogBtn').click(function() {
$('#dialog').dialog('open');
});
$('#draggable').draggable({
containment: "#wrap",
revert: true
});
@univdev
univdev / common.js
Last active March 22, 2017 11:28
01. jQuery dialog tutorial
$(document).ready(function() {
$('#dialog').dialog({
// #
autoOpen: false,
title: "My First Dialog!",
buttons: [{
text: "Remove",
click: function() {
$(this).dialog('close')
}
@univdev
univdev / anonymous-function.php
Created March 13, 2017 15:52
How to use global variables in an anonymous function
<?php
$var = "Hello world!";
$func = function() use($var) {
echo $var;
};
$func();
// Output: Hello world!
@univdev
univdev / .htaccess
Created March 13, 2017 01:12
Laravel public URL remove
<IfModule mod_rewrite.c>
# Turn Off mod_dir Redirect For Existing Directories
DirectorySlash Off
# Rewrite For Public Folder
RewriteEngine on
RewriteRule ^(.*)$ laravel/public/$1 [L]
</IfModule>