Skip to content

Instantly share code, notes, and snippets.

@miguelmota
miguelmota / rss_urls.txt
Last active December 11, 2025 20:15
Tech news RSS feeds
https://news.ycombinator.com/rss
https://www.reddit.com/r/technology/top.rss?t=day
http://rss.slashdot.org/Slashdot/slashdotMain
https://www.theverge.com/rss/tech/index.xml
https://techcrunch.com/feed/
https://www.theguardian.com/us/technology/rss
https://feeds.arstechnica.com/arstechnica/technology-lab
https://www.reutersagency.com/feed/?best-topics=tech&post_type=best
https://feeds.a.dj.com/rss/RSSWSJD.xml
https://www.ft.com/technology?format=rss
# SHOW THE DOCKER VERSION
docker version
# DISPLAY LIVE STREAM OF CONTAINERS ON DOCKER
docker stats
# DISPLAY SYSTEM-WIDE INFORMATION OF DOCKER
docker info
# LIST ALL THE IMAGES
@rummykhan
rummykhan / laravel.sh
Created March 31, 2016 18:14
simple laravel deployment script
#!/bin/sh
mv /var/www/html/index.php /var/www/index.php.saved
rm -rf /var/www/html/*
cp -a /var/www/osn/public/. /var/www/html/
rm -rf /var/www/html/index.php
mv /var/www/index.php.saved /var/www/html/index.php
chmod -R 777 /var/www/html/images/
@asugai
asugai / Install composer on Amazon AMI running on EC2
Last active May 14, 2024 15:14
Install composer on Amazon AMI running on EC2
$ cd ~
$ sudo curl -sS https://getcomposer.org/installer | sudo php
$ sudo mv composer.phar /usr/local/bin/composer
$ sudo ln -s /usr/local/bin/composer /usr/bin/composer
then you can run
$ sudo composer install