Skip to content

Instantly share code, notes, and snippets.

@totophe
totophe / compile.js
Created November 22, 2016 14:50
wordpress-sass-compiler
var sass = require('node-sass');
var fs = require('fs');
const origin = './src/_main.scss';
// const destination = './build/main.css';
const destination = '/Volumes/Example.com/wp-content/themes/mytheme/style.css';
function render() {
sass.render({
file: origin
@totophe
totophe / react-component-webstorm.js
Last active February 4, 2017 00:12
Webstorm file templates for react
import React, { Component } from 'react';
class ${NAME} extends Component {
constructor() {
super();
this.state = {
foo: 'bar',
};
}
@totophe
totophe / keybase.md
Last active February 12, 2017 21:29

Keybase proof

I hereby claim:

  • I am totophe on github.
  • I am totophe (https://keybase.io/totophe) on keybase.
  • I have a public key whose fingerprint is 6F62 8DD7 880B 661D 8480 A04D 9B20 4F0E 5436 6D25

To claim this, I am signing this object: