Skip to content

Instantly share code, notes, and snippets.

View juanfernandes's full-sized avatar
💭
Available for contract / freelance work

Juan Fernandes juanfernandes

💭
Available for contract / freelance work
View GitHub Profile
@juanfernandes
juanfernandes / colorized-list-bullets.css
Created November 10, 2021 16:10 — forked from 5t3ph/colorized-list-bullets.css
3 Quick Modern CSS Examples
/*
OLD hacky way
*/
ul {
list-style: none;
padding: 0;
}
li {
position: relative;
@juanfernandes
juanfernandes / element-classes-and-ids.scss
Created September 11, 2020 09:15 — forked from 5t3ph/element-classes-and-ids-vanilla.css
Tag HTML elements with their class names and IDs to visualize page structure
*[class],
*[id] {
position: relative;
outline: 2px dashed red;
&::before,
&::after {
position: absolute;
top: 0;
left: 0;
@juanfernandes
juanfernandes / hide-dock
Created January 28, 2020 11:12
Permanently hide the Mac OS X dock
defaults write com.apple.Dock autohide-delay -float 1000000 && killall Dock
defaults delete com.apple.Dock autohide-delay
@juanfernandes
juanfernandes / change-class-on-scroll.html
Created December 11, 2017 15:43 — forked from ohiosveryown/change-class-on-scroll.html
Vanilla JS – change/add class based on scroll position.
<div id="header"></div>
<style>
#header {
position: fixed;
background: pink;
height: 72px;
width: 100%;
opacity: 0.2;
transition: all 300ms ease;
@juanfernandes
juanfernandes / delete-all-git-branches-except-current.sh
Created October 2, 2017 14:10 — forked from maurobringolf/delete-all-git-branches-except-current.sh
Deletes all local Git branches except the current one.
#!/usr/bin/env bash
git branch | grep -v $(git rev-parse --abbrev-ref HEAD) | xargs git branch -D
*:focus {
outline: 2px solid rebeccapurple;
box-shadow: 0 1px 1px rgba(0,0,0,.075) inset,0 0 8px rebeccapurple;
}
@juanfernandes
juanfernandes / countries.json
Created August 9, 2016 13:46 — forked from keeguon/countries.json
A list of countries in JSON
[
{name: 'Afghanistan', code: 'AF'},
{name: 'Åland Islands', code: 'AX'},
{name: 'Albania', code: 'AL'},
{name: 'Algeria', code: 'DZ'},
{name: 'American Samoa', code: 'AS'},
{name: 'AndorrA', code: 'AD'},
{name: 'Angola', code: 'AO'},
{name: 'Anguilla', code: 'AI'},
{name: 'Antarctica', code: 'AQ'},
@juanfernandes
juanfernandes / 01_web-dev-setup-files.md
Last active November 10, 2022 15:06
Web Dev Environment Setup

Web Dev Environment Setup

Note: This was for my Ubuntu setup - need to update this for my macbook setup

@juanfernandes
juanfernandes / 01_sublime-text-setup.md
Last active July 27, 2023 14:40
Sublime Text Setup

Sublime Text setup files

Keybase proof

I hereby claim:

  • I am juanfernandes on github.
  • I am juanfernandes (https://keybase.io/juanfernandes) on keybase.
  • I have a public key ASCNPfnhhCmCmE2iGXsOlKcNB4MfPGdrKOm8AuoJDiYT7wo

To claim this, I am signing this object: