Skip to content

Instantly share code, notes, and snippets.

Avatar
🌮
Playing with GraphQL

Raul Gutierrez rgjr

🌮
Playing with GraphQL
  • Los Angeles, California
View GitHub Profile
View provision-node.sh
##
# add this to your provision.sh
#
# [!] run as 'vagrant' like this:
# su vagrant -c "source ${PROVISION_DIR}/provision-node.sh"
#
# [!] please keep the echo messages.
# [!] those actions could take some more time without any output, so let the user know.
#
# NVM info: https://github.com/creationix/nvm#usage
View slack_geno_sidebar.css
# https://slackthemes.net
#1f1f1f,#424242,#424242,#00ff1a,#424242,#ff0000,#0e5400,#e74c3c
@rgjr
rgjr / instructions.md
Created Dec 5, 2018 — forked from sveggiani/instructions.md
[Configure XDebug, Visual Studio Code for a Vagrant VM] #debug #vm #vscode
View instructions.md

Configure XDebug, Visual Studio Code for a Vagrant VM

1. Assumptions

  • Project (Drupal) is served on /var/www/html in the Vagrant box
  • Local project files location: c:\Users\username\Work\projects\my-project\repo\html
  • Guest machine IP is 10.0.2.2 (if this doesn't work, run route -nee in the VM and look for the gateway address)

2. Configuration

View dark_slack_2.css
body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
@rgjr
rgjr / hyperborder-vaporwave-config.txt
Last active Oct 1, 2018
HyperBorder Vaporwave Config
View hyperborder-vaporwave-config.txt
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@rgjr
rgjr / slack_dark.css
Last active Mar 14, 2017
slack_dark_mode
View slack_dark.css
@-moz-document regexp("https://[^./]*\\.slack\\.com/(?!pricing)(?!security).*") { body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
h1, h2, h3, h4 { color: #e6e6e6; }
h1 a { color: #e6e6e6; }
h1 a:active, h1 a:hover, h1 a:link, h1 a:visited { color: #e6e6e6; }
.bordered { border: 1px solid #363636; }
.top_border { border-top: 1px solid #363636; }
@rgjr
rgjr / send_email.py
Created Aug 1, 2014
Sending an email via python while reading a text file
View send_email.py
#!/usr/bin/python -tt
from email.mime.text import MIMEText
from datetime import date
import smtplib, sys, csv
#Set up the SMTP server info
#TODO add response for username password and store info locally (obviously don't want you to have my info :] )
SMTP_SERVER = #mail server, example: "smtp.gmail.com"
SMTP_PORT = #example: gmail "587"
You can’t perform that action at this time.