The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
[{"created_at": "2014-10-26T02:32:59Z", | |
"trends": | |
[{"url": "http://twitter.com/search?q=%23GolpeNoJN", | |
"name": "#GolpeNoJN", "query": "%23GolpeNoJN", "promoted_content": null}, | |
{"url": "http://twitter.com/search?q=%23SomosTodosDilma", | |
"name": "#SomosTodosDilma", "query": "%23SomosTodosDilma", "promoted_content": null}, | |
{"url": "http://twitter.com/search?q=%23EAecio45Confirma", | |
"name": "#EAecio45Confirma", "query": "%23EAecio45Confirma", "promoted_content": null}, | |
{"url": "http://twitter.com/search?q=Uilson", | |
"name": "Uilson", "query": "Uilson", "promoted_content": null}, |
#!/bin/sh | |
# | |
# chkconfig: 2345 55 25 | |
# Description: Nginx init.d script, put in /etc/init.d, chmod +x /etc/init.d/nginx | |
# For Debian, run: update-rc.d -f nginx defaults | |
# For CentOS, run: chkconfig --add nginx | |
# | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $all |
class LinkAccounts extends Component { | |
constructor(props) { | |
super(props); | |
this.state = this.getState(); | |
this.state.pageLoading = 50; | |
this._onChange = this._onChange.bind(this); | |
LoaderStore.addChangeListener(this._onChange); | |
} | |
_onChange() { |
export default { | |
START: "startLoading", | |
DONE: "loadingComplete", | |
START_BUTTON: "startButtonLoading", | |
DONE_BUTTON: "doneButtonLoading" | |
} |
import DS from "ember-data"; | |
export default DS.Model.extend({ | |
title: DS.attr('string'), | |
isbn: DS.attr('string'), | |
pages: DS.attr('number'), | |
description: DS.attr('string'), | |
authors: DS.hasMany('author',{ async: true }), | |
publisher: DS.belongsTo('publisher',{ async: true }), | |
reviews: DS.hasMany("review",{ async: true }) |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Ember Starter Kit</title> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/2.1.0/normalize.css"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js"></script> | |
<script src="http://builds.emberjs.com/tags/v1.8.0/ember.js"></script> | |
<style id="jsbin-css"> |
App.PostsController = Em.ArrayController.extend({ | |
actions: { | |
create: function () { | |
// some validation logic here | |
return this.send('createPost'); | |
}, | |
save: function (model) { | |
// some validation logic here |
#!/bin/bash | |
CONSOLE_RED="\033[2;31m" | |
CONSOLE_GREEN="\033[2;32m" | |
CONSOLE_CLEAR="\033[0m" | |
JENKINS_SERVER=http://my_jenkins_server | |
JOB=$1 | |
JOB_QUERY=/job/${JOB} |
/* Put your CSS here */ | |
html, body { | |
margin: 10px; | |
} |