Skip to content

Instantly share code, notes, and snippets.

@dagadbm
dagadbm / Beeper
Last active March 20, 2026 11:28
Beeper
sound:
```
javascript:void(function(){var cfg={selector:'[id="7c6174f21b3e0850bd4f32e2cd4bcb75"]',volume:50,pitch:440,duration:0.25};var ctx=new(window.AudioContext||window.webkitAudioContext);var el=document.querySelector(cfg.selector);if(!el){console.log('%c[[Beep](javascript:void(function(){var cfg={selector:'[id="7c6174f21b3e0850bd4f32e2cd4bcb75"]',volume:50,pitch:440,duration:0.25};var ctx=new(window.AudioContext||window.webkitAudioContext);var el=document.querySelector(cfg.selector);if(!el){console.log('%c[Beeper] Element not found: '+cfg.selector,'color:red;font-weight:bold');return}console.log('%c[Beeper] Element found: '+cfg.selector,'color:lime;font-weight:bold');console.log('%c[Beeper] Click anywhere on the page to arm','color:yellow;font-weight:bold');document.addEventListener('click',function u(){ctx.resume();document.removeEventListener('click',u);console.log('%c[Beeper] Armed and ready!','color:deepskyblue;font-weight:bold')});var prev=null;function beep(){if(prev)try{prev.stop()}catch(e){}var
{
"basics": {
"name": "David Maia",
"label": "Senior Software Engineer",
"image": "https://raw.githubusercontent.com/dagadbm/cv/master/picture.jpeg",
"email": "david.barbosa.maia@gmail.com",
"phone": "+351 913 387 023",
"summary": "I love learning and programming using VIM key bindings.\nI am passionate about technology, functional programming, design patterns, best practices, software development and design.\nApart from that I also love going to the gym, jumping rope, listening to classical music and playing piano. I am also a classically trained pianist and I have been playing piano since I was 16 years old.\n\n\"There is nothing noble in being superior to your fellow man;\ntrue nobility is being superior to your former self.\"\nErnest Hemingway\n___\n\nMost used languages:\nJavaScript\n\nProgramming Languages:\nJavaScript, Java, C#, Python\n\nFrontend: \n=> HTML5/CSS3 (SCSS, bootstra/bulma), JS (ES6), $, _, react, redux(redux-saga), recompose, styled-components, vue (vueX) \n=> Te
@dagadbm
dagadbm / remove_git_submodules
Last active March 6, 2019 07:29
Git Submodules (how to remove)
Remove the submodule entry from .git/config
`git submodule deinit -f path/to/submodule`
Remove the submodule directory from the superproject's .git/modules directory
`rm -rf .git/modules/path/to/submodule`
Remove the entry in .gitmodules and remove the submodule directory located at path/to/submodule