Friday, December 6, 2013

AgFx Windows Phone App and Data Caching Framework

https://github.com/shawnburke/A...

Thursday, November 21, 2013

ORM Battle

http://ormbattle....

Sunday, August 25, 2013

Revocation Checking

The process of revocation invalidates a certificate before its end validity date using one of the revocation codes mentioned in the previous section. A Microsoft CA publishes certificate status information in the form of CRLs. Third party products use this information to provide revocation information in other formats such as OCSP, SCVP and XKMS. Prior to checking the status of a certificate, client must first checks a certificate to ensure that is trusted and it is time valid. Every issued certificate has a defined period in which the issuing...

Saturday, August 24, 2013

EffectiveDate (thisupdate), NextUpdate and NextCRLPublish

(from http://blogs.technet.com/b/pki/archive/2008/06/05/how-effectivedate-thisupdate-nextupdate-and-nextcrlpublish-are-calculated.aspx)The validity time of a certificate revocation list (CRL) is critical for every public key infrastructure. By default, most applications verify the validity of certificates against a CRL.Two CRL types exist: base CRLs and delta CRLs. In case where no delta CRL is used, certificates are treated as invalid if the base CRL is not available or expired. If a delta CRL is in use, the delta and base CRL must be available...

Sunday, June 16, 2013

HTTP Requests in Android

This code executes a HTTP POST request with org.apache.http.client.HttpClient. Could be used in combination with "Non-Blocking Web Requests". public void postData() {     // Create a new HttpClient and Post Header     HttpClient httpclient = new DefaultHttpClient();     HttpPost httppost = new HttpPost("http://www.yoursite.com/script.php");     try {         // Add your data  ...

Setting up the Android Emulator for HTTP debugging using Fiddler2

Launch an emulator with parameters: emulator -avd my_avd -http-proxy 127.0.0.1:8888 http://www.android-proxy.com/2011/11/may-force-be-with-you-use.html Finding proxy: DefaultHttpClient httpclient = new DefaultHttpClient(); String proxyString = Settings.Secure.getString(getApplicationContext().getContentResolver(), Settings.Secure.HTTP_PROXY); if (proxyString != null) { String proxyAddress = proxyString.split(":")[0]; int proxyPort = Integer.parseInt(proxyString.split(":")[1]); HttpHost proxy = new HttpHost(proxyAddress, proxyPort); ...

Wednesday, May 22, 2013

Bcrypt. Storing passwords.

http://dustwell.com/how-to-handle-passwords-bcrypt.html More on this: http://stackoverflow.com/questions/1054022/best-way-to-store-password-in-database http://stackoverflow.com/questions/420843/how-does-password-salt-help-against-a-rainbow-table-attack http://stackoverflow.com/questions/568657/is-it-ever-ok-to-store-password-in-plain-text-in-a-php-variable-or-php-constant http://stackoverflow.com/questions/674904/salting-your-password-best-practices http://stackoverflow.com/questions/270485/password-management-best-practices-soup-to-nuts-not-just-storage-or-generation http://stackoverflow.com/questions/258299/what-is-the-best-way-to-keep-passwords-configurable-without-having-them-too-eas http://stackoverflow.com/questions/947618/how-to-best-store-user-information-and-user-login-and-password http://security.stackexchange.com/questions/211/how-to-securely-hash-passwords http://stackoverflow.com/questions/947618/how-to-best-store-user-information-and-user-login-and-password http://en.wikipedia.org/wiki/Rainbow_table http://en.wikipedia.org/wiki/Salt_(cryptography) .NET...

Monday, May 6, 2013

SOAP client lib in Python

"suds has been the most reliable even though it hasn't been updated since 2010 or so.  SOAPpy hasn't been updated since 2011, but it works fairly well t...

Tuesday, April 30, 2013

Understanding SynchronizationContext

http://www.codeproject.com/Articles/31971/Understanding-SynchronizationContext-Part-I http://www.codeproject.com/Articles/32113/Understanding-SynchronizationContext-Part-II http://www.codeproject.com/Articles/32119/Understanding-SynchronizationContext-Part-...

HTML5 Javascript boilerplate

http://html5boilerplate.com http://codeproject.tv/video/5025702/creating_a_web_page_with_javascript http://www.codeproject.com/Articles/580165/JavaScript-Best-Practices  ...

JS, Design, Textures, Tools

http://tutorialzine.com http://mameara.com http://yousharedesign....

Tuesday, April 9, 2013

Bouncy Castle Crypto API

http://www.bouncycastle....

Ten websites that teach coding and a bunch of other things

Ten websites that teach coding and a bunch of other things (via Pando Daily) By Cale Guthrie Weissman On April 5, 2013Seemingly every day there’s a new article or blog post imploring you to learn how to code. “Those who code have the power to transform their dreams into reality.” “Coding will help you keep [your job], or help you make a case for a raise.” “You should… ...

Sunday, April 7, 2013

Ruby toolbox

https://www.ruby-toolbox....

Friday, March 15, 2013

Essential Ruby reading

http://net.tutsplus.com/articles/web-roundups/essential-ruby-rails-3-reading...

Wednesday, March 13, 2013

Lisp Flavored Erlang

http://lfe.github.com http://lfe.github.com/quick-start/1.h...

Tuesday, March 12, 2013

.NET Async Enumerable

http://asyncenum.codeplex....

Monday, March 11, 2013

Haskell school

https://www.fpcomplete.com/sch...

Chef Solo: automating settings

http://en.wikipedia.org/wiki/Chef_(software) http://www.rubyinside.com/chef-tasty-server-configuraiton-2162.html http://wiki.opscode.com/display/chef/Chef+Solo http://habrahabr.ru/sandbox/52663 http://habrahabr.ru/company/scalaxy/blog/87...

Friday, March 1, 2013

Intermittent TimeoutException: The request channel timed out while waiting for a reply after 00:01:00 in WCF web service

I was experiencing this bug fairly long enough and without any success in reproduction. Setting sendTimout to more than 1 default minute was not a decision, because this obviously was not an  execution time problem. So as I have described in the previous post about WCF diagnostic, I analysed logs and found out that the response was actually sent from the server towards client which the client somehow failed to recieve. How is that? After pondering...

Thursday, February 28, 2013

WCF Tracing

This link explains the most of trace levels: WCF Tracing FAQ Add the following sections to server config And corresponding params to system.serviceModel as well. All the explanatory notes on params may easily be found in MSDN. ...

Wednesday, February 27, 2013

Using map() in Python 3

A: python 2.6: >>> map(chr,[66,53,0,94]) ['B', '5', '\x00', '^'] However, on 3.1, the above returns a map object. B: python 3.1: >>> map(chr,[66,53,0,94]) <map object at 0x00AF5570> To return a list in Python 3 the following should be used: list(map(chr,[66,53,0,94]...

Thursday, February 21, 2013

Accessing class from another module in Ruby on Rails

Modules in Ruby on Rails are not autoloadable in Ruby on Rails application. Some hints on how to use a class from another module. 1. To make a module autoloadable the corresponding line should be commented out in application.rb # Custom directories with classes and modules you want to be autoloadable. # config.autoload_paths += %W(#{config.root}/extras) 2. Just use "::" before the class 3. Include the module in a code where the class is supposed to be used...

Certificate errors when using RVM to install Ruby

Fixing $PATH: http://www.troubleshooters.com/linux/prepostpath.htm Curl Certificate Error when Using RVM to install Ruby 1.9.3 From here: http://stackoverflow.com/questions/6414232/curl-certificate-error-when-using-rvm-to-install-ruby-1-9-2 http://stackoverflow.com/questions/8612067/rvm-installation-fails More on this: DigiCert Trusted Root Authority Certificates: https://www.digicert.com/digicert-root-certificates.htm https://github.com/mxcl/homebrew/issues/6103 Tryng to installing RVM on Mac OS (Leopard): bash << (curl https://raw.github.com/ajiwo/rvm/targtar/binscripts/rvm-installer)  bash << (curl...

Powered by Blogger.