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
;; | |
;; Generation de polygones reguliers sur les Arcs , Cercles et Arcs dans Polylignes | |
;; | |
;; Les XDatas sont copiees sur la nouvelle polyligne. | |
;; | |
;; Routine: ARC2SEG vers 1.03 par Gilles (gile) le 10 Nov 2008 | |
;; Transforme les arcs, cercles et polyarcs en polylignes constituees de segments droits | |
;; | |
;; 1 - Correction du bug sur les arcs > 180 degres | |
;; |
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/sh | |
patch evil-ex.el evil-ex.patch |
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/sh | |
patch undo-tree.el undo-tree.el.patch |
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/sh | |
patch mozc.el mozc.el.patch |
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
$ ls | |
Makefile a.out hogelib.c main.c | |
$ ./a.out | |
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
#!/usr/bin/sh | |
wait_sec=5 | |
beg=`date +%s` | |
end=$(($beg + $wait_sec)) | |
while [ `date +%s` -le $end ]; do | |
echo -n '.' | |
done | |
echo '\nend' |
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
#include <stdio.h> | |
typedef short s2; | |
s2 primary_delay(s2 in, s2 old) | |
{ | |
const s2 TS = 1; // sampling period[ms] | |
const s2 TAU = 100; // time constant[ms] | |
return (TS * in + TAU * old + TAU) / (TS + TAU); |
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
{"version":1,"resource":"file:///d%3A/_docu/unity_proj/arpg2/Assets/script/player_controller.cs","entries":[{"id":"yaKU.cs","timestamp":1658181100504},{"id":"b1DB.cs","timestamp":1658181174267},{"id":"QOqC.cs","timestamp":1658181262517},{"id":"Vki9.cs","timestamp":1658181293474},{"id":"06hw.cs","timestamp":1658181388790},{"id":"BHHp.cs","timestamp":1658181540740},{"id":"g8jf.cs","timestamp":1658181582683},{"id":"ANDE.cs","timestamp":1658222063623},{"id":"92ys.cs","timestamp":1658222335751},{"id":"g2YC.cs","timestamp":1658222367658},{"id":"kZ6x.cs","timestamp":1658228505694},{"id":"BIFx.cs","timestamp":1658269759406},{"id":"YjIw.cs","timestamp":1658269774517},{"id":"rxLk.cs","timestamp":1658272891281},{"id":"QucJ.cs","timestamp":1658343377894},{"id":"xjyU.cs","timestamp":1658343469871},{"id":"Q3Dz.cs","timestamp":1658343804211},{"id":"B8br.cs","timestamp":1658343976899},{"id":"rwOn.cs","timestamp":1658344026839},{"id":"i9Vi.cs","timestamp":1658346136641},{"id":"ZrpI.cs","timestamp":1658346439331},{"id":"zpDm.c |
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
-- full_adder.vhdl | |
-- desc: 1bit full adder | |
entity FULL_ADDER is | |
port(A, B, CIN: in bit; | |
SUM, COUT: out bit); | |
end FULL_ADDER; | |
architecture STRUCT of FULL_ADDER is | |
component HALF_ADDER |
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
;; M-x ttt すると f2関数がコール | |
;; -> 自動でミニバッファに文字列を入力 | |
;; -> 自動でEnter入力 | |
;; -> 結果が表示される | |
(defun f2 () | |
"ミニバッファに文字列を入力してEnterする。" | |
(insert "(1+ 5)") | |
(setq unread-command-events (listify-key-sequence "\C-j")) ;; Enterキー入力をエミュレート | |
;;(setq unread-command-events (listify-key-sequence (kbd "RET"))) ;; こっちでないとダメなときがある |
NewerOlder