Skip to content

Instantly share code, notes, and snippets.

View maccevedor's full-sized avatar

Mauricio Acevedo Rueda maccevedor

View GitHub Profile
@maccevedor
maccevedor / commit
Created October 30, 2014 14:23
Clone Commit
Github Tree View If the repo is in github, you can navigate to the tree view of the repo at https://github.com/<repo_name>/tree/<commit_sha> Then clicking on the Download ZIP button on the right-hand navigation bar will download the codes of that repo up to the specified commit.
Clone The Repo And Checkout The Specific Commit This will set the HEAD of your master to point to commit_sha. git clone -n <repo_name> git checkout <commit_sha>
Clone The Repo And Checkout The Specific Commit Into A Branch This will set the HEAD of your new_branch to point to commit_sha. git clone -n <repo_name> git checkout -b <new_branch> <commit_sha>
@maccevedor
maccevedor / BitBucket
Created October 30, 2014 14:58
Download Commit Bitbucket
Example especific download commit with bitbucket , writing sha commit.
https://bitbucket.org/maccevedor/educampbackup/get/0512644.zip
{# src/DMW/DemoBundle/Resources/views/Notice/index.html.twig #}
{% extends 'DMWDemoBundle::layout.html.twig' %}
{% block content %}
<div>
<p>Noticias recientes</p>
<ol>
{% for index,notice in notices %}
<li><a href="{{ path('DMWDemoBundle_noticeView', {'notice_id': index}) }}">{{notice.title}}</a></li>
{% endfor %}
@media all and (min-width: 480px) and (max-width: 900px) {
td.col_1{
display:none;
width:0;
height:0;
opacity:0;
visibility: collapse;
}
document.getElementsByTagName("BUTTON")[0];
Terminal ejecutar para ver archivos ocultos
defaults write com.apple.finder AppleShowAllFiles YES
[autorun]
Open=C:\windows\explorer.exe inicio.html
Label=Positiva
icon=positiva.ico
# '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
header('Access-Control-Allow-Origin: *');
@maccevedor
maccevedor / handwriting-animation-svg-css.markdown
Created July 16, 2018 18:21
Handwriting Animation (SVG + CSS)

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.