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
<!-- clips for insert a twitter bootstrap html --> | |
<li> | |
<a href="#" class="redactor_clip_link">Template 2 columns</a> | |
<div class="redactor_clip" style="display: none;"> | |
<div class="row"> | |
<div class="span4"> | |
<h2>Column 1</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur, ab, at, sunt tempora quae eligendi qui distinctio nam optio aut eum provident magni architecto enim blanditiis. Commodi, adipisci libero doloremque voluptatibus ab molestiae expedita veniam in cumque aspernatur quaerat officia dolor esse nobis recusandae fugiat ratione temporibus voluptas quis unde.</p> | |
</div> |
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 | |
App::uses('AppController', 'Controller'); | |
/** | |
* Notifications Controller | |
* | |
* @property Notification $Notification | |
*/ | |
class NotificationsController extends AppController { | |
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
<VirtualHost *:80> | |
# The ServerName directive sets the request scheme, hostname and port that | |
# the server uses to identify itself. This is used when creating | |
# redirection URLs. In the context of virtual hosts, the ServerName | |
# specifies what hostname must appear in the request's Host: header to | |
# match this virtual host. For the default virtual host (this file) this | |
# value is not decisive as it is used as a last resort host regardless. | |
# However, you must set it for any further virtual host explicitly. | |
#ServerName www.example.com |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" " alternatively, pass a path where Vundle should install plugins | |
" "call vundle#begin('~/some/path/here') | |
" | |
" " let Vundle manage Vundle, required |
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
Installing Arch: | |
sudo vim /etc/pacman.conf | |
Update packages list: sudo pacman -Syy | |
run sudo pacman -Syu before installing any software (to update the repositories first) | |
* Timing issue: | |
- Change hardware clock to use UTC time: | |
sudo timedatectl set-local-rtc 0 |
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
# encoding utf-8 | |
module Ataques | |
def ataqueEspecial | |
puts "Ataque especial #{fraseDeImpacto}" | |
end | |
end |
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
#!/bin/sh | |
# | |
# ~/.xinitrc | |
# | |
# Executed by startx (run your window manager from here) | |
if [ -d /etc/X11/xinit/xinitrc.d ]; then | |
for f in /etc/X11/xinit/xinitrc.d/*; do | |
[ -x "$f" ] && . "$f" | |
done |
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
// Generated on 2013-12-14 using generator-angular 0.6.0 | |
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,*/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
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
Failed to load package named 'atom-color-highlight' Error: Cannot find module 'emissary' | |
at Function.Module._resolveFilename (module.js:344:15) | |
at Function.Module._load (module.js:286:25) | |
at Module.require (module.js:373:17) | |
at require (module.js:392:17) | |
at Object.<anonymous> (C:\Users\patrick_campos\Downloads\dev\ide\atom\atom-color-highlight-master\lib\atom-color-highlight.coffee:1:13) | |
at Object.<anonymous> (C:\Users\patrick_campos\Downloads\dev\ide\atom\atom-color-highlight-master\lib\atom-color-highlight.coffee:1:1) | |
at Module._compile (module.js:468:26) | |
at Object.requireCoffeeScript [as .coffee] (C:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\src\coffee-cache.js:61:19) | |
at Module.load (C:\ProgramData\chocolatey\lib\Atom.0.136.0\tools\Atom\resources\app\node_modules\coffee-script\lib\coffee-script\register.js:45:36) |
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
.filter('datetimeToView', ['$filter', function($filter) { | |
return function(data) { | |
return $filter('date')(new Date(data).getTime(), 'dd/MM/yyyy HH:mm:ss'); | |
} | |
}]) | |
// {{ '2014-11-05 12:28:50' | datetimeToView }} |