create an empty project and add a Gemfile
cd ~/Desktop
mkdir project-name
cd project-name
touch Gemfile| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| # add a trailing slash to /wp-admin | |
| RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] | |
| RewriteCond %{REQUEST_FILENAME} -f [OR] | |
| RewriteCond %{REQUEST_FILENAME} -d | |
| RewriteRule ^ - [L] | |
| RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] | |
| RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] |
| <IfModule mod_expires.c> | |
| ExpiresActive On | |
| ExpiresByType image/jpg "access 1 year" | |
| ExpiresByType image/jpeg "access 1 year" | |
| ExpiresByType image/gif "access 1 year" | |
| ExpiresByType image/png "access 1 year" | |
| ExpiresByType text/css "access 1 month" | |
| ExpiresByType text/html "access 1 month" | |
| ExpiresByType application/pdf "access 1 month" | |
| ExpiresByType text/x-javascript "access 1 month" |
| # alias radio='function __radio(){ r=`grep -v "#" radios_nacionales.txt | grep -m 1 -i $1 | cut -d" " -f1`; cvlc $r 2> /dev/null; }; __radio' | |
| # podria utilizarse mplayer en vez de vlc | |
| AMs Nacionales | |
| http://cdn.instream.audio:9288/stream Radio Madre 530 | |
| https://streaming1.hostingmontevideo.com:7019/; Radio Colonia 550 | |
| http://server.laradio.online:25224/live.mp3 Radio Argentina 570 | |
| http://playerservices.streamtheworld.com/api/livestream-redirect/CONTINENTAL_SC Continental 590 | |
| https://streammax.alsolnet.com/radiorivadavia Rivadavia 630 |
| <?php | |
| $args = array( | |
| 'post_author' => 1, | |
| 'post_content' => '', | |
| 'post_status' => "draft", // (Draft | Pending | Publish) | |
| 'post_title' => '', | |
| 'post_parent' => '', | |
| 'post_type' => "product" | |
| ); |
| FROM ruby:2.2.0 | |
| RUN bundle config --global frozen 1 | |
| RUN mkdir -p /usr/src/app | |
| WORKDIR /usr/src/app | |
| ADD Gemfile /usr/src/app/ | |
| ADD Gemfile.lock /usr/src/app/ | |
| RUN bundle install --without test development --system |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |