Skip to content

Instantly share code, notes, and snippets.

View stabenfeldt's full-sized avatar
🎯
Focusing

Martin Stabenfeldt stabenfeldt

🎯
Focusing
View GitHub Profile
set nocompatible
syntax on
filetype plugin indent on
syntax enable
set background=dark
set t_Co=256 " force vim to use 256 colors
let g:solarized_termcolors=256 " use solarized 256 fallback
set comments=b:#
" Ruby / Rails
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-rails.git'
Bundle 'tpope/vim-rvm'
Bundle 'vim-ruby/vim-ruby'
Bundle 'pangloss/vim-javascript'
Bundle 'mxw/vim-jsx'

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

import '../Config'
import DebugConfig from '../Config/DebugConfig'
import React, { Component } from 'react'
import { Provider } from 'react-redux'
iresponse.okmport RootContainer from './RootContainer'
import createStore from '../Redux'
// create our store
const store = createStore()
import React from 'react'
import { View, Modal } from 'react-native'
import DebugConfig from '../../App/Config/DebugConfig'
import RoundedButton from '../../App/Components/RoundedButton'
import PresentationScreen from './PresentationScreen'
export default class DevscreensButton extends React.Component {
constructor (props) {
super(props)
this.state = {
import React, { Component } from 'react'
import { ScrollView, Text, Image, View } from 'react-native'
import DevscreensButton from '../../ignite/DevScreens/DevscreensButton.js'
import RoundedButton from '../Components/RoundedButton.js'
import getUserToken from '../Sagas/AuthSagas.js';
import { connect } from 'react-redux'
import { Images } from '../Themes'
// Styles
@stabenfeldt
stabenfeldt / build-and-run-tests-in-container.sh
Created March 30, 2017 13:00
bash script for running tests in docker container
#!/bin/bash
# This builds a Docker image and runs the tests within a container using that image.
# Delete the old image first to be sure we don't run our tests on an old image
docker rmi meshnodebackend_tests
docker-compose \
-f docker-compose-test.yml \
run --rm tests
Prefix Verb URI Pattern Controller#Action
spree / Spree::Core::Engine
Routes for Spree::Core::Engine:
api_ready_for_pickup PUT /api/shipments/:id/ready_for_pickup(.:format) spree/api/shipments#ready_for_pickup {:format=>"json"}
new_spree_user_session GET /user/spree_user/sign_in(.:format) spree/user_sessions#new
spree_user_session POST /user/spree_user/sign_in(.:format) spree/user_sessions#create
destroy_spree_user_session GET /user/spree_user/logout(.:format) spree/user_sessions#destroy
spree_user_password POST /user/spree_user/password(.:format) spree/user_passw
module Spree
class Order < Spree::Base
module Checkout
def self.included(klass)
klass.class_eval do
class_attribute :next_event_transitions
class_attribute :previous_states
class_attribute :checkout_flow
class_attribute :checkout_steps
class_attribute :removed_transitions
PATH
remote: solidus
specs:
solidus (1.3.0.alpha)
solidus_api (= 1.3.0.alpha)
solidus_backend (= 1.3.0.alpha)
solidus_core (= 1.3.0.alpha)
solidus_frontend (= 1.3.0.alpha)
solidus_sample (= 1.3.0.alpha)
solidus_api (1.3.0.alpha)