Skip to content

Instantly share code, notes, and snippets.

@cassidoo
Last active June 4, 2024 09:56
Show Gist options
  • Select an option

  • Save cassidoo/49966ff32b1ea676843284c1719662e6 to your computer and use it in GitHub Desktop.

Select an option

Save cassidoo/49966ff32b1ea676843284c1719662e6 to your computer and use it in GitHub Desktop.
import time
print "..."
time.sleep(1)
print "..."
print "..."
print "..."
print "..."
time.sleep(1)
print "..."
print "..."
time.sleep(1)
print "Production deployed "
print " "
print " "
print " "
print " "
print " "
print " "
print " "
print " "
@apoorvagnihotri

apoorvagnihotri commented Jul 26, 2019

Copy link
Copy Markdown

Thanks! I hope I will be able to get my head around this soon. Or I might not even try.

@AliceDiNunno

Copy link
Copy Markdown

I think there is a bug between line 14 and 21

Clearly you can see that there is some carriage return missing 🤔

@vaastav

vaastav commented Jul 26, 2019

Copy link
Copy Markdown

Breaks with Python 3+ :(

@shaggyfrog

Copy link
Copy Markdown

Ship it!

@fire9

fire9 commented Jul 26, 2019

Copy link
Copy Markdown

Just Kidding

@aditya-konarde

Copy link
Copy Markdown

Its not real production deploys unless you have ascii emoji's involved in deployer script logs

@rubentd

rubentd commented Jul 26, 2019

Copy link
Copy Markdown

a real serverless architecture everyone!

@Horopter

Copy link
Copy Markdown

I don't want to be that guy but this is written for python 2. Might face version incompatibility issues later. Better to include parentheses. :)

@sanvishal

Copy link
Copy Markdown

Where are the Emojis!

@sarasfox

Copy link
Copy Markdown

I don't want to be that guy but this is written for python 2. Might face version incompatibility issues later. Better to include parentheses. :)

it looks so good in python 2

@HilmiZul

Copy link
Copy Markdown

⭐️ 14 stars. why?! 😅

ok let me save this to save my deploy 😄👍🏻

@apoorvagnihotri

Copy link
Copy Markdown

14 stars. why?!

ok let me save this to save my deploy 👍🏻

less right?!? I don't think it's getting the attention it deserves.

@ThomRoman

Copy link
Copy Markdown

hehehehehhe 🎶🎶

@eimihar

eimihar commented Jul 27, 2019

Copy link
Copy Markdown

Thank you. This will save many souls that lost in many Fridays. <3

@japzio

japzio commented Jul 27, 2019

Copy link
Copy Markdown

@swingfox super advanced deploy script

@mzedeler

Copy link
Copy Markdown

Does anyone know how to port this to bash?

@mikkelrask

Copy link
Copy Markdown

So forking this 😁

@eapostol

Copy link
Copy Markdown

I believe forming and merging all these commits with my mission critical software and deploying it int the middle of the day Friday is a wise thing to do

@humblerookie

humblerookie commented Jul 27, 2019

Copy link
Copy Markdown

Nice also this seemed missing

if date.today().weekday() == 5:        #Fridays must be forbidden
   print(" Nice Try")
   sys.exit()

@igbanam

igbanam commented Jul 27, 2019

Copy link
Copy Markdown

Clean Code 😎

@diegomichell

Copy link
Copy Markdown

It's beautiful

@swingfox

Copy link
Copy Markdown

@swingfox super advanced deploy script

way ahead of our time

@sfxworks

Copy link
Copy Markdown

Can't wait to containerize this

@itamark

itamark commented Jul 28, 2019

Copy link
Copy Markdown

I wish I could simply import time.

@kamililyas

Copy link
Copy Markdown

Needs more cowbell

@neon-ninja

neon-ninja commented Aug 5, 2019

Copy link
Copy Markdown

Does anyone know how to port this to bash?

Sure - echo ...;sleep 1;echo -e "...\n...\n...\n...";sleep 1;echo -e "...\n...";sleep 1;echo -e "Production deployed\n\n\n\n\n\n\n\n"

@mzedeler

@CRodriguez25

Copy link
Copy Markdown

A masterpiece

@unmesh-shukla

Copy link
Copy Markdown

This is unfair. You should have written some documentation for this. How can we earth people comprehend this?

@Sal7one

Sal7one commented Apr 14, 2020

Copy link
Copy Markdown

It's been 9 months and I'm still struggling to grasp this

@realFranco

Copy link
Copy Markdown

Omg no way! hahaha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment