Skip to content

Instantly share code, notes, and snippets.

View alexdevero's full-sized avatar
πŸ‘¨β€πŸ’»
Freelance TypeScript & React/Next.js developer available for work

Alex Devero alexdevero

πŸ‘¨β€πŸ’»
Freelance TypeScript & React/Next.js developer available for work
View GitHub Profile
@alexdevero
alexdevero / README.md
Created May 4, 2020 13:39 — forked from gbraad/README.md
Buy me a coffee
We couldn’t find that file to show.
@alexdevero
alexdevero / gist:8cc4e1384678aa4ddc490304c6ecb107
Created March 1, 2018 08:34 — forked from stuart11n/gist:9628955
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
@alexdevero
alexdevero / clear-cache.js
Created February 24, 2018 12:08 — forked from akashnimare/clear-cache.js
Clear cach in electron
const {BrowserWindow} = require('electron');
const win = BrowserWindow.getAllWindows()[0];
const ses = win.webContents.session;
ses.clearCache(() => {
alert("Cache cleared!");
});
@alexdevero
alexdevero / gist:bf89343a13b9564f47c4a18cef05eb41
Created August 5, 2017 09:39 — forked from alimd/gist:3344523
All github Emoji (Smiles)

All github Emoji (Smiles)

ali.md/emoji

:bowtie: | πŸ˜„ | πŸ˜† | 😊 | πŸ˜ƒ | ☺️ | 😏 | 😍 | 😘 | :kissing_face: | 😳 | 😌 | πŸ˜† | 😁 | πŸ˜‰ | :wink2: | πŸ‘… | πŸ˜’ | πŸ˜… | πŸ˜“

😩 | πŸ˜” | 😞 | πŸ˜– | 😨 | 😰 | 😣 | 😒 | 😭 | πŸ˜‚ | 😲 | 😱 | :neckbeard: | 😫 | 😠 | 😑 | 😀 | πŸ˜ͺ | πŸ˜‹ | 😷

😎 | 😡 | πŸ‘Ώ | 😈 | 😐 | 😢 | πŸ˜‡ | πŸ‘½ | πŸ’› | πŸ’™ | πŸ’œ | ❀️ | πŸ’š | πŸ’” | πŸ’“ | πŸ’— | πŸ’• | πŸ’ž | πŸ’˜ | ✨

@alexdevero
alexdevero / Readme.md
Created July 22, 2017 08:01 — forked from mxstbr/Readme.md
Enable tab completion for JSX with Emmet in Atom

Enable tab completion for JSX with Emmet in Atom

This guide assumes you have the emmet and language-babel packages already installed in Atom

Gif of the tab completion working

  1. Open the keymap.cson file by clicking on Atom -> Keymap… in the menu bar
  2. Add these lines of code to your keymap:
'atom-text-editor[data-grammar~="jsx"]:not([mini])':