This file contains 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
Additional PHP Snippets | |
DocBlockr | |
jQuery | |
Package Control | |
PHP Namespace Command | |
PHP-Twig | |
PhpBeutifier | |
Phpcs | |
PhpDoc | |
Pretty JSON |
This file contains 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
var count = 0; | |
var __actionMessage = false; | |
function atualizaLoad() { | |
var elem = $( "loadCenterContent" ); | |
if (count == 0) { | |
$( "loadCenter" ).removeClassName( "loadCenterMaior" ); | |
$( "loadCenter" ).addClassName( "loadCenter" ); | |
elem.innerHTML = "Carregando"; | |
} |
This file contains 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
<div style="display: none;" id="loading" class="loader"> | |
<div class="container"> | |
<div class="progress progress-striped active loadCenter" id="loadCenter"> | |
<div style="width: 100%;" class="bar" id="loadCenterContent">Carregando.</div> | |
</div> | |
</div> | |
</div> |
This file contains 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
{ | |
//Debug logging | |
"debug_enable": false, | |
// When only either the left or right bracket can be found | |
// this defines if the unmatched bracket should be shown. | |
"show_unmatched" : true, | |
// High visibilty style and color for high visibility mode | |
// (solid|outline|underline|thin_underline|squiggly|stippled) |
This file contains 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
// CONFIG PACKAGES | |
var express = require('express'); | |
var app = express.createServer(); | |
var socket = require('socket.io'); | |
var pg = require('pg'); | |
app.configure(function(){ | |
app.use(express.static(__dirname + '/')); | |
}); |
This file contains 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
// CONFIG PACKAGES | |
var express = require('express'); | |
var app = express.createServer(); | |
var socket = require('socket.io'); | |
var pg = require('pg'); | |
app.configure(function(){ | |
app.use(express.static(__dirname + '/')); | |
}); |
This file contains 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
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/Mac Classic.tmTheme", | |
"font_face": "Source Code Pro", | |
"font_size": 14.0, | |
"highlight_line": true, | |
"theme": "Soda Light.sublime-theme", | |
"translate_tabs_to_spaces": true | |
} |
This file contains 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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme", | |
"font_face": "Monaco", | |
"font_size": 14.0, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage" |
This file contains 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
apt-get install -y ppa-purge | |
add-apt-repository -y ppa:ondrej/php5-oldstable | |
apt-get update | |
ppa-purge ppa:ondrej/php5 | |
apt-get update && apt-get upgrade -y && apt-get autoremove -y && apt-get autoclean -y |
This file contains 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
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 8888; | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname | |
, filename = path.join(process.cwd(), uri); |
OlderNewer