This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
import React, { Component, PropTypes, cloneElement } from 'react' | |
import { Route } from 'react-router-dom' | |
const isModifiedEvent = (event) => ( | |
!!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey) | |
) | |
export default class LinkContainer extends Component { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.iab; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import com.example.iab.util.IabHelper; | |
import com.example.iab.util.IabResult; | |
import com.example.iab.util.Inventory; | |
import com.example.iab.util.Purchase; | |
public class MainActivity extends Activity { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.iab; | |
import android.app.Activity; | |
import android.os.Bundle; | |
public class MainActivity extends Activity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var radius = require('radius'); | |
var dgram = require("dgram"); | |
var secret = 'radius_secret'; | |
var server1 = dgram.createSocket("udp4"); | |
var server2 = dgram.createSocket("udp4"); | |
var onMessage = function(msg, rinfo) { | |
var code, username, password, packet; | |
packet = radius.decode({packet: msg, secret: secret}); |