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 <allegro.h> | |
int main(void) | |
{ | |
/* you should always do this at the start of Allegro programs */ | |
if (allegro_init() != 0) | |
return 1; | |
/* set up the keyboard handler */ | |
install_keyboard(); |
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
/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc -o dist/main.exe src/main.o -Lvendor/t/lib/djgpp -lalleg | |
vendor/t/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0x30): multiple definition of `set_window_title' | |
src/main.o:main.c:(.text+0x1e): first defined here | |
vendor/t/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0x50): multiple definition of `desktop_color_depth' | |
src/main.o:main.c:(.text+0x46): first defined here | |
vendor/t/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0x70): multiple definition of `get_desktop_resolution' | |
src/main.o:main.c:(.text+0x6b): first defined here | |
vendor/t/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0x90): multiple definition of `_default_ds' | |
src/main.o:main.c:(.text+0x9c): first defined here | |
vendor/t/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0xa0): multiple definition of `bmp_write_line' |
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
Compiling Allegro for djgpp, optimised. Please wait... | |
i586-pc-msdosdjgpp-gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -mtune=i586 -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/allegro.o -c src/allegro.c | |
i586-pc-msdosdjgpp-gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -mtune=i586 -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/blit.o -c src/blit.c | |
i586-pc-msdosdjgpp-gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -mtune=i586 -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/bmp.o -c src/bmp.c | |
i586-pc-msdosdjgpp-gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -mtune=i586 -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/clip3d.o -c src/clip3d.c | |
i586-pc-msdosdjgpp-gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -mtune=i586 -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/clip3df |
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
%=========================================================================== | |
% Piano Sonata Op.111 - II. Arietta, in C Major (L.Beethoven) | |
%=========================================================================== | |
% | |
%--- Notes ----------------------------------------------------------------- | |
% | |
% * test | |
% | |
%--------------------------------------------------------------------------- | |
% |
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
%=========================================================================== | |
% Piano Sonata Op.111 - II. Arietta, in C Major (L.v.Beethoven) | |
%=========================================================================== | |
% | |
%--- Notes ----------------------------------------------------------------- | |
% | |
% * test | |
% | |
%--------------------------------------------------------------------------- | |
% |
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
%=========================================================================== | |
% Piano Sonata Op.111 - II. Arietta, in C Major (L.v.Beethoven) | |
%=========================================================================== | |
% | |
%--- Notes ----------------------------------------------------------------- | |
% | |
% * test | |
% | |
%--------------------------------------------------------------------------- | |
% |
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 requests | |
import json | |
import calendar | |
from datetime import datetime, timedelta | |
# https://api.slack.com/docs/oauth-test-tokens | |
_token = 'token' | |
_domain = 'hma' | |
if __name__ == '__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
cheap = Word(id=1153670) # ๅฎใ | |
yummy = Word(id=1486650) # ใใใใ | |
present = Phrase(cheap, yummy, tense=TENSE_PRESENT) | |
past = Phrase(cheap, yummy, tense=TENSE_PAST) | |
past_neg = Phrase(cheap, yummy, tense=TENSE_PAST, polarity=POLARITY_NEG) | |
# ็ไธผใฏๅฎใใฆใ็พๅณใใใงใใ | |
print('็ไธผใฏ' + str(present) + 'ใงใใ') |
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
cheap = Word(id=1153670) # ๅฎใ | |
white = Word(id=1474910) # ็ฝใ | |
present = Phrase(cheap, white, tense=TENSE_PRESENT) | |
past = Phrase(cheap, white, tense=TENSE_PAST) | |
past_neg = Phrase(cheap, white, tense=TENSE_PAST, polarity=POLARITY_NEG) | |
# ใใใฏๅฎใใฆใ็ฝใใงใใ | |
print('ใใใฏ' + str(present) + 'ใงใใ') |
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
if self.is_type(ADJ_I): | |
stem_kana = self.conjugations['stem_kana'] | |
stem_kanji = self.conjugations['stem_kanji'] | |
conj = self.conjugations['conj'] | |
suffix = '' | |
next_type = None if next is None else next.get_type() | |
if next_type == ADJ_I: | |
suffix = 'ใใฆ' |