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
// MATLAB | |
/* | |
Atom styles.less file CSS for syntax coloring of MATLAB language. | |
*/ | |
atom-text-editor.editor { | |
.syntax--source.syntax--matlab { | |
.syntax--meta.syntax--variable.syntax--other.syntax--valid.syntax--matlab { | |
color: #000000; //black | |
} |
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
filename = fullfile(resdir,'data1.mat'); | |
if ~exist(filename,'file') || inputYN('Do you want to recompute A?') | |
% ここで任意の計算処理を行う | |
A = rand(10); | |
B = A^2; | |
save(filename,'A','B'); % 計算結果の変数を保存する | |
else |
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
scr2017_02_15_115520_thisisagreatscript.mlx |
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
tell application "Microsoft Word" | |
-- for Microsoft Word for Mac 2011 | |
-- instead of showing all changes tracked, shows you comments only | |
-- mimicking Windows version's "Simple Markup" view | |
--set revisions view of view of active window to "revisions view final" | |
set show revisions and comments of view of active window to true | |
set show insertions and deletions of view of active window to false |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>Domenico Carbotta</string> | |
<key>name</key> | |
<string>IDLE</string> | |
<key>settings</key> | |
<array> |
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
csrutil disable | |
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
% waitbarVAfprintf | |
trials = 10; | |
elapsed1 = zeros(10,1); | |
for j = 1:10 | |
clear n | |
tic | |
n = 1000; |
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
for i = 1:1000 | |
tic | |
a = rand(1000); | |
clear a | |
t(i) = toc; | |
end | |
disp(mean(t)) |
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
tell application "Microsoft Word" | |
tell active window | |
set name of font object of text object of selection of it to "Palatino Linotype" | |
set east asian name of font object of text object of selection of it to "游明朝体" | |
end tell | |
end tell |
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
tell application "Microsoft PowerPoint" | |
tell active window | |
set font name of font of text range of selection of it to "Arial" | |
set east asian name of font of text range of selection of it to "游明朝体" | |
end tell | |
end tell |