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 | |
logfile="add_number_pdflatex.log" | |
function usage() { | |
cat <<EOS | |
Usage: $0 <input file path> <text> <output file path> | |
PDFファイルの右上に文字列を入れます |
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
import matplotlib as mpl | |
mpl.use("pgf") | |
pgf_with_pdflatex = { | |
"pgf.texsystem": "pdflatex", | |
# "font.family": "serif", # use serif/main font for text elements | |
# "text.usetex": True, # use inline math for ticks | |
"pgf.rcfonts": False, # don't setup fonts from rc parameters | |
"pgf.preamble": r""" | |
\usepackage[utf8x]{inputenc} |
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
/++ dub.json: | |
{ | |
"name": "blas", | |
"dependencies": { | |
"dffdd": { "path": ".." } | |
}, | |
"dflags-ldc": ["-enable-cross-module-inlining", "-mcpu=native"], | |
} | |
+/ | |
module example.blas; |
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
\def\DateOfSubmission{Feb. XXth, 20XX} | |
\def\MyDepartment{Electrical and Electronic \\ Information Engineering} | |
\def\MyStudentIDNumber{DXXXXXX} | |
\def\MyName{XXXXXX XXXXXX} | |
\def\Supervisors{ | |
AAAAAA AAAAAA\\ | |
\vspace{1em}\\ | |
AAAAAA AAAAAA | |
} | |
\def\ThesisTitle{This is Thesis Title} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
% 必要なパッケージなどのインストールは以下の通り | |
% ```sh | |
% brew install curl | |
% brew tap AdoptOpenJDK/openjdk | |
% brew cask install adoptopenjdk13 | |
% brew install octave | |
% ``` | |
function [y, RMSout, Idc, Vdc] = RFWebLab_PA_meas_v1_1(x, RMSin) | |
% Version date: 2017-3-10 | |
%function [y, RMSout, Idc, Vdc] = IMS2015_PA_meas_Pin(x, RMSin) |
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/sh | |
#PBS -l select=1:ncpus=8:mem=50000mb | |
#PBS -l walltime=24:00:00 | |
#PBS -q wLrchq | |
echo "Hello" |
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
/++ dub.json: | |
{ | |
"name": "sim_canceller", | |
"dependencies": { | |
"dffdd": { "path": ".." } | |
}, | |
"dflags-ldc": ["-enable-cross-module-inlining", "-mcpu=native"] | |
} | |
+/ | |
// dub --build=release --compiler=ldc2 --single sim_ofdm_rapp.d |
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
import std.stdio; | |
import std.random; | |
import std.complex; | |
import std.numeric; | |
alias Bit = ubyte; | |
alias C = Complex!float; | |
void main() | |
{ |
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
/+ dub.json: | |
{ "dependencies": {"mir-random": "~>0.2.8"} } | |
+/ | |
import std.container : RedBlackTree; | |
import std.algorithm : max; | |
interface Event(Time) | |
{ | |
Time time() const @property; |
NewerOlder