Skip to content

Instantly share code, notes, and snippets.

View VSVS's full-sized avatar
🏋️‍♂️
Growth Hacking

Robert Vargas VSVS

🏋️‍♂️
Growth Hacking
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@VSVS
VSVS / functions.php
Created August 15, 2017 15:35
Boilerplate Code for React + Babel + Wordpress integration
add_action('wp_enqueue_scripts', 'load_react');
function load_react(){
// if its not the react page with id 1400, terminate script
if(! is_page( 1400 ) ){
return;
}
// wp enque args
@VSVS
VSVS / readme.md
Created July 22, 2017 14:47 — forked from rheajt/readme.md
sass setup for create-react-app cli tool

Create-React-App with Sass configuration

Here are instructions for add Sass support to an app built with create-react-app. Hopefully this will be redundant when Sass support is built into the tool! Visit their form and let them know you need Sass support.

Install the create-react-app tool from npm. This will be installed globally. We also need to install the loaders needed for webpack, and we will save those as development dependencies.

npm install -g create-react-app

create-react-app your-app-name
cd your-app-name
npm install --save-dev babel-core babel-loader babel-preset-env babel-preset-react css-loader style-loader html-webpack-plugin webpack webpack-dev-server
@VSVS
VSVS / node-aws.md
Last active February 17, 2017 00:31
Hello!
@VSVS
VSVS / RVNOTES.md
Last active August 29, 2015 14:06
Xcode Shortcuts

#Xcode Shortcuts

  • ⌘R = runs compiler

  • ⌘ + shift + K = clean compiler

  • ⌘1 - ⌘7 = navigator shortcuts

  • ⌘ + shift + O = opens find

  • ⌘1 - ⌘7 = navigator shortcuts

/*
* Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/
*/
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}