(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
package java.net; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.security.Permission; |
attributes: { ‘ | |
firstname’: { | |
type: ‘string’, | |
required: true | |
}, | |
‘lastname’: { | |
type: ‘string’ | |
}, | |
‘email’: { | |
type: ‘email’, |
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |
A curated list by Eric Elliott and friends. Suggest links in the gist comments.
Help us turn this into a proper website!
This is a very exclusive collection of only must-have JavaScript links. I'm only listing my favorite links. Nothing else makes the cut. Feel free to suggest links if you think they're good enough to make this list. The really curious should feel free to browse the comments to find other links. I can't guarantee the quality of links in the comments.
#!/bin/bash | |
echo " _ __ _ __ _ " | |
echo " | | / / (_) / /_ ____ _ ____ ___ (_) ___ " | |
echo " | | / / / / / __/ / __ \/ / __ __ \ / / / __ \ " | |
echo " | |/ / / / / /_ / /_/ / / / / / / / / / / /_/ / " | |
echo " |___/ /_/ \__/ \____/ /_/ /_/ /_/ /_/ \____/ " | |
echo " " | |
# export ANDROID_NDK= |
module.exports = { | |
/** | |
* | |
* Using raw socket.io functionality from a Sails.js controller | |
* | |
*/ | |
index: function (req,res) { |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_home); | |
NotificationManager.getInstance().addObserver(loginSucess.name(), this); | |
if (isExpired()) { | |
AlertDialog alertDialog = new AlertDialog.Builder(this) | |
.setTitle("Expired") | |
.setCancelable(false) | |
.setMessage("This Build has expired!") |
// THIS IS A BETA! I DON'T RECOMMEND USING IT IN PRODUCTION CODE JUST YET | |
/* | |
* Copyright 2012 Roman Nurik | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
function Timer () { | |
var i = 1; | |
var timer = setInterval(function() { | |
console.log(i); | |
i++; | |
if(i > 10) { | |
clearInterval(timer); | |
} | |
}, 1000); | |
} |