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
using System; | |
using System.Linq; | |
using System.Reflection; | |
using System.Web.Mvc; | |
using NUnit.Framework; | |
using WebApplication.Filters; | |
namespace WebApplicationTests.Filters | |
{ | |
[TestFixture] |
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
<!-- | |
<project-directory> | |
- src | |
-main | |
- axis2 | |
<all-wsdl-and-xsd-files> | |
- java | |
<all-src-code> | |
- resources | |
- META-INF |
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
$ gitk | |
see that the font size sucks | |
$ sudo apt-get install -y tk8.5 | |
$ sudo update-alternatives --config wish | |
select the 8.5 version (usually option 3) |
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
------------------------------------------------------------------------------- | |
RVM Install | |
------------------------------------------------------------------------------- | |
$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile | |
$ source .bash_profile |
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
in browser, go to: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=snapshot;h=android-sdk-<android-os-version>;sf=tgz | |
expand into <android-sdk-directory>/platforms/sources/android-<android-api-level>/sources | |
for <android-sdk-directory>: | |
installation directory for the android SDK | |
for <android-api-level>: | |
eclair = 7 | |
froyo = 8 |
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
import java.net.URL; | |
import java.security.cert.CertificateException; | |
import java.security.cert.X509Certificate; | |
import javax.net.ssl.HostnameVerifier; | |
import javax.net.ssl.HttpsURLConnection; | |
import javax.net.ssl.SSLContext; | |
import javax.net.ssl.SSLSession; | |
import javax.net.ssl.SSLSocketFactory; | |
import javax.net.ssl.TrustManager; |
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 | |
read -p "host (example: www.google.com): " HOSTNAME | |
read -p "port[443]: " PORT | |
if [ -n $PORT ]; then | |
PORT=443 | |
fi | |
echo 'Q' | openssl s_client -connect $HOSTNAME:$PORT -showcerts 2>&1 | sed -n '/BEGIN CERTIFICATE/,/END CERTIFICATE/p' > /tmp/server.cert.file.pem |
NewerOlder