- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| <?php | |
| namespace My\Custom\Doctrine2\Function; | |
| /** | |
| * RandFunction ::= "RAND" "(" ")" | |
| */ | |
| class Rand extends FunctionNode | |
| { | |
| public function parse(\Doctrine\ORM\Query\Parser $parser) |
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
| " Beginners .vimrc | |
| " v0.1 2012-10-22 Philip Thrasher | |
| " | |
| " Important things for beginners: | |
| " * Start out small... Don't jam your vimrc full of things you're not ready to | |
| " immediately use. | |
| " * Read other people's vimrc's. | |
| " * Use a plugin manager for christ's sake! (I highly recommend vundle) | |
| " * Spend time configuring your editor... It's important. Its the tool you | |
| " spend 8 hours a day crafting your reputation. |
I have managed to install this… and make it work. I implemented it for Facebook and Google, but you can extend it. My solution it is mostly as described in #116, with a bit of more code presented. The key aspects that lack in the #116 presentation (IMO) are:
oauth_user_provider in the security.yml with your custom created serviceHere are the steps:
routing.yml I have added all the routes for both bundles.config.yml mostly as it is presented in the HWIOAuthBundle.security.yml mostly as it is presented in the HWIOAuthBundle (though my routes are using /login pattern, not /connect). Also, the oauth_user_provider is set for my custom service.| var ffmpeg = require('ffmpeg'); | |
| try { | |
| var process = new ffmpeg('example.mp4'); | |
| process.then(function (video) { | |
| console.log('The video is ready to be processed'); | |
| var watermarkPath = 'watermark-suissa.png', | |
| newFilepath = './video-com-watermark.mp4', | |
| settings = { | |
| position : "SE" // Position: NE NC NW SE SC SW C CE CW |
If you are reading this, you have been introduced to something called the Terminal on your Mac by one of your overly pushy developer friends/colleagues.
I am thinking that the conversation went something like this?
You: How can I get to that file?
Them: Just open Terminal and then
$ cd ~/Projects/boilerplate/ && vi .gitignore
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
mostly in the realm of creative coding and graphics programming
lots of these are my own :)
https://www.npmjs.org/package/wzrd (browserify dev server)
https://www.npmjs.org/package/budo (like wzrd but with incremental watching & LiveReload)
https://www.npmjs.org/package/beefy (more fully-featured dev server)