Skip to content

Instantly share code, notes, and snippets.

View JAC-Keen's full-sized avatar
🎯
Focusing

Jorge Cano JAC-Keen

🎯
Focusing
View GitHub Profile
@JAC-Keen
JAC-Keen / cf-keep-alive-template.json
Created July 31, 2020 16:20 — forked from zrzka/cf-keep-alive-template.json
AWS Keep Alive lambda function
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Keep alive functions",
"Resources": {
"LambdaPolicy": {
"Type": "AWS::IAM::ManagedPolicy",
"Properties": {
"PolicyDocument": {
@JAC-Keen
JAC-Keen / README.md
Created July 29, 2020 14:50 — forked from shime/README.md
The Qlobe - by Yusuke Endoh

Qlobe

Qlobe is a fascinating example of quine in Ruby, submitted by a member of the Ruby core team - Yusuke Endoh.

Programs that output changed executable versions of themselves while managing to spin the globe and still remaining executable are cool, right?

To experience its magic, run the following

curl -fSSl https://gist.githubusercontent.com/shime/f0ebe84ca42c33b51d42/raw/5e74315dc6b6fe572f8a457536ad7eb17ad3f1e4/qlobe.rb > qlobe.rb; while true; do ruby qlobe.rb | tee temp.rb; sleep 1; mv -f temp.rb qlobe.rb; done