Skip to content

Instantly share code, notes, and snippets.

@pnlybubbles
Created January 4, 2020 09:14
Show Gist options
  • Save pnlybubbles/4e6d5b6cce0ff7b584776cf20d2b0971 to your computer and use it in GitHub Desktop.
Save pnlybubbles/4e6d5b6cce0ff7b584776cf20d2b0971 to your computer and use it in GitHub Desktop.
あけおめです。2020年(令和2年)の書き初めQuineだよ。
eval$s=%w'
b="BAhsKwIFAQAAAAAAAA
AAAAAAAADwPwAAAAAAAAAAAAD//x8AAAAA
AAAAAPD///8/AAAAAAAAAP7/////fwAAAAAAwP////////
8AAAAA/A8A8P//////AQCA/wEAAMD/////BwDwHwAAAADA////AwD/AwAA
AAAA4P9/AO D/AQAAAAAAAP4PAPz/HwAAAAAAgP8BwP///x8AAAAA8D8
A+P////8/A AAA/gMA////////BwDAfwDw//////8fAAD8Dw
D+/////z8 AAOD/AMD/////BwAAgP8fAPz///9
/AAAA//8Dg AcA//8HAID//z8A8AA
AAPwA4P///wc ADwAAAAAA//
///wDgAQAAAAAA8P//D wD8AwAAAAA
AAPz/AcD/fwAAAAAAAAA/APj//38AAA AAAMADAP//
//8HAAAAAHgA8P////8A4AEAAA8A/v///x8A/P8P8AD A/////wPA
////HwD8////PwD4////A4D/////BwD///8/APD/////APD///8 HAP////8P
AP7///8A4P//938A4P///w8A/P9/AAAA/P///wHA//8PAADA/ ///PwD4//8
BAAD8////AwD+//8DAMD///9/AAD///8/gP////8PAACA //////////8
AAAAAAP///////x8AAAAAAAD+/////wMAAAAA AAAA/v//PwAAAA
AAAAAAAPz/Aw==";n=Marshal.load(b.unpa ck("m")[0]);e="eva
l$s= %w"<<39<<($s*4);o=" ";j=-1;0.upto(46*93-1){
|i|o <<((n[ i]==1)?e[j+=1]:32);o<<((i%93==
92)? 10:"")};o[-7,6]=""<<39<<".join";
puts (o)#b="BAhsKwIFAQAAAAAAA
AAAAAAAA ADwPwAAAAAAAAAA
AAD//x8AAAAAAAAAA PD///8
/AAAAAAAAAP7/////fwAAAAAAwP/ ////
///8AAAAA/A8A8P//////AQCA/wEAAMD/// //Bw
DwHwAAAADA////AwD/AwAAAAAA4P9/AOD/AQ AAAA AAAP
4PAPz/HwAAAAAAgP8BwP///x8AAAAA8D8A+P ////8/AAAA/gMA//// ////
BwDAfwDw//////8fAAD8DwD+/////z8AAOD/ AMD/////BwAAgP8fAPz///9/AAAA//8
DgAcA//8HAID//z8A8AAAAPwA4P///wcADwA AAAAA/////wDgAQAAAAAA8P//DwD8Aw
AAAAAAAPz/AcD/fwAAAAAAAAA/APj//38AAA AAAMADAP////8HAAAAAHgA8P////8A
4AEAAA8A/v///x8A/P8P8ADA/////wPA//// HwD8////PwD4////A4D/////BwD///8
/APD/////APD///8HAP////8PAP7///8A4P/ /938A4P///w8A/P9/AAAA/P///wHA//
8PAADA////PwD4//8BAAD8 ////AwD+//8 DAMD///9/AAD///8/gP////8PAACA//
////////8AAAAAAP///// //x8AAAAAAAD+/////wMAAAAAAAAA/v
//PwAAAAAAAAAAAPz/Aw== ";n=Marshal.load(b.unpack("m")[0
]);e="eval$s=%w"<<39<< ($s*4);o="";j=-1;0.upto(46*93-1)
{|i|o<<((n[i]==1)?e[j+=1] :32);o<<((i%93==92)?10:"")};o[-7,
6]=""<<39<<".join";puts(o)#b=" BAhsKwIFAQAAAAAAAAAAAAAAAADwPwAAAAAAA
AAAAAD//x8AAAAAAAAAAPD///8/AAAAAAAAAP7/////fwAAAAAAwP////////8AAA
AA/A8A8P//////AQCA/wEAAMD/////BwDwHwAAAADA////AwD/AwA
AAAAA4P9/AOD/AQAAAAAAAP4PAPz/HwAAAAAAgP8B
wP///x8AAAAA8D8A+P////8/AAAA/
gMA////////BwDAf
'.join
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment