Skip to content

Instantly share code, notes, and snippets.

@nonsintetic
nonsintetic / tronxy-pla-s3d.txt
Created July 10, 2017 10:06
TronXY X1 - Simplify3D generic settings for PLA
Extruder:
- Nozzle Diameter: 0.40mm
- Extrusion Multiplier: 1.00 (can fiddle with this: if you get holes in top layers - increase, if you get blobs and the head digs into the current layer - decrease)
- Extrusion Width: auto
- Retraction:
- Distance: 4-6mm or less even
- Extra Restart Dist: 0.5
- Vertical Lift: 0
- Retraction Speed: 3000
- Coast at end - enabled - 0.1mm
@CodeMyUI
CodeMyUI / button-hover-effects-with-box-shadow.markdown
Created June 16, 2017 00:00
Button hover effects with box-shadow

Button hover effects with box-shadow

Making some basic animations with box-shadows. No extra elements or even pseudo elements required.

Check out my button collection for more.

A Pen by Giana on CodePen.

License.

@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@bradrydzewski
bradrydzewski / generate_docker_cert.sh
Last active March 12, 2024 17:00
Generate trusted CA certificates for running Docker with HTTPS
#!/bin/bash
#
# Generates client and server certificates used to enable HTTPS
# remote authentication to a Docker daemon.
#
# See http://docs.docker.com/articles/https/
#
# To start the Docker Daemon:
#
# sudo docker -d \