Skip to content

Instantly share code, notes, and snippets.

View mull's full-sized avatar
💩

Emil Ahlbäck mull

💩
View GitHub Profile
{
"openapi": "3.0.3",
"info": {
"title": "Hello",
"version": "1.0.1"
},
"paths": {
"/objects": {
"get": {
"summary": "Get all objects",
<!DOCTYPE html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8" />
<title>Scroll direction</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
.transformed {

Keybase proof

I hereby claim:

  • I am mull on github.
  • I am mull (https://keybase.io/mull) on keybase.
  • I have a public key whose fingerprint is 4BDE 4DA3 C0CD F9F8 BC69 101F 11F5 3048 CCCA ECDC

To claim this, I am signing this object:

Verifying that +mullsork is my blockchain ID. https://onename.com/mullsork
import connectToStores from 'alt/utils/connectToStores';
import { Col, Input, Row } from "react-bootstrap";
export function loadFromStores() {
return UniversityStore.fetchAllUniversities();
}
@connectToStores
class UniversitySearch extends React.Component {
@mull
mull / wrapper.js
Last active August 29, 2015 14:28
import connectToStores from 'alt/utils/connectToStores';
@connectToStores
class UniversitySearch extends React.Component {
static getStores() {
return [UniversityStore];
}
static getPropsFromStores() {
➜ build-binutils ../binutils-2.9.1/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --host i586
Created "Makefile" in /Users/eml/Projects/src/build-binutils
rm: conftest.dSYM: is a directory
Configuring libiberty...
Appending ../../binutils-2.9.1/libiberty/config/../../config/mh-x86pic to xhost-mkfrag
Linked "alloca-conf.h" to "../../binutils-2.9.1/libiberty/alloca-norm.h".
Created "Makefile" in /Users/eml/Projects/src/build-binutils/libiberty using "xhost-mkfrag"
Configuring opcodes...
creating cache ../config.cache
checking host system type... i586-pc-none
@mull
mull / gist:5848427
Last active December 18, 2015 21:38
from scrapy.spider import BaseSpider
from scrapy.selector import HtmlXPathSelector
from tutorial.items import DmozItem
class DmozSpider(BaseSpider):
name = "dmoz"
allowed_domains = ["dmoz.org"]
start_urls = [
"http://www.dmoz.org/Computers/Programming/Languages/Python/Books/",
@mull
mull / capybara cheat sheet
Created May 25, 2012 13:20 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
@mull
mull / spec_helper.rb
Created March 16, 2012 23:47 — forked from 5v3n/spec_helper.rb
in order to make spork reload routes & any rb file in the app folder:
Spork.each_run do
load "#{Rails.root}/config/routes.rb"
Dir["#{Rails.root}/app/**/*.rb"].each { |f| load f }
end