Skip to content

Instantly share code, notes, and snippets.

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

Eduardo Grigolo azedo

🏠
Working from home
  • Senior React Native Engineer @ Numa
  • Berlin - Germany
  • 17:23 (UTC +02:00)
  • Bluesky @pingpong.monster
View GitHub Profile
@azedo
azedo / dabblet.css
Created May 17, 2013 18:21
HTML5 / CSS3 Circle with Partial Border
/**
* HTML5 / CSS3 Circle with Partial Border
* http://stackoverflow.com/q/13059190/1397351
*/
* { margin: 0; padding: 0; }
.circle {
position: relative;
margin: 7em auto;
width: 16em; height: 16em;
border-radius: 50%;
@azedo
azedo / gallery.php
Last active February 1, 2019 20:30
How to use flexslider with multiple lines. (I used this code inside wordpress with the ACF gallery addon, but you can adapt it and use it anywhere you want)
@azedo
azedo / index.html
Created June 6, 2014 13:21
Make a overlaying div clickable through
<div>
<!-- Below is the "BACKGROUND DIV" -->
<div id="BACKGROUND_DIV" style="position:relative;top:200px;left:200px;width:348px;height:348px;overflow:hidden;border: 1px #900 dashed; background:#ff0;padding:20px;">
<span id="SOME_CONTENT">
Here is a div with some links back to SearchLawrence.com
on top of this div a transparent PNG has been placed using
absolute positioning over the top. You can click on links
through the transparent parts of the PNG. This method
requires using CSS conditional statements for IE. Should
@azedo
azedo / .editorconfig
Created March 3, 2017 14:04
Editor Config file for text editor consistency
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true

Keybase proof

I hereby claim:

  • I am azedo on github.
  • I am azedo (https://keybase.io/azedo) on keybase.
  • I have a public key ASBA8-Au55hf3RBzCgPkReEdcKzYyO5XG9bTCyeeoGkEHQo

To claim this, I am signing this object:

@azedo
azedo / dangling_blog.sh
Last active May 6, 2025 10:48
How to recover dangling blobs from git
# Create a temporary directory to store lost objects
mkdir -p lost-found
cd lost-found
# Extract all dangling blobs to files
git fsck --lost-found --no-reflogs | grep "dangling blob" | \
while read -r line; do
blob_hash=$(echo $line | awk '{print $3}')
git cat-file -p $blob_hash > blob_$blob_hash
done