This file contains hidden or 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"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>カレーのレシピ</title> | |
</head> |
This file contains hidden or 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
'選択されているオートシェイプをくっつける(横) | |
Sub SelectionShapesMagnetHorizon() | |
Dim ShapesInfo() As StShapesInfoH | |
ReDim ShapesInfo(Selection.ShapeRange.count - 1) | |
Dim t As Integer | |
Dim i As Integer | |
For i = 0 To Selection.ShapeRange.count - 1 | |
ShapesInfo(i).index = i + 1 ' 一意になるデータが無いのでindexを使う |
This file contains hidden or 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
class StringEscapePasteCommand(sublime_plugin.TextCommand): | |
def run(self, edit): | |
line_str = self.view.substr(self.view.line(self.view.sel()[0])) | |
match = re.search('\".*\"', line_str) | |
if match: | |
sel_rowcol = self.view.rowcol(self.view.sel()[0].begin()) | |
if match.start() < sel_rowcol[1] and sel_rowcol[1] < match.end(): | |
clipboard = sublime.get_clipboard() | |
self.view.insert(edit, self.view.sel()[0].begin(), clipboard.replace('\"', '\\\"')) | |
else: |
This file contains hidden or 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
;; 配下のフォルダ全読み込み | |
(setq load-path(cons "~/.emacs.d/elisp" load-path)) | |
(setq inhibit-startup-message t) | |
(let ((dir (expand-file-name "~/.emacs.d/elisp"))) | |
(if (member dir load-path) nil | |
(setq load-path (cons dir load-path)) | |
(let ((default-directory dir)) | |
(load (expand-file-name "subdirs.el") t t t)))) | |
(require 'package) |
This file contains hidden or 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
#include <iostream> | |
#include <conio.h> | |
using namespace std; | |
class CCircleQueue | |
{ | |
private: | |
const static int MAX = 4; | |
int value[MAX]; | |
int headIndex; |