Skip to content

Instantly share code, notes, and snippets.

Sweet P - Extended Spec DJ Karkiro
Revolution Toots & The Maytals
Fire Is Burning Justin Hinds
Feel The Vibration DJ Karkiro & Don
Reggae Calling Beres Hammond
Make Your Choice Judy Boucher
Superman Tarrus Riley
Midnight Blue The Chancy Michae
Never Gonna Fall in Love Delroy Wilson
Li Hing Hula Na'auao, Sean
@welksonramos
welksonramos / README.md
Created March 8, 2016 20:01 — forked from debashisbarman/README.md
A Twitter bot that can retweet in response to the tweets matching particluar keyword (https://goo.gl/4whEIt)

#Creating a Twitter bot with Node.js Learn how you can create your own Twitter bot using Node.js and the new Twitter API. The bot will auto retweet in response to tweets with some particular hashtags. (https://goo.gl/4whEIt)

##Tools we need Here are the tools we’ll be using to create the bot — 

  • Node.js installed in your machine
  • A registered Twitter account

Create a Twitter application

@welksonramos
welksonramos / config-htaccess.txt
Created November 4, 2014 14:15
#HABILITA CACHE CONTROL E COMPREENSAO GZIP no .htaccess
# Cache-Control de 4 horas (604800 segundos) de tipo público
<FilesMatch "\.(jpg|jpeg|png|gif|ico|js|css)$">
Header set Cache-Control "max-age=604800 , public"
</FilesMatch>
#HABILITA A COMPREENSAO GZIP
<ifModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
</filesMatch>
@welksonramos
welksonramos / php-handler-joomla.md
Last active August 29, 2015 14:07
Php-handler-joomla.md

AddHandler application/x-httpd-php53 .php

@welksonramos
welksonramos / 404-custom-page-joomla.md
Last active August 29, 2015 14:07
404 error page in Joomla

error.php

<?php

defined('_JEXEC') or die;

$app       = JFactory::getApplication();
$doc       = JFactory::getDocument();
$sitename 	= $app->get('sitename');