'์๊ธฐ์๊ฐ-์๋ก -๋ณธ๋ก -๋ง๋ฌด๋ฆฌ' ํ์์ ์งํค๋ฉด ๋ฉ๋๋ค.
flymake ๊ฐ ๋ญ๋๋ฉด, ํธ์งํ๊ณ ์๋ ๋ฒํผ์ ํ์ผ์ ์ปดํ์ผํ๊ณ ์๋ฌ๋ฅผ ํ์ฌ ๋ฒํผ์ ํ์ํด์ฃผ๋ emacs ์ ์ ์ฉํ ๋๊ตฌ ์ ๋๋ค.
(defalias 'perl-mode 'cperl-mode) | |
(add-to-list 'auto-mode-alist '("\\.\\([pP][Llm]\\|al\\|psgi\\|t\\)\\'" . cperl-mode)) | |
(add-hook 'css-mode-hook 'rainbow-mode) | |
(add-hook 'scss-mode-hook 'rainbow-mode) |
+----+-----------+ | |
| id | name | | |
+----+-----------+ | |
| 1 | Jacket | | |
| 2 | Pants | | |
| 3 | Shirts | | |
| 4 | Shoes | | |
| 5 | Hat | | |
| 6 | Tie | | |
| 7 | Waistcoat | |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Makes "field" required and between 13 and 23.</title> | |
<link rel="stylesheet" href="http://jquery.bassistance.de/validate/demo/site-demos.css"> | |
</head> | |
<body> | |
<form id="myform"> | |
<label for="field">Required, minium 13, maximum 23:</label> |
$('#mandatory li').each (i, el) ->
mandatory = $(el).text().split(':')
if mandatory[1] is "YES"
console.log mandatory unless $("input[name=#{mandatory[0]}]")
$("input[name=#{mandatory[0]}]").closest('.control-group').find('label:first-child')
.css { color : 'red' }
use Plack::Request; | |
use File::Slurp qw/write_file slurp/; | |
my $app = sub { | |
my $req = Plack::Request->new(shift); | |
my $input = $req->body; # `psgi.input` handle | |
my $len = 1024 * 8; | |
my $offset = 0; |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use HTTP::Tiny; | |
use Path::Tiny; | |
use Try::Tiny; | |
use MIME::Base64; |
CLIENT-SERVER ๋ชจ๋ธ์์๋ ์ธ๋ถ application ์ด ์๋ฒ์ ์ ํ๋ ๋ฆฌ์์ค์ ์ ๊ทผํ๋ ค๊ณ ํ ๋์ ๋ช๊ฐ์ง ๋ฌธ์ ๊ฐ ์์ต๋๋ค.
use strict; | |
use warnings; | |
use Plack::Builder; | |
use Plack::App::File; | |
my $app = require "bin/oauth"; | |
my $static = Plack::App::File->new(root => "./assets")->to_app; | |
builder { |
use strict; | |
use warnings; | |
use Plack::Builder; | |
use Plack::App::File; | |
my $app = require "bin/oauth"; | |
my $static = Plack::App::File->new(root => "./assets")->to_app; | |
builder { |