Skip to content

Instantly share code, notes, and snippets.

View juanjunger's full-sized avatar

Juan Junger juanjunger

View GitHub Profile
@juanjunger
juanjunger / my.cnf
Last active August 28, 2020 18:23
Windows 10 Home can not initialize databse with mysql, so disable AIO from my.cnf
# Windows 10 Home seens to have problems with some versions of mysql database.
# Disable aio in MySQL from Windows 10 Home.
# In your my.cnf file, put this line below:
innodb_use_native_aio=0
@juanjunger
juanjunger / mediaQueryBreakpoints.css
Created August 28, 2020 15:06
CSS Media Queries Breakpoints
@media screen and (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ }
@media screen and (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ }
@media screen and (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ }
@media screen and (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media screen and (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media screen and (min-width:1281px) { /* hi-res laptops and desktops */ }
<script defer>
if (window.matchMedia("(min-width: 480px)").matches) {
// Your logic goes here !!
}
</script>
# Copy downloaded fonts to ubuntu system fonts directory
sudo cp -r home/~desktop_username~/Downloads/~folder~/ usr/local/share/fonts/~folder~/
# Users Directory
/mnt/c/Users/<user-here>/
{
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Dracula",
"javascript.updateImportsOnFileMove.enabled": "always",
"files.exclude": {
"**/_pycache_": true,
"**/.git": true,
"**/.idea": true,
"**/.next": true,
"**/.nuxt": true,
@juanjunger
juanjunger / gist:b00dd7e6d172639dcf96fac4131f894e
Created July 30, 2021 17:09 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@juanjunger
juanjunger / gist:226153a3e8343ff1c9f086af847d2fcb
Created March 13, 2023 20:09 — forked from stereokai/gist:36dc0095b9d24ce93b045e2ddc60d7a0
CSS rounded corners with gradient border
.rounded-corners-gradient-borders {
width: 300px;
height: 80px;
border: double 4px transparent;
border-radius: 80px;
background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff);
background-origin: border-box;
background-clip: padding-box, border-box;
}