- Generate new rails app using
--webpack
flag
rails new myApp --webpack=vue
Note:
- You can use
--webpack=angular
for angular application and--webpack=react
for react.
# Load fishmarks (http://github.com/techwizrd/fishmarks) | |
. $HOME/.fishmarks/marks.fish | |
fish_vi_key_bindings | |
alias rmi "rm -i" | |
alias ark "docker run --rm -u (id -u) -v ~/.kube/config:/kubeconfig -e KUBECONFIG=/kubeconfig gcr.io/heptio-images/ark:latest" | |
alias oc "code ." | |
# kubernets aliases | |
alias kget "kubectl get" |
Deployment Hooks -> Clone new release -> After this action -> Add Hook
and add this line:ln -s {{project}}/storage/wp-config.php {{release}}/wp-config.php
wp-content/uploads -> storage/wp-content/uploads
const mix = require('laravel-mix'); | |
const resources = 'resources/assets'; | |
const themePath = 'public/themes/wordplate'; | |
const assetsPath = `${themePath}/assets`; | |
mix.setPublicPath(assetsPath); | |
mix.setResourceRoot('../'); | |
mix.browserSync({ |
The goal of this cheatsheet is to make it easy to add hand-rolled authentication to any rails app in a series of layers.
First the simplest/core layers, then optional layers depending on which features/functionality you want.
Specs |
|
---|---|
AUTHOR | Ira Herman |
LANGUAGE/STACK | Ruby on Rails Version 4, 5, or 6 |
<?php | |
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ | |
/* Remove Date Meta Tags Output by Yoast SEO | |
* Credit: Yoast development team | |
* Last Tested: Apr 09 2019 using Yoast SEO 10.1.3 on WordPress 5.1.1 | |
* For Yoast SEO 14.0 or newer, please see https://yoast.com/help/date-appears-search-results/#h-managing-dates | |
*/ | |
add_action('wpseo_dc_'.'DC.date.issued', '__return_false'); // Premium versions 5.2 or older |
find `pwd` -type d -maxdepth 3 -name 'node_modules' | xargs -n 1 tmutil addexclusion |
"***************************************************************************** | |
"" Vim-PLug core | |
"***************************************************************************** | |
if has('vim_starting') | |
set nocompatible " Be iMproved | |
endif | |
let vimplug_exists=expand('~/.config/nvim/autoload/plug.vim') | |
let g:vim_bootstrap_langs = "javascript,php,python,ruby" |