Skip to content

Instantly share code, notes, and snippets.

Zakaria Amine zak905

Block or report user

Report or block zak905

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zak905
zak905 / package.json
Created Nov 5, 2017
Script to automatically generate service worker after a GWT build and before packaging the app.
View package.json
{
"name": "gwt-pwa",
"version": "0.0.1",
"description": "generates service worker for GWT app",
"main": "serviceWorkerBuilder.js",
"dependencies": {
"handlebars": "^4.0.11"
},
"devDependencies": {},
"scripts": {
@zak905
zak905 / AmazonS3TestClient.java
Created Jun 22, 2017
lightweight version of AmzonS3Client(AWS SDK) that can be used in tests with S3Ninja
View AmazonS3TestClient.java
public class AmazonS3TestClient extends AmazonS3Client {
private static Log log = LogFactory.getLog(AmazonS3TestClient.class);
String testBucketName = "yourBucketName";
public AmazonS3TestClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration) {
super(new StaticCredentialsProvider(awsCredentials), clientConfiguration);
}
You can’t perform that action at this time.