This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bold | |
bold-italic | |
border | |
buffer-menu-buffer | |
button | |
completions-annotations | |
completions-common-part | |
completions-first-difference | |
cursor | |
default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; tabbar.el | |
(require-submodule 'tabbar) | |
(tabbar-mode 1) | |
;; グループ化しない | |
(setq tabbar-buffer-groups-function nil) | |
;; 左に表示されるボタンを無効化 | |
(dolist (btn '(tabbar-buffer-home-button | |
tabbar-scroll-left-button | |
tabbar-scroll-right-button)) | |
(set btn (cons (cons "" nil) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 全角スペース タブ trailing-spacesを目立たせる | |
(require 'whitespace) | |
;; space-markとtab-mark、それからspacesとtrailingを対象とする | |
(setq whitespace-style '(space-mark tab-mark face spaces trailing)) | |
(setq whitespace-display-mappings | |
'( | |
;; (space-mark ?\ [?\u00B7] [?.]) ; space - centered dot | |
(space-mark ?\xA0 [?\u00A4] [?_]) ; hard space - currency | |
(space-mark ?\x8A0 [?\x8A4] [?_]) ; hard space - currency | |
(space-mark ?\x920 [?\x924] [?_]) ; hard space - currency |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding:utf-8 -*- | |
# python | |
import re | |
# Django | |
from django import template | |
register = template.Library() | |
from django.template.defaultfilters import stringfilter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Toggle Card</title> | |
<meta name="viewport" content="width=device-width, initital-scale=1.0"> | |
<!-- bootstrap-css start --> | |
<link href="http://sandboxofcloverrose.appspot.com/css/bootstrap.min.css" rel="stylesheet"> | |
<link href="http://sandboxofcloverrose.appspot.com/css/bootstrap-responsive.min.css" rel="stylesheet"> | |
<!-- bootstrap-css end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function dotoggle(_this_){ | |
toggle = _this_.attr('data-toggle'); | |
if(toggle === void 0){ | |
toggle = 0; | |
//toggle = false; | |
}else{ | |
toggle = parseInt(toggle); | |
//toggle = Boolean(toggle); | |
} | |
console.log(toggle); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>sandbox of mustache</title> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<script src="http://twitter.github.com/hogan.js/builds/2.0.0/hogan-2.0.0.js"></script> | |
<script type="text/template" id="source"> | |
<ul> | |
{{#items}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import datetime | |
# 日本時間 | |
class JST(datetime.tzinfo): | |
""" | |
日本時間で作成 | |
japan_time = datetime.datetime.now(jst) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Procfile] | |
+web: python twhyou/manage.py runserver 0.0.0.0:$PORT --noreload | |
[requirements.txt] | |
+Django==1.4.2 | |
+psycopg2==2.4.5 | |
+tweepy==1.12 | |
+wsgiref==0.1.2 | |
[myproj/myproj/settings.py] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<QueryList> | |
<Query Id="0" Path="Security"> | |
<Select Path="Security"> | |
(*[System[(EventID=4647)]]) or | |
(*[System[(EventID=4624)]] and | |
*[EventData[Data[@Name='ProcessName']='C:\Windows\System32\winlogon.exe']] and | |
(*[EventData[Data[@Name='TargetUserName']='user1']] or | |
*[EventData[Data[@Name='TargetUserName']='user2']] or | |
*[EventData[Data[@Name='TargetUserName']='user3']]) and |