Skip to content

Instantly share code, notes, and snippets.

@chachan
chachan / gist:a4de02662022becb041721fd7d7f39a8
Last active April 7, 2025 03:01
DC Universe Animated [Original] Movies and Series in max (latam)
- 1992 - Series - https://play.max.com/show/cf4c0b94-e621-42b7-9932-78997ead05d8
- 1993 - Movie - https://play.max.com/movie/14a0d4dc-79f0-40f1-8967-fded774b2593
- 1996 - Series - https://play.max.com/show/ffc5e8ea-1171-4806-8380-20470d51b24f
- 1998 - Series - https://play.max.com/show/1ec8cc95-0e97-4c60-9198-34e40d952a53
- 1998 - Moive - https://play.max.com/movie/0a72c822-933c-4b7c-9091-5a8bff3dfda9
- 2000 - Movie - https://play.max.com/movie/39542cb9-6bc6-4767-a489-cd277e0c558c
- 2003 - Movie - https://play.max.com/movie/4b8eb8fe-a90e-44c8-9954-f4b78240dd2a
- 2003 - Series - https://play.max.com/show/f4478fb3-2f36-40b1-867f-fab4a1fbbf5a
- 2004 - Series - https://play.max.com/show/00c780d0-015e-411e-af19-60745c5ce92f
- 2007 - Movie - https://play.max.com/movie/0cb7c67a-5eb1-4863-8c24-e54f0fa22c9c
@chachan
chachan / 55-bytes-of-css.md
Created September 29, 2022 11:03 — forked from JoeyBurzynski/55-bytes-of-css.md
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
apiVersion: v1
kind: Pod
metadata:
name: debian
spec:
containers:
- name: debian
args: ["trap : TERM INT; sleep infinity & wait"]
command: ["/bin/bash", "-c", "--"]
image: debian:11-slim
project_name/
README.rst
docs/
src/
package_name/
__init__.py
more_source.py
subpackage1/
__init__.py
tests/
@chachan
chachan / script-template.sh
Created January 12, 2021 09:42 — forked from m-radzikowski/script-template.sh
Minimal safe Bash script template - see the article with full description: https://betterdev.blog/minimal-safe-bash-script-template/
#!/usr/bin/env bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
cat <<EOF
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...]
Rank Type Prefix/Suffix
1. Prefix my+
2. Suffix +online
3. Prefix the+
4. Suffix +web
5. Suffix +media
6. Prefix web+
7. Suffix +world
8. Suffix +net
9. Prefix go+
@chachan
chachan / README.md
Created March 6, 2020 01:04 — forked from joyrexus/README.md
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")
import logging
logging.root.manager.loggerDict
@chachan
chachan / Makefile
Created April 11, 2019 15:29 — forked from mpneuried/Makefile
Simple Makefile to build, run, tag and publish a docker containier to AWS-ECR
# import config.
# You can change the default config with `make cnf="config_special.env" build`
cnf ?= config.env
include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# import deploy config
# You can change the default deploy config with `make cnf="deploy_special.env" release`
dpl ?= deploy.env
include $(dpl)
@chachan
chachan / get-host.ip.sh
Created October 24, 2017 01:17 — forked from iocanel/get-host.ip.sh
Get the docker host ip inside Kubernetes
#!/bin/bash
KUBERNETES=https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_SERVICE_PORT
TOKEN=`cat /var/run/secrets/kubernetes.io/serviceaccount/token`
POD=`hostname`
curl -s -k -H "Authorization: Bearer $TOKEN" $KUBERNETES/api/v1/namespaces/$KUBERNETES_NAMESPACE/pods/$POD | grep -i hostIp | cut -d "\"" -f 4