Skip to content

Instantly share code, notes, and snippets.

@cornelism
cornelism / fluxys-requisitions-2021
Last active January 22, 2021 00:29
Generated by SassMeister.com.
@mixin tablet {
@media only screen and (min-width: 768px) {
@content;
}
}
@mixin desktop {
@media only screen and (min-width: 1024px) {
@content;
}
@cornelism
cornelism / cloudSettings
Last active July 14, 2020 22:49
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-07-14T22:49:49.209Z","extensionVersion":"v3.4.3"}
@cornelism
cornelism / rm_mysql.md
Created July 5, 2018 22:16 — forked from vitorbritto/rm_mysql.md
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

brew remove mysql

function get_browser_info(){
var ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
if(/trident/i.test(M[1])){
tem=/\brv[ :]+(\d+)/g.exec(ua) || [];
return {name:'IE',version:(tem[1]||'')};
}
if(M[1]==='Chrome'){
tem=ua.match(/\bOPR\/(\d+)/)
if(tem!=null) {return {name:'Opera', version:tem[1]};}
}