Skip to content

Instantly share code, notes, and snippets.

View maojj's full-sized avatar
🎯
Focusing

JiaJun Mao maojj

🎯
Focusing
  • kanyun.com
  • BeiJing
View GitHub Profile
@maojj
maojj / multiDeleteAmazonPersonalDocuments.js
Created November 5, 2014 03:41
Delete multi personal documents on Amazon for Kindle
// This is used to delete mulity personal documents for Amazon kindle.
//
// Thanks for xcv58 (http://www.amazon.com/gp/pdp/profile/A22UYYGCF3VPLE)
// http://www.amazon.com/forum/kindle/ref=cm_cd_pg_oldest?_encoding=UTF8&authToken=&cdForum=Fx1D7SY3BVSESG&cdPage=1&cdSort=newest&cdThread=Tx1NTIGX6GSG007
//
// 1.Make a bookmarklet, fill the url filed with the bottom javescript code.
// 2.In personal documents page, click the bookmarklet, and there will be a checkbox in front of every item.
// 3.Select the box if you want delete the item, and there are three links can select ALL, NONE and REVERSE.
// 4.Click the bookmarklet again, the selected items will be deleted perfectly!
//
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- array of downloads. -->
<key>items</key>
<array>
<dict>
<!-- an array of assets to download -->
//
// Created by Chenyu Lan on 8/27/14.
// Copyright (c) 2014 Fenbi. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "YTKNetworkConfig.h"
#import "YTKBaseRequest.h"
// 给url追加arguments,用于全局参数,比如AppVersion, ApiVersion等
#!/bin/sh
# Pre-commit hook for git which removes trailing whitespace, converts tabs to spaces, and enforces a max line length.
if git-rev-parse --verify HEAD >/dev/null 2>&1 ; then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi