This file contains hidden or 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
Section "InputClass" | |
Identifier "Evoluent VerticalMouse 3" | |
MatchProduct "Evoluent VerticalMouse 3" | |
Option "ButtonMapping" "1 9 2 4 5 6 7 3 8" | |
EndSection |
This file contains hidden or 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
#!/usr/bin/python | |
import argparse | |
import httplib2 | |
from apiclient.discovery import build | |
from oauth2client.client import flow_from_clientsecrets | |
from oauth2client.file import Storage | |
from oauth2client.tools import run_flow, argparser |
This file contains hidden or 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
// add this function in functions.php | |
/** Replaces RSS link from HTML 'head' with custom feed also used with the 'social icon' */ | |
function response_feed_links() { | |
global $themename, $themeslug, $options; | |
$my_feed=$options->get($themeslug.'_rsslink'); | |
if ($my_feed) { | |
echo '<link rel="alternate" type="application/rss+xml" title="RSS feed" href="'.$my_feed.'"/>'; | |
} | |
else { |
This file contains hidden or 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
public Intent findTwitterClient() { | |
final String[] twitterApps = { | |
// package // name - nb installs (thousands) | |
"com.twitter.android", // official - 10 000 | |
"com.twidroid", // twidroyd - 5 000 | |
"com.handmark.tweetcaster", // Tweecaster - 5 000 | |
"com.thedeck.android" // TweetDeck - 5 000 }; | |
Intent tweetIntent = new Intent(); | |
tweetIntent.setType("text/plain"); | |
final PackageManager packageManager = getPackageManager(); |
This file contains hidden or 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 info.decamps.droid.demo; | |
import android.app.Notification; | |
import android.app.NotificationManager; | |
import android.app.PendingIntent; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.app.Activity; |