For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
import org.ksoap2.transport.HttpsTransportSE; | |
import org.ksoap2.transport.ServiceConnection; | |
import java.io.IOException; | |
public class AndroidInsecureKeepAliveHttpsTransportSE extends HttpsTransportSE { | |
private AndroidInsecureHttpsServiceConnectionSE conn = null; | |
private final String host; | |
private final int port; |
#!/usr/bin/python | |
''' | |
This script finds missing string translations in Android applicaitons. | |
Author: Kostya Vasilyev. License: Creative Commons Attribution. | |
The output format is, I believe, more suitable to working with external | |
translators than the output of Lint from the Android SDK. |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_comments); | |
String htmlComments = getHtmlComment("yourId", "yourShortName"); | |
webDisqus = (WebView) findViewById(R.id.disqus); | |
// set up disqus | |
WebSettings webSettings2 = webDisqus.getSettings(); |
// additional required configuration to hook into the build script | |
android { | |
signingConfigs { | |
release | |
} | |
buildTypes { | |
release { | |
signingConfig signingConfigs.release | |
} |
#StackOverflow Fanatic Badge Helper | |
#Justin Amberson 2013 : http://justin.amberson.net | |
#Fanatic Golden badge - 100 consecutive days on StackOverflow | |
import webbrowser | |
import time | |
def openURL(url): | |
webbrowser.open(url) | |
/** | |
* An example of adding these transitions to a Fragment. This simple | |
* version just applies opposite transitions to any Fragment whether it is | |
* entering or exiting view. You can also inspect the transit mode parameter | |
* (i.e. TRANSIT_FRAGMENT_OPEN, TRANSIT_FRAGMENT_CLOSE) in combination to do | |
* different animations for, say, adding a fragment versus popping the back stack. | |
* | |
* Transactions without an explicit transit mode set, in this example, will not | |
* animate. Allowing the initial fragment add, for example, to simply appear. | |
*/ |
/* | |
* Copyright (C) 2013 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
1) Download cntlm rpm package from http://sourceforge.net/projects/cntlm/files/cntlm/ | |
2) Login as root | |
3) Run command: | |
$ rpm -ivh cntlm-*.rpm | |
4a) Obtain password hash for the configuration file in step 4b (do not put plaintext password in configuration) | |
$ cntlm -H -d <domain> -u <username> |
Last updated: 2017-03-18
exiftool -filename -filemodifydate -createdate -r -if '(not $datetimeoriginal) and $filetype eq "JPEG"' .
###Output photos that don't have datetimeoriginal to a CSV### Note this can take a long time if you have a lot of jpgs