호출 예약
호출 내역
추천 내역
신고
  1주일 보지 않기 
카카오톡 공유
https://instiz.net/pt/3822723주소 복사
   
 
로고
인기글
필터링
전체 게시물 알림
정보·기타 이슈·소식 유머·감동 팁·추천 뮤직(국내) 할인·특가 고르기·테스트
이슈 오싹공포
혹시 미국에서 여행 중이신가요?
여행 l 외국어 l 해외거주 l 해외드라마
l조회 1693 출처
이 글은 10년 전 (2016/5/29) 게시물이에요





프로그래머들을 위한 칵테일 | 인스티즈

프로그래머들을 위한 칵테일 | 인스티즈


재료

코코넛 리큐르 ("말리부") 20mL

리치 리큐르 20mL

코냑 혹은 브랜디 40mL

체리 주스 150mL

레몬

얼음

제조법

def ruby()
  20.times do
    liqueur { :type => :cocoa, :name => :Malibu }
    liqueur { :type => :lychee }
  end
  if liqueur.exist? { :type => :brandy } then l = :brandy else l = :cognac
  40.times do liqueur { :type => l } end
  lemon
  ice
end


2. Python


프로그래머들을 위한 칵테일 | 인스티즈

프로그래머들을 위한 칵테일 | 인스티즈

재료

화이트 럼 50mL

민트 리큐르 30mL

파인애플 쥬스 30mL

레몬 반개

스프라이트

제조법

def python():
  d = Drink()
  d.addIngredient(50, type = 'rum', name = 'white')
  d.addIngredient(30, type = 'liqueur', name = 'mint')
  d.addIngredient(30, type = 'juice', name = 'pineapple')
  d.addIngredient(Lemon.unitsPerFruit() / 2.0, type = 'juice', name = 'lemon')
  while not d.glassOverflowed():
    d.addIngredient(1, type = 'soda', name = 'sprite')
  return d



3. Perl


프로그래머들을 위한 칵테일 | 인스티즈

프로그래머들을 위한 칵테일 | 인스티즈



재료

진 30mL

드라이 베르무트("Rosso") 20mL

레몬 쥬스 10mL

시럽 10mL

제조법

$%!#$#$%^@#$!@#$!@#!%$#$%^#@#$@#$@#$"gin"
$$#%@#$$%^$%@#$/=|$"dry vermouth rosso"
""<>.((79348*&("lemon juice"({}
}}}{{}{$$$$"syrup"*#(*#$83 || die();



4. Assembler



프로그래머들을 위한 칵테일 | 인스티즈

재료

허브 리큐르 (예거마이스터) 20mL

멜론 리큐르 (미도리) 20mL

라임 즙

복숭아 시럽 20mL

제조법

global _start
text

_start:
mov $0xfeed, %rax
mov $0x14, %rcx
mov jager, %rdi
cld
rep movmd ; md = make drunk, naturally.
mov $0x14, %rcx
mov midori, %rdi
rep movmd
mov peach, %rdi
mov $0x14, %rcx
rep movmd
jmp $0xfeedface

:jager
ascii "Jagermeister"
:midori
ascii "Midori"
peach:
ascii "peach syrup"



5. Memory Leak




프로그래머들을 위한 칵테일 | 인스티즈

재료

테킬라 50mL

라이트 럼 50mL

트리플 섹 50mL

깔루아 50 mL

콜라

콜라

제조법

struct Drink *make_drink() {
  struct Drink *drink;
  struct Ingredient *ingredient;

  drink = malloc(sizeof(struct Drink));
  drink->ingredients = ingredient = malloc(sizeof(struct Ingredient) * 7);
  *ingredient.amount = 50;
  *ingredient.name = "tequila";
  ingredient++;
  *ingredient.amount = 50;
  *ingredient.name = "white rum";
  ingredient++;
  *ingredient.amount = 50;
  *ingredient.name = "triple sec";
  ingredient++;
  *ingredient.amount = 50;
  *ingredient.name = "kahlua";
  ingredient++;
  addLime(ingredient++);
  *ingredient.amount = sizeof(Glass) - 100;
  *ingredient.name = "coke";
  *ingredient++;
  memset(ingredient, 0, sizeof(struct Ingredient));
  return drink;   
}

void free_drink(struct Drink *) {
  free(drink);
}



https://geektimes.ru/post/258116/


프로그램의 날을 맞아 러시아의 칵테일 만드는 친구가 만들었다고 합니다.


대표 사진
200%
세상에ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 누가 저렇게 끔찍한걸만들었대... 넘나 현실적..
10년 전
로그인 후 댓글을 달아보세요


이런 글은 어떠세요?

전체 HOT댓글없는글
평양 출신 여자의 평양냉면 맛 평가
21:43 l 조회 239
드라마 최악의 결말은?
21:43 l 조회 201
피자헛도 중국기업 되네…'가장 미국스러운' 브랜드도 결국 매각 결정1
21:42 l 조회 145
어제 아는형님 보다가 눈에 띈 걸그룹
21:41 l 조회 99
계정 바꾸고 댓다는걸 깜빡한 ㅈ두
21:41 l 조회 133
사인해주는 나지원 치어리더
21:40 l 조회 158
성격이 이기적이고 배려없는건 결혼해서도 안고쳐지고 계속 가는거죠?
21:40 l 조회 128
서인영과 절친 모모
21:39 l 조회 152
이기택, '1박 2일' 합류 후회 없었다…"촬영 끝나면 또 가고파"
21:35 l 조회 257
회사다니면서 많이본 퇴사케이스1
21:33 l 조회 728
일본인한테 교토화법 시전한 사람 ㅋㅋㅋ1
21:26 l 조회 2315
이번 나는 솔로 남자 출연자가 금주하는 이유
21:24 l 조회 937
놀라운거 알려드림 미국애들 텀블러 안씻음
21:20 l 조회 1006
백인,흑인에 비해 동양인 장점은 뭐야???2
21:19 l 조회 1397
낙태 반대한다고 올린 그림3
21:15 l 조회 3381
음방에서 삑사리 들려서 오히려 반응 좋은 신인.GIF4
21:05 l 조회 1775
90년대 서울.. 하루가 저물어가는 풍경1
21:05 l 조회 2480
이탈리아 10대 도시
21:04 l 조회 1044
현시각 제일 부럽다는 선재스님 당근국수 먹는 이창섭
20:51 l 조회 3198
황실 계승 때문에 난리난 일본 근황.jpg40
20:46 l 조회 12737


12345678910다음
이슈
일상
연예
드영배
21:40