Skip to content

Instantly share code, notes, and snippets.

@ocean90
ocean90 / box-shadow.html
Last active September 3, 2024 16:56
CSS3 Box Shadow, only top/right/bottom/left and all
<!DOCTYPE html>
<html>
<head>
<title>Box Shadow</title>
<style>
.box {
height: 150px;
width: 300px;
margin: 20px;
@rmetzler
rmetzler / docker-compose.yml
Created January 4, 2016 13:35
docker-compose from STDIN
redis:
image: redis
ports:
- "6379:6379"
@niloct
niloct / .bashrc
Last active January 18, 2017 14:41
Bash command for sorting `docker images` command by image size ascending.
alias docker-images-by-size="LC=$LC_NUMERIC && LC_NUMERIC=en_US.UTF-8 && docker images | head -1 && docker images | awk 'NR>2' | sort -k8h -k7n && LC_NUMERIC=$LC"
@CSRaghunandan
CSRaghunandan / nginx.conf
Last active November 1, 2024 21:12
Nginx configuration for serving mp4 videos
#user nobody;
worker_processes 4;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
@kupietools
kupietools / Docker Desktop v 4.0.0 thru 4.22.1 direct download links
Last active November 17, 2024 16:54
List of Direct Download links for Docker Desktop from version 4.0.0 released 2021-08-31 thru 4.22.1 released 2023-08-24, as archived on archive.org