Skip to content

Instantly share code, notes, and snippets.


Mauricio Acevedo Rueda maccevedor

View GitHub Profile
View DrupalSettingsVS.json
"phpcs.enable": true,
"phpcs.showSources": true, //See line
"phpcs.standard": "Drupal,DrupalPractice",
"breadcrumbs.enabled": true,
"css.validate": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.tabSize": 2,
"editor.autoIndent": true,
"editor.insertSpaces": true,
maccevedor / tasks.json
Created Oct 30, 2019
Task for visual code
View tasks.json
// See
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
"label": "Remove Image Docker",
"type": "shell",
"command": "docker rmi -f $(docker images -a -q)"
View keybindings.json
// Place your key bindings in this file to override the defaults
"key": "ctrl+tab",
"command": "workbench.action.quickOpenPreviousRecentlyUsedEditor",
"when": "!inEditorsPicker"
"key": "ctrl+shift+tab",
"command": "workbench.action.quickOpenLeastRecentlyUsedEditor",
maccevedor / settings.json
Last active Mar 27, 2020
Drupal phpcs Visual code
View settings.json
"workbench.startupEditor": "newUntitledFile",
"": "C:\\Program Files\\Git\\bin\\bash.exe",
// "php.validate.executablePath": "D:\\WinNMP\\bin\\PHP\\64bit-php-7.3\\php.exe",
// "": "onType",
"window.zoomLevel": 1,
"debug.toolBarLocation": "docked",
"docker.attachShellCommand.linuxContainer": "bash",
"workbench.colorTheme": "Shape",
"workbench.iconTheme": "material-icon-theme",
maccevedor / select.php
Last active Sep 13, 2018
drupal Devel
View select.php
$connection = \Drupal::database();
$query = $connection->query("select * from {key_value} where name='tabla'");
$result = $query->fetchAll();
View handwriting-animation-svg-css.markdown

Handwriting Animation (SVG + CSS)

My name animated for personal branding.

This piece started out as a sketch on the iPad Pro using an Apple Pencil and Procreate. From there, it was converted into a single vector graphic using Adobe Illustrator.

In order to optimize the SVG for animation, the graphic was chopped up into smaller pieces. This was done primarily to prevent path elements from overlapping with unrelated clipPath elements, but also allowed finer control over the animation. All of the animated path elements were exported from Adobe Illustrator and fine-tuned with code.

A Pen by Marina on CodePen.

View html any server
header('Access-Control-Allow-Origin: *');
View command
# 'dev' environment and debug enabled
$ php bin/console command_name
# 'prod' environment (debug is always disabled for 'prod')
$ php bin/console command_name --env=prod
# 'test' environment and debug disabled
$ php bin/console command_name --env=test --no-debug
Open=C:\windows\explorer.exe inicio.html
View hidden
Terminal ejecutar para ver archivos ocultos
defaults write AppleShowAllFiles YES