Skip to content

Instantly share code, notes, and snippets.

View weotch's full-sized avatar
👋
Heya

Robert Reinhard weotch

👋
Heya
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@weotch
weotch / webpack.config.coffee
Created June 13, 2018 16:45
Example Decoy custom js/css webpack build config
###
Generate customized Decoy assets
###
# Deps
ExtractText = require 'extract-text-webpack-plugin'
autoprefixer = require 'autoprefixer'
webpack = require 'webpack'
# Autoprefixer config
@weotch
weotch / install.sh
Created December 6, 2016 20:34
Import es6 modules to coffeescript and vue-loader
yarn add babel-loader babel-core babel-preset-es2015 --dev
@weotch
weotch / gist:04709761d4accd60b894591a336e784d
Last active November 21, 2016 23:21 — forked from samnang/gist:1759336
Install Bash version 4 on MacOS X
# Install Bash 4 using homebrew
brew install bash
# Add the new shell to the list of legit shells
sudo bash -c "echo /usr/local/bin/bash >> /private/etc/shells"
# Change the shell for the user
chsh -s /usr/local/bin/bash
# Restart terminal.app (new window works too)

Required

Linux

  • public key based ssh access with agent forwarding
  • ability to chmod directories
  • access to crontab

PHP

  • version: >= 5.5.9
  • extensions:
<!--
Gloabal breadcrumbs componemt
-->
<template lang='jade'>
ol.layout-breadcrumbs
//- The interactive links
li(
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateHistoriesTable extends Migration {
/**
* Run the migrations.
*
@weotch
weotch / monkeys.coffee
Created April 18, 2016 01:57
Coffeescript demo
num = 6
lyrics = while num -= 1
"#{num} little monkeys, jumping on the bed.
One fell out and bumped his head."
@weotch
weotch / index.html
Created April 18, 2016 01:55
Jade demo
<!DOCTYPE html>
<html lang="en">
<head>
<title>Jade</title>
</head>
<body>
<h1>Jade - node template engine</h1>
<div id="container" class="col">
<p>You are amazing</p>
<p>
@weotch
weotch / style.css
Created April 18, 2016 01:51
Stylus example
.nav {
background: #ff0000;
}
.nav a {
color: #fff;
-webkit-transition: color 300ms;
-moz-transition: color 300ms;
-ms-transition: color 300ms;
transition: color 300ms;
}