Skip to content

Instantly share code, notes, and snippets.

View mig8447's full-sized avatar
🎯
Focusing

Miguel Sánchez Villafán mig8447

🎯
Focusing
  • Zapopan, Jalisco, México
View GitHub Profile
@mig8447
mig8447 / nginx.conf
Created December 18, 2020 01:38 — forked from oroce/nginx.conf
nginx config for using grafana, elasticsearch and graphite with authentication.
user www-data;
worker_processes 1;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
sendfile on;
@mig8447
mig8447 / FOUC-fix.md
Last active September 11, 2021 12:43 — forked from electrotype/FOUC-fix.md

Fix for FOUC :

At the top of your HTML:

<!doctype html>
<html>
<head>
    <style>html{visibility: hidden;opacity:0;}</style>

Just before the body closes:

@mig8447
mig8447 / README.md
Last active June 2, 2020 22:57 — forked from telamonian/gist:875affc6e16cba8b8be08850c982555a
Adding --insecure, -k to homebrew cURL calls (Workaround for homebrew cask install SSL issues)

Problem

Executing

brew cask install sip

yields

@mig8447
mig8447 / setup.sh
Last active July 23, 2019 01:04 — forked from bradp/setup.sh
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install
@mig8447
mig8447 / virtualbox_macos_auto-start.md
Last active April 8, 2020 19:55 — forked from str8edgedave/macos-vbox.md
Auto-starting VirtualBox VMs on macOS

Auto-starting VirtualBox VMs on macOS

Updated Jul 22/2019

There are lots of different how-tos out there for automatically launching VMs using VirtualBox on MacOS. Most of them focus on older versions of VirtualBox or old versions of MacOS.

Tested using macOS Mojave 10.14.4 running VirtualBox 6.0.8. The guest OS is RHEL 7.

Following the instructions on the VirtualBox website (https://www.virtualbox.org/manual/ch09.html#autostart), copy the Virtualbox autostart plist template file to your system's LaunchDaemons folder.

mig8447$ sudo cp \