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
public class AuthenticationInterceptor implements Interceptor { | |
private String authToken; | |
public AuthenticationInterceptor(String token) { | |
this.authToken = token; | |
} | |
@Override | |
public Response intercept(Chain chain) throws IOException { |
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
#! /bin/bash | |
## This script is for taking a screen shot of an Android device. | |
## If possible, it tries to resize the image file and then copy to the clipboard. | |
## | |
## Note the script generates screenshot_yyyyMMddHHmmss.png and screenshot_yyyyMMddHHmmss_s.png | |
## under /sdcard on the device (you can specify another location with '-t' option) | |
## and copies it to the current working directory. | |
## | |
## The script passes unrecognized arguments to adb command, which means you can specify "-e" or "-d" |
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
#!/bin/bash | |
# latest-firefox Version 1.2 | |
# This script will find the latest Firefox binary package, download it | |
# and repackage it into Slackware format. | |
# I don't use Firefox for regular browsing but it is handy for | |
# comparative tests against Opera. :P | |
# Copyright 2015 Ruari Oedegaard, Oslo, Norway |
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
## Fenced code blocks inside ordered and unordered lists | |
1. This is a numbered list. | |
2. I'm going to include a fenced code block as part of this bullet: | |
``` | |
Code | |
More Code | |
``` |