Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
| var decryptedRow=""; | |
| var pm = PasswordManager.getInstance(); | |
| var model = pm.savedPasswordsList_.dataModel; | |
| var pl = pm.savedPasswordsList_; | |
| for(i=0;i<model.length;i++){ | |
| PasswordManager.requestShowPassword(i); | |
| }; | |
| setTimeout(function(){ | |
| decryptedRow += '"hostname","username","password","formSubmitURL","httpRealm","usernameField","passwordField"'; | |
| for(i=0; i<model.length; i++){ |
Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
| *.class | |
| # Mobile Tools for Java (J2ME) | |
| .mtj.tmp/ | |
| # Package Files # | |
| *.jar | |
| *.war | |
| *.ear |
| var elixir = require('laravel-elixir'); | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Elixir Asset Management | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Elixir provides a clean, fluent API for defining some basic Gulp tasks | |
| | for your Laravel application. By default, we are compiling the Sass | |
| | file for our application, as well as publishing vendor resources. |
First, download driver.
http://www.nvidia.com/download/driverResults.aspx/82252/en-us
To be able to install your nvidia driver you have to remove your previous video driver with this code in a terminal window:
#Laravel 5 Simple ACL manager
Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.
If the user has a 'Root' role, then they can perform any actions.
Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php
It seems there is some problems between Vagrant 1.6.2 and VirtualBox 4.3.12 (the latest at the time or writing this),
switching back to VirutalBox 4.3.6 or VirtualBox 4.3.8 seems to eliminate the problem.
update 1: Try both Vagrant 1.6.2 and VirtualBox 4.3.12 on Mac and they seem to work fine!
update 2: You need to enable Virtual Machine option in your BIOS to make VirtualBox work as expected. Saw someone mention about this in Laravel forum about this and it is true.
Also, Vagrant version should be 1.6.2.
| alias subl="/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe" | |
| if [[ ! -z $SSH_AGENT_PID ]] && `kill -0 $SSH_AGENT_PID` && [[ -f $SSH_AUTH_SOCK ]] | |
| then | |
| echo -e "\e[33m ☀ SSH agent already set up!" | |
| else | |
| eval `ssh-agent.exe` | |
| ssh-add ~/.ssh/id_rsa | |
| conemuc //EXPORT SSH_AUTH_SOCK SSH_AGENT_PID | |
| fi |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');Those suck for maintenance and they're ugly.