Skip to content

Instantly share code, notes, and snippets.

View sdbeng's full-sized avatar
💭
Coding

Sergio sdbeng

💭
Coding
View GitHub Profile
anonymous
anonymous / index.html
Created October 5, 2016 04:24
JS Bin // source http://jsbin.com/likewi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://unpkg.com/expect/umd/expect.min.js"></script>
import { Component } from 'react'
import { createStore, combineReducers } from 'redux'
import parseLinkHeader from 'parse-link-header'
const START = 'start'
const SUCCEED = 'succeed'
const ERROR = 'error'
const inflight = (state={}, action) => (
((state) => (
package com.example.android.justjava;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import android.widget.TextView;
/**
* This app displays an order form to order coffee.
*/
@sdbeng
sdbeng / DetailViewController.h
Last active December 17, 2015 14:28
Universal iPhone/iPad App showing a general schedule agenda of events. When the 4th row is selected, it shows a second list of workshop sessions. Each list should show the Detail view for their own events/sessions.
#import <UIKit/UIKit.h>
@interface DetailViewController : UIViewController <UISplitViewControllerDelegate>
@property (strong, nonatomic) id detailItem;
@property (weak, nonatomic) IBOutlet UILabel *nameText;
@property (weak, nonatomic) IBOutlet UILabel *timeText;