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
| /* | |
| The MIT License (MIT) | |
| Copyright (c) 2015 Masaki Waga | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
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
| #! /bin/bash | |
| if [ $# -lt 1 ]; then | |
| echo "usage: $0 [DIR]"; | |
| exit 1; | |
| fi | |
| DIR=$1; | |
| MAX=999; |
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
| (flycheck-define-checker vhdl-ghdl | |
| "A VHDL syntax checker using ghdl." | |
| :command ("ghdl" "-s" "--std=93" "--ieee=synopsys" "-fexplicit" source) | |
| :error-patterns | |
| ((error line-start (file-name) ":" line ":" column | |
| ": " (message) line-end)) | |
| :modes vhdl-mode) | |
| (flycheck-set-checker-executable 'vhdl-ghdl) | |
| (add-hook 'vhdl-mode-hook |
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
| [Unit] | |
| Description=Lock session | |
| Before=sleep.target suspend.target hibernate.target | |
| [Service] | |
| Type=forking | |
| ExecStart=/usr/bin/physlock -ds -u calros | |
| [Install] | |
| WantedBy=sleep.target suspend.target hibernate.target |
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
| \PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere | |
| \PassOptionsToPackage{hyphens}{url} | |
| $if(colorlinks)$ | |
| \PassOptionsToPackage{dvipsnames,svgnames*,x11names*}{xcolor} | |
| $endif$$if(dir)$$if(latex-dir-rtl)$ | |
| \PassOptionsToPackage{RTLdocument}{bidi} | |
| $endif$$endif$% | |
| \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{ltjsarticle} | |
| \usepackage{multicol} | |
| \makeatletter |
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
| \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{jsarticle} | |
| \usepackage{multicol} | |
| \setlength{\textheight}{232mm} | |
| \setlength{\topmargin}{4.6truemm} | |
| \usepackage{amssymb,amsmath} | |
| \usepackage{ifxetex,ifluatex} | |
| \usepackage{fixltx2e} % provides \textsubscript | |
| $if(graphics)$ | |
| \usepackage{graphicx} | |
| \makeatletter |
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
| PANDOC = pandoc | |
| PANDOC_FLAGS = --template=/home/calros/share/pandoc/report.latex -s | |
| %.tex: %.md | |
| $(PANDOC) $(PANDOC_FLAGS) -o $@ $< | |
| # 生成するPDFの名前 (拡張子は不要) | |
| TARGET = test | |
| # LaTeXコマンド | |
| LATEX = platex |
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 <OpenNI.h> | |
| #include <opencv2/opencv.hpp> | |
| #include <vector> | |
| #include <stdexcept> | |
| int main(int argc,char* argv[]) | |
| { | |
| try { | |
| openni::Status ret = openni::OpenNI::initialize(); | |
| if ( ret != openni::STATUS_OK ) { |
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
| MDS = 0624.md | |
| TEXS = $(MDS:%.md=%.tex) | |
| DVIS = $(MDS:%.md=%.dvi) | |
| PDFS = $(MDS:%.md=%.pdf) | |
| NUP_PDFS = $(PDFS:%.pdf=%-nup.pdf) | |
| TEX = platex | |
| dvi: $(DVIS) | |
| pdf: $(PDFS) |
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
| # Tint2 config file | |
| # Generated by tintwizard (http://code.google.com/p/tintwizard/) | |
| # For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure | |
| # Background definitions | |
| # ID 1 | |
| rounded = 7 | |
| border_width = 2 | |
| background_color = #000000 60 | |
| border_color = #FFFFFF 16 |