- Apache Conf (Apache config highlighting)
- Auto Close Tag (HTML/XML stuff)
- Badges (Markdown badges snippets)
- Beautify (HTML/JS/CSS/SASS formatting)
- Bower (Bower management)
- Code Runner (code runner - d'oh!)
- Color Info (CSS color info tooltips)
- Composer(Composer management)
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
<?php | |
namespace App\Http\Middleware; | |
class HandleCorsMiddleware | |
{ | |
/** | |
* Handle an incoming request. | |
* | |
* @param \Illuminate\Http\Request $request |
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
FROM ubuntu:16.04 | |
RUN apt-get update | |
RUN apt-get install -y git wget curl build-essential | |
RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && dpkg -i erlang-solutions_1.0_all.deb | |
RUN apt-get update | |
RUN apt-get install erlang -y | |
RUN apt-get install -y elixir | |
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - |
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to:
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
# Exclude the files ajax, upload and WP CRON scripts from authentication | |
<FilesMatch "(admin-ajax\.php|media-upload\.php|async-upload\.php|wp-cron\.php|xmlrpc\.php)$"> | |
Order allow,deny | |
Allow from all | |
Satisfy any | |
</FilesMatch> |
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
ESTRUTURA DAS PASTAS LINUX | |
/home = pasta de usuarios | |
/dev = devices | |
/media = driver de cd | |
/root = estrutura de pasta do root/superusuario | |
/tmp = logs etc | |
/etc=arquivos de configuracao | |
/var=conteudo de arquivos logs, mysql | |
/bin=executavel |
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
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = crlf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
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
TEST_DB_HOST=localhost # or 127.0.0.1 | |
TEST_DB_DATABASE=my_app | |
TEST_DB_USERNAME=root | |
DBT_PASSWORD= # Put you password here if required or leave blank.. |
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 | |
echo "Ola, $USER! seja bem vindo." | |
echo "Esta prestes a baixar e instalar o editor de códigos ATOM. Nice code for you." | |
sudo add-apt-repository ppa:webupd8team/atom && sudo apt-get update && sudo apt-get install atom |
NewerOlder