./mage config-set preferred_state stable
./mage clear-cache
./mage sync
./mage download community Module_Name
This file contains hidden or 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
{ | |
"files": | |
{ | |
"backbone": "http://documentcloud.github.com/backbone/backbone.js", | |
"backbone-min": "http://documentcloud.github.com/backbone/backbone-min.js", | |
"jquery": "http://code.jquery.com/jquery.min.js", | |
"json2": "https://github.com/douglascrockford/JSON-js/raw/master/json2.js", | |
"normalize": "https://raw.github.com/necolas/normalize.css/master/normalize.css", | |
"raphael": "http://github.com/DmitryBaranovskiy/raphael/raw/master/raphael-min.js", | |
"reset": "http://meyerweb.com/eric/tools/css/reset/reset.css", |
This file contains hidden or 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
RewriteEngine on | |
RewriteCond $1 !^(img|index.php|js|robots.txt|css) | |
RewriteRule ^(.*)$ index.php/$1 [L] |
This file contains hidden or 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\DataTables; | |
use App\User; | |
use Yajra\Datatables\Services\DataTable; | |
class UsersDataTable extends DataTable | |
{ | |
/** |
This file contains hidden or 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
11,1 All | |
server { | |
listen 80; | |
listen 443 ssl http2; | |
server_name web.dev; | |
root "/home/vagrant/code/web.dev/public"; | |
index index.html index.htm index.php; | |
charset utf-8; |
This file contains hidden or 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
server { | |
listen 80; | |
server_name proyecto.dev; | |
root /home/xxx/public_html/proyecto.dev/public; | |
index index.php index.html index.htm; | |
This file contains hidden or 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
version: 2 # use CircleCI 2.0 | |
jobs: | |
build: | |
branches: | |
only: | |
- master | |
- develop | |
docker: | |
- image: circleci/php:7.1-node-browsers |
This file contains hidden or 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
docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer |
This file contains hidden or 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
build site: | |
image: node:12.13.0-slim | |
stage: build | |
before_script: | |
- curl -o- -L https://yarnpkg.com/install.sh | bash | |
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" | |
- yarn install --pure-lockfile --cache-folder .yarn | |
cache: | |
paths: | |
- node_modules/ |
This file contains hidden or 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 | |
/** | |
* simple method to encrypt or decrypt a plain text string | |
* initialization vector(IV) has to be the same when encrypting and decrypting | |
* | |
* @param string $action: can be 'encrypt' or 'decrypt' | |
* @param string $string: string to encrypt or decrypt | |
* | |
* @return string | |
*/ |
OlderNewer