Skip to content

Instantly share code, notes, and snippets.

View vitorpacheco's full-sized avatar

Vitor Pacheco vitorpacheco

  • Solutis Tecnologias
  • Brasil, Salvador - BA
View GitHub Profile
@vitorpacheco
vitorpacheco / Default.json
Created August 14, 2012 12:02
Configurações Sublime Text 2
// While you can edit this file, it's best to put your changes in
// "User/Preferences.sublime-settings", which overrides the settings in here.
//
// Settings may also be placed in file type specific options files, for
// example, in Packages/Python/Python.sublime-settings for python files.
{
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
// Note that the font_face and font_size are overriden in the platform
sudo apt-get install apache2-threaded-dev apache2-mpm-prefork build-essential libcurl4-openssl-dev libcurl4-openssl-dev gnutls-bin libjpeg-dev libpng12-dev libxml2-dev libmcrypt-dev libmcrypt4 mcrypt gmpc-dev libgmp-dev libglib2.0-dev libiulib-dev libib-util firebird-dev libtidy-dev libxslt1-dev autoconf
./configure --with-apxs2=/usr/bin/apxs2 --with-curl --with-gd --with-gettext --with-gmp --with-mcrypt --with-mysql --with-mysqli --with-openssl --with-pdo-firebird --with-pdo-mysql --with-pdo-pgsql --with-pear --with-pgsql --with-regex --with-tidy --with-xmlrpc --with-xsl --enable-exif --enable-mbstring --with-zlib --enable-soap --enable-pcntl
<div title="Solicitar ajustes" id="comment">
<form accept-charset="utf-8" method="post" class="form label-inline" action="/view/25">
<div style="display:none;">
<input type="hidden" value="POST" name="_method">
</div>
<div class="field">
<label for="AjusteComentario">Comentário</label>
<textarea id="AjusteComentario" rows="6" cols="30" name="data[Ajuste][comentario]"></textarea>
</div>
</form>
@vitorpacheco
vitorpacheco / acessibilidade.md
Last active June 7, 2017 11:49
Acessibilidade

ACESSIBILIDADE

O mundo vive atualmente a "era da informação" ou "sociedade da informação". A utilização de tecnologias de informação e comunicação está em expansão no mundo e a internet é a "anfitriã" desta era. Os computadores pessoais e as demais tecnologias, que possibilitam a interface entre o homem e a informação, estão mais acessíveis economicamente às pessoas.

Atualmente é possível comprar um computador e ter acesso à internet facilmente. Mas a acessibilidade é um termo muito mais amplo do que apenas "acesso a algo". Uma parcela da sociedade não tem os mesmos direitos de acessibilidade às tecnologias de informação e comunicação. São eles os cegos e os amblíopes.

A maioria dos websites e computadores apresentam barreiras de acessibilidade, impossibilitando a grande parte das pessoas com algum tipo de deficiência, o acesso à informação. É essencial que a web seja acessível para fornecer igual acesso e oportunidades às pessoas com deficiência.

Veremos neste curso algumas das soluções técnicas para q

public function js() {
$uneb = array();
$uneb['basePath'] = Router::url('/');
$uneb['params'] = array(
'controller' => $this->request->params['controller'],
'action' => $this->request->params['action'],
'named' => $this->request->params['named'],
);
if (is_array(Configure::read('Js'))) {
$uneb = Set::merge($uneb, Configure::read('Js'));
@vitorpacheco
vitorpacheco / Preferences.sublime-settings
Created February 21, 2014 03:55
Preferences.sublime-settings
{
"bold_folder_labels": true,
"color_scheme": "Packages/User/Monokai Soda.tmTheme",
"font_face": "Source Code Pro Semibold",
"font_size": 9,
"highlight_line": true,
"highlight_modified_tabs": false,
"ignored_packages":
[
"Vintage"
@vitorpacheco
vitorpacheco / phpcs.sublime-settings
Created February 21, 2014 03:56
phpcs.sublime-settings
{
"phpcs_additional_args": {
"--standard": "PSR2",
"-n": ""
},
// Show outline for errors
"phpcs_outline_for_errors": false,
// Show the errors in the quick panel so you can then goto line
desktop.ini
Thumbs.db
thumbs.db
*.plist
.mediaartlocal
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
<dynamicTypes>
<add mimeType="text/*" enabled="true" />
<add mimeType="message/*" enabled="true" />
<add mimeType="application/javascript" enabled="true" />
<add mimeType="application/json" enabled="true" />
<add mimeType="*/*" enabled="false" />
</dynamicTypes>
<staticTypes>
@vitorpacheco
vitorpacheco / launch.json
Created August 8, 2017 19:01
Debug VSCode
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",