Skip to content

Instantly share code, notes, and snippets.

View axper's full-sized avatar

Babken Vardanyan axper

  • Yerevan, Armenia
View GitHub Profile
@ianbarber
ianbarber / RetrieveAccessTokenActivity.java
Created March 17, 2014 20:22
A quick example of retrieving an access token with GoogleAuthUtil
package com.google.devrel.samples.gmstest.app;
import android.app.Activity;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
@rud
rud / vol
Created November 12, 2012 10:41 — forked from bjensen/vol
open the newest file of a directory in vim
# --------------------------------------------------------
# vol as a shell script
# --------------------------------------------------------
# You would put this code in a directory that's in your
# path, like ~/bin (PATH=~/bin:$PATH in your .bashrc to
# add a directory like that to your path.)
# The invokation syntax is the same as that of the
# function.
# --------------------------------------------------------
# Example usage:
@kares
kares / pom.xml
Created April 5, 2010 16:51
WebLogic MBean Maker - Maven Build Example
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<!--
Oracle WebLogic MBean Maker Maven Sample Build
- {weblogic.home} should point to the server installation
- {bea.modules} is expected to hold the weblogic "shared" jars
- sources are expected to live under 'src' folder
- the src folder is expected to contain the SampleAsserter.xml