This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Add ssh agent | |
ssh-add | |
# Keep composer up to date | |
composer self-update | |
# The script assumes that you have all your projects collected in one directory like | |
# - ./Projects | |
# |- Project A | |
# |- Project B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM `document` WHERE referenced_document_id IS NOT NULL; | |
DELETE FROM `document`; | |
DELETE FROM `cart`; | |
DELETE FROM `order`; | |
DELETE FROM `customer`; | |
DELETE FROM `log_entry`; | |
DELETE FROM `newsletter_recipient`; | |
-- Plugin Frosh Mail Archive | |
DELETE FROM `frosh_mail_archive`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# I made this script to convert SVG icons for an iOS app into PNG. | |
# The script will create icons in 3 sizes for different screen DPIs. | |
find . -type f -name "*.svg" | while read f | |
do | |
echo '---' | |
FILENAME="${f%.*}" | |
echo $FILENAME |