こんばんは.matusnekoです.
これはなにかの Advent Calendar 2018の16日目の記事です. https://adventar.org/calendars/3092
はてなのほうをまだ復旧させていないのでこちらに投稿します.
| #!/bin/sh | |
| echo "" | |
| echo -e "\e[0m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[0m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[0m" | |
| echo -e "\e[0m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[0m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[0m" | |
| echo -e "\e[0m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[0m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[0m" | |
| echo -e "\e[0m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[0m" | |
| echo -e "\e[0m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[0m" | |
| echo -e "\e[0m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[0m" | |
| echo -e "\e[0m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[48;5;15m \e[48;5;162m \e[48;5;15m \e[48;5;49m \e[0m" |
| package main | |
| import ( | |
| "fmt" | |
| "context" | |
| "time" | |
| "bufio" | |
| "os" | |
| ) | |
| func main() { |
| #!/bin/bash | |
| currentdir=$(pwd) | |
| tempdir=$(mktemp -d temp.XXXX) | |
| function failDlFile () { | |
| echo "Failed download fonts" | |
| echo "clean tempolary directory" | |
| cd $currentdir | |
| rm -rf $tempdir |
| class StudentSpec { | |
| public: | |
| int math; | |
| int english; | |
| StudentSpec *next; | |
| StudentSpec(int english, int math, StudentSpec *next) { | |
| this->english = english; | |
| this->math = math; | |
| this->next = next; | |
| } |
こんばんは.matusnekoです.
これはなにかの Advent Calendar 2018の16日目の記事です. https://adventar.org/calendars/3092
はてなのほうをまだ復旧させていないのでこちらに投稿します.
| #include <stdio.h> | |
| #define めいん main | |
| #define ぷりんとふ printf | |
| #define りたーん return | |
| #define はろーわーるど helloworld | |
| #define せいすう int | |
| せいすう めいん() { | |
| ぷりんとふ("はろーわーるど\n"); |
| """This is a test program.""" | |
| from mastodon import Mastodon | |
| import os | |
| CLIENT_ID = 'c9ce278f74a48920e487ca103ca2970f5e6bb6d54566f151bffb87ad84906303' | |
| CLIENT_SECRET = '7ddd75db55213ed242b805459686df434d2335842d5855bc18eb0d7dc567f004' | |
| API_SERVER = 'https://mstdn.jp/' | |
| def init(): | |
| ''' init ''' |
| class Seiseki | |
| { | |
| static void Main(string[] args) | |
| { | |
| ICampusSquare cs = new CampusSquare.CampusSquare(Console.ReadLine(),Console.ReadLine()); | |
| IEnumerable < IGrade > grades = cs.GetGrades(); | |
| Dictionary<string, int> gradeList = new Dictionary<string, int>(); | |
| foreach(IGrade grade in grades) | |
| { | |
| gradeList.Add(grade.Name, grade.GradeNum); |