An open API service indexing awesome lists of open source software.

https://github.com/m3dev/crazy_programming

エムスリー株式会社の社内で作られたQuineやプログラミングクイズの解説をまとめたリポジトリ
https://github.com/m3dev/crazy_programming

Last synced: 5 months ago
JSON representation

エムスリー株式会社の社内で作られたQuineやプログラミングクイズの解説をまとめたリポジトリ

Awesome Lists containing this project

README

          

# Crazy Programming

## Description

実行するとソースコード自身と同じ文字列が返ってくるコード「Quine」、社内で開発された「プログラミングクイズ」を掲載しています。
社内Slackにおけるプログラミングの雑学を共有するチャンネル `#crazy-programming` より命名されたリポジトリです。

## Quine

|lang|title(link)|
|---|---|
|Dart|[M3 Dart Quine](https://github.com/m3dev/crazy_programming/tree/main/quine/dart)|
|Go|[M3 Go Quine](https://github.com/m3dev/crazy_programming/tree/main/quine/go)|
|Kotlin|[M3 Kotlin Quine](https://github.com/m3dev/crazy_programming/tree/main/quine/kotlin)|
|OCaml|[M3 OCaml Quine](https://github.com/m3dev/crazy_programming/tree/main/quine/ocaml)|
|Python|[M3 Python Quine](https://github.com/m3dev/crazy_programming/tree/main/quine/python)|
|Python|[出力が動くFukuoka採用Quine](https://github.com/m3dev/crazy_programming/tree/main/quine/python)|
|Ruby|[M3 Ruby Quine](https://github.com/m3dev/crazy_programming/tree/main/quine/ruby)|
|Scala|[M3 Scala Quine](https://github.com/m3dev/crazy_programming/tree/main/quine/scala)|
|Swift|[M3 Swift Quine](https://github.com/m3dev/crazy_programming/tree/main/quine/swift)|
|Swift|[M3 Swift Quine: iOSDC Japan 2025 edition](https://github.com/m3dev/crazy_programming/tree/main/quine/swift)|
|TypeScript|[M3 TypeScript Quine](https://github.com/m3dev/crazy_programming/tree/main/quine/typescript)|

## Programming Quiz

JavaScript Quiz Table

|title(link)|code|
|---|---|
|[技育プロジェクト](https://github.com/m3dev/crazy_programming/tree/main/quiz/javascript/geek)|`[_='GEEK'.small()[2]]+[-~_._\|2];`|
|[TypeTypeType](https://github.com/m3dev/crazy_programming/tree/main/quiz/typescript/typetypetype)|`let type = "type";...`|
|[Colab](https://github.com/m3dev/crazy_programming/tree/main/quiz/javascript/colab)|`((_,$=[].push(_,_))=>...`|

Python Quiz Table

|title(link)|code|
|---|---|
|[Is Face Mark?](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/is_face_mark)|`(d >_< b) if (c:=('ω')<"hi") else (c^0^c)-~3`|
|[While trick](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/while_trick)|`[1,2,3,4];while _:_,*_=_;_`|
|[Slice list](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/slice_list)|`[x:=1,x:=-~x,-~x][:][::-1][:1]`|
|[Slice hint](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/slice_hint)|`_:...=[];_[:]:...=f'{f"{[...][::][0]}"::^0}';_`|
|[Long addition](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/long_addition)|`0+~-~-~-~-~-~-~-~-~-~0`|
|[Numpy long addition](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/numpy_long_addition)|`import numpy as np;x = np.arange(3);x-+~--~+-~~++~+-x;`|
|[Numpy array to array](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/numpy_array_to_array)|`import numpy as np;print(np.zeros(((_:=1),_))[[(((~-_,),),)],(...)])`|
|[Numpy sum](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/numpy_sum)|`import numpy as np;print(sum([sum:=-1],np.sum([sum],sum)))`|
|[Sum trick](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/sum_trick)|`sum(((1,(2,(3),),(4,)),(5,),),())`|
|[Zeros](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/zeros)|`000_0&00^00-0x0_0_00^0o0_00-~0^-0b0_0_0`|
|[To int](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/to_int)|`int("%s_0%%s"%0x0%10)`|
|[Equals](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/equals)|`f"{'='=}={'='=}"`|
|[Method chaining](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/method_chaining)|`().__iter__().__class__.__name__[_:=-2]+[].__class__.__name__[_]`|
|[GeeK split](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/geek_split)|`"g_e_e_k".split(_:="_",_:=len(_))[_].split(_:="_",_:=len(_))[_].split(_:="_")[len(_)]+"p"`|
|[X Face](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/x_face)|`_C:3J /2=3;-~-( _C-8) *["布団"]`|
|[All empty](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/all_empty)|`-~(-~(()==()))`|
|[String of string](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/string_of_string)|`"%%%s%%%%%%%%%%%%ss"%"d"%1%"%"%()%"2"`|
|[Zero to one](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/zero_to_one)|`~1<<1&-~1`|
|[Formula type](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/formula_type)|`O:1+1=2;O`|
|[Append magic](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/append_magic)|`(x:=[[]]*3)[0].append(1);x`|
|[MMM](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/mmm)|`*M,M=[*"123"];"M"+M`|
|[Tuple merge](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/tuple_merge)|`(((0)\|1)\|2)\|3`|
|[I am m3](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/i_am_m3)|`'IAMM3'[(x:=-~(1==1))::x]`|
|[is](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/is)|`...is...is...is...is...is...`|
|[dot](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/dot)|`f"{(':')[::]::^5}"`|
|[map to map](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/map_to_map)|`list(map(list,list(map(map,map(lambda map:list,map:='map'),map))))`|
|[Make parentheses](https://github.com/m3dev/crazy_programming/tree/main/quiz/python/make_parentheses)|`();((((_,_))))`|

Ruby Quiz Table

|title(link)|code|
|---|---|
|[RubyKaigi 2019 Day1-1](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_kaigi_2019)|`!????!:!?!`|
|[RubyKaigi 2019 Day2-1](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_kaigi_2019)|`%%%%%%..%%[0].size[0]`|
|[RubyKaigi 2019 Day2-1](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_kaigi_2019)|`puts=:puts;puts=send(puts,puts)\|\|puts(puts){puts="puts"};puts`|
|[RubyKaigi 2019 Day2-2](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_kaigi_2019)|`%%%%%%%%?????:??`|
|[RubyKaigi 2019 Day2-3](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_kaigi_2019)|`a=0.0/0;a==a?a:irb.quit`|
|[RubyWorldConference2022 day0-1](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_world_conference_2022)|`-a=--1.to_s`|
|[RubyWorldConference2022 day0-2](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_world_conference_2022)|`[1_1, 1_2, 1_3].map{_2}\|[]`|
|[RubyWorldConference2022 day0-3](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_world_conference_2022)|`_=_\|_=__=_\|_=_`|
|[RubyWorldConference2022 day1-1](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_world_conference_2022)|`!??[??]`|
|[RubyWorldConference2022 day1-2](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_world_conference_2022)|`!%.!..!`|
|[RubyWorldConference2022 day1-3](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_world_conference_2022)|`?%%/?%/`|
|[RubyWorldConference2022 day2-1](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_world_conference_2022)|`+-+-+-1===-+-+-+1`|
|[RubyWorldConference2022 day2-2](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_world_conference_2022)|`().\|(0).!()`|
|[RubyWorldConference2022 day2-3](https://github.com/m3dev/crazy_programming/tree/main/quiz/ruby/ruby_world_conference_2022)|`(?a..?A).to_a[-2]`|

# We are hiring!!

ギークな学びが大好きな皆さん、エムスリーで一緒に働いてみませんか?

私達のミッションは、インターネットを活用し、健康で楽しく長生きする人を1人でも増やし、不必要な医療コストを1円でも減らすこと。
エンジニアリングの力を活かし、共に医療の課題解決に向かう仲間を募集しています。

## エンジニア採用ページはこちら

[https://jobs.m3.com/engineer/](https://jobs.m3.com/engineer/)

## 新卒採用、インターンも常時募集しています

[https://fresh.m3recruit.com/engineer](https://fresh.m3recruit.com/engineer)