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
javascript:(function(){var c='AAAAAAABBBBBBBCCCCCCCDDDDDDDEEEEEEEFFFFFFFGGGGGGGHHHHHHHIIIIIIIJJJJJJJ';var r=document.body.innerHTML.match(/\[\w,\d\]/g);for(var i=0;i<r.length;i++){document.getElementsByName('message'+(i+3))[0].value=c.charAt(7*(r[i].charCodeAt(1)-String("A").charCodeAt(0))+(r[i].charAt(3)-1));}})(); |
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
" References: | |
" http://www.kawaz.jp/pukiwiki/?vim#cb691f26 | |
" http://archiva.jp/web/tool/vimrc.html | |
set nocompatible | |
set number | |
set ruler | |
set cmdheight=1 | |
set laststatus=2 |
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
! Schematic Graph of HSL Color Space for certain Vs on ANSYS | |
! | |
! Requirement: | |
! ANSYS (FEM software) | |
! | |
! Usage: | |
! File > Read Input from ... [select this file] | |
! or | |
! Copy and paste to ANSYS Command Prompt | |
! |
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
input_file <- commandArgs()[6] | |
output_file <- commandArgs()[7] | |
search_max <- as.integer(commandArgs()[8]) | |
M <- data.matrix(read.table(input_file)) | |
nrows <- dim(M)[1] | |
if (search_max < 1) search_max <- nrows | |
selected_rows <- rep(0, nrows) |
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
\setcounter{chapter}{0} | |
\chapter{Introduction} | |
\section{Background} | |
Lorem ipsum dolor sit amet ... | |
\section{Purpose} | |
Lorem ipsum dolor sit amet ... |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use List::MoreUtils qw(uniq); | |
my %bucket; | |
while (<>) { | |
tr/\r\n//d; |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
my @series = (0, 1); | |
my $f42 = fibonacci(42); | |
my $f43 = fibonacci(43); | |
print_count(42, 144); | |
print_count($f42, $f43); |
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
#ifndef _MYCALC_F90 | |
#define _MYCALC_F90 | |
module mycalc | |
implicit none | |
interface mysum | |
module procedure mysum_I | |
module procedure mysum_S, mysum_SI | |
module procedure mysum_C, mysum_CI, mysum_CS |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use utf8; | |
use File::Temp qw(tempfile); | |
my $xlabel = "時刻 [s]"; | |
my $ylabel = "振幅 [m]"; |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
if (@ARGV != 1) { | |
warn "$0 input_with_parameter.inp > output_without_parameter.inp\n"; | |
exit 1; | |
} |
OlderNewer