Skip to content

Instantly share code, notes, and snippets.

<!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/@reactivex/rxjs@5.0.3/dist/global/Rx.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<button id="button">Click me</button>
<script id="jsbin-javascript">
'use strict';
@joeoravec
joeoravec / .gitconfig
Created May 4, 2016 13:37 — forked from nepsilon/a-better-setup-for-git.md
A better setup for Git
# The basics, who you commit as:
[user]
name = John Doe
email = john@doe.org
# Your Github username
[github]
user = githubusername
# Some aliases to save 1000s keystrokes each year:
[alias]
log = log --color
describe('ProjectsEditCtrl tests', function () {
var $scope;
beforeEach(module('admin-projects'));
beforeEach(inject(function ($rootScope) {
$scope = $rootScope.$new();
}));
it('should remove an existing team member', inject(function ($controller) {
// Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc
// jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/
// author: Pawel Kozlowski
var myApp = angular.module('myApp', []);
//service style, probably the simplest one
myApp.service('helloWorldFromService', function() {
this.sayHello = function() {
return "Hello, World!"
@joeoravec
joeoravec / quote.css
Created October 11, 2012 17:38
jQuery, handlebars, and quote bubble styling
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
}
img { float: left; padding: 0.5em 0.5em 0 0; }
a { text-decoration: none; color: #fff; }
blockquote {
position: relative;
margin: 0;
padding: 10px;