Skip to content

Instantly share code, notes, and snippets.

View mlpassos's full-sized avatar
🏠
Working from home

Márcio Passos mlpassos

🏠
Working from home
View GitHub Profile
@mlpassos
mlpassos / wp_perm_set.sh
Created October 16, 2023 21:25
Bash Script for Setting File and Folder Permissions for WordPress
#!/bin/bash
# Função para exibir mensagens de erro e sair
die() {
echo "Erro: $1"
exit 1
}
# Função para exibir a mensagem de ajuda
display_help() {
@mlpassos
mlpassos / index.html
Created September 19, 2012 19:38
Interactive nodes built from image data. Play with your mouse :)
<canvas id='canvas'></canvas>
@mlpassos
mlpassos / index.html
Created September 19, 2012 19:44
using text-shadow and keyframe animations to produce neon light effect. Javascript to enable it and hide the button.
<div class="title">Neon Lights</div>
<div class="content">
<span id="switch">Turn em on</span>
<h1 id="lights">rlemon's diner<br />$4.95 a plate!</h1>
</div>​
@mlpassos
mlpassos / dabblet.css
Last active March 3, 2016 20:26
Untitled
.bola {
width:50px;
height:50px;
background-color:red;
border-radius:50%;
trasnform-style: preserve-3d;
perspective:100px;
}
@keyframes anima {
0% {transform: translateX(0%) scale3d(.5,.5,.5);background-color:blue;}
@mlpassos
mlpassos / dabblet.css
Created January 14, 2014 14:05
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@mlpassos
mlpassos / dabblet.css
Created October 30, 2013 14:24
zocial
@import url(http://weloveiconfonts.com/api/?family=entypo);
/* zocial */
[class*="zocial-"]:before {
font-family: 'zocial', sans-serif;
}
.entypo-note {
font-size:80px;
margin-left:-20px;
@mlpassos
mlpassos / dabblet.css
Created October 29, 2013 14:49
zocial
@import url(http://weloveiconfonts.com/api/?family=entypo);
/* zocial */
[class*="zocial-"]:before {
font-family: 'zocial', sans-serif;
}
.entypo-note {
font-size:80px;
display:block;
@mlpassos
mlpassos / dabblet.css
Created September 19, 2013 22:17
Untitled
body {}
div{
position:absolute;
left:50%;
top:50%;
margin-left:-100px;
margin-top:-100px;
width:200px;
height:200px;
:target {
-webkit-animation: target-fade 3s 1;
-moz-animation: target-fade 3s 1;
}
@-webkit-keyframes target-fade {
0% { background-color: rgba(0,0,0,.1); }
100% { background-color: rgba(0,0,0,0); }
}
@-moz-keyframes target-fade {
:target {
-webkit-animation: target-fade 3s 1;
-moz-animation: target-fade 3s 1;
}
@-webkit-keyframes target-fade {
0% { background-color: rgba(0,0,0,.1); }
100% { background-color: rgba(0,0,0,0); }
}
@-moz-keyframes target-fade {