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
Copy link
Copy Markdown

apoorvagnihotri commented Jul 26, 2019

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
Copy link
Copy Markdown

vaastav commented Jul 26, 2019

Breaks with Python 3+ :(

@shaggyfrog
Copy link
Copy Markdown

Ship it!

@fire9
Copy link
Copy Markdown

fire9 commented Jul 26, 2019

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
Copy link
Copy Markdown

rubentd commented Jul 26, 2019

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
Copy link
Copy Markdown

eimihar commented Jul 27, 2019

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

@japzio
Copy link
Copy Markdown

japzio commented Jul 27, 2019

@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
Copy link
Copy Markdown

humblerookie commented Jul 27, 2019

Nice also this seemed missing

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

@igbanam
Copy link
Copy Markdown

igbanam commented Jul 27, 2019

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
Copy link
Copy Markdown

itamark commented Jul 28, 2019

I wish I could simply import time.

@kamililyas
Copy link
Copy Markdown

Needs more cowbell

@neon-ninja
Copy link
Copy Markdown

neon-ninja commented Aug 5, 2019

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
Copy link
Copy Markdown

Sal7one commented Apr 14, 2020

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