background preloader

Zoheb

Facebook Twitter

Storm Documentation. In this tutorial, you’ll learn how to create Storm topologies and deploy them to a Storm cluster.

Storm Documentation

Java will be the main language used, but a few examples will use Python to illustrate Storm’s multi-language capabilities. Preliminaries This tutorial uses examples from the storm-starter project. It’s recommended that you clone the project and follow along with the examples. Read Setting up a development environment and Creating a new Storm project to get your machine set up.

Components of a Storm cluster A Storm cluster is superficially similar to a Hadoop cluster. There are two kinds of nodes on a Storm cluster: the master node and the worker nodes. Each worker node runs a daemon called the “Supervisor”. All coordination between Nimbus and the Supervisors is done through a Zookeeper cluster. Topologies To do realtime computation on Storm, you create what are called “topologies”. Creating a Basic Windows Service in C# Download source - 3.78 Kb Introduction Do a search some time on Google for Services and C#, and you'll come across a lot of ASP.NET references for web services.

Creating a Basic Windows Service in C#

Not very useful for a beginner looking for info on Windows Services! I've had this very problem, so I decided to do it myself, the old-fashioned way. ViewStateUserKey and "Invalid_Viewstate" when posting back during Forms Authentication. Troubleshooting Expired ASP.NET Session State and Your Options. My TurboTax. Getting. Learn.knockoutjs.com. In this first tutorial you'll experience some of the basics of building a web UI with the Model-View-ViewModel (MVVM) pattern using knockout.js.

learn.knockoutjs.com

You'll learn how to define a UI's appearance using views and declarative bindings, its data and behavior using viewmodels and observables, and how everything stays in sync automatically thanks to Knockout's dependency tracking (even with arbitrary cascading chains of data). Using bindings in the view In the bottom-right corner, you've got a viewmodel containing data about a person.

In the top-right corner, you've got a view that's supposed to display the person data. Right now it just displays "todo", so let's fix that. Modify the two <strong> elements in the view, adding data-bind attributes to display the person's name: <p>First name: <strong data-bind="text: firstName"></strong></p><p>Last name: <strong data-bind="text: lastName"></strong></p> Running the code.

Evangelist on the loose. 44 Silverlight Videos - Joe Stagner - Frustrated by Design ! Json2csharp - generate c# classes from json. Oracle Connection String Samples. Using ADO, these properties would have been set as a property on the command.

Oracle Connection String Samples

This is not possible if using the Microsofts OLE DB .NET Data Provider. So the properties are specified in the connection string instead. PLSQLRSet: If the stored procedure, provided by the consumer, returns a rowset, PLSQLRSet must be set to TRUE (enabled). NDatatype: This property allows the consumers to specify whether any of the parameters bound to the command are of Oracle's N datatypes (NCHAR, NVARCHAR or NCLOB). This information is required by OraOLEDB to detect and bind the parameters appropriately. SPPrmsLOB: This property allows the consumer to specify whether one or more of the parameters bound to the stored procedures are of Oracle's LOB datatype (CLOB, BLOB, or NCLOB). Oracle/PLSQL. Oracle is a relational database technology developed by Oracle.

Oracle/PLSQL

PLSQL stands for "Procedural Language extensions to SQL", and is an extension of SQL that is used in Oracle. PLSQL is closely integrated into the SQL language, yet it adds programming constructs that are not native to SQL. Oracle Programming/SQL Cheatsheet. This "cheat sheet" covers most of the basic functionality that an Oracle DBA needs to run basic queries and perform basic tasks.

Oracle Programming/SQL Cheatsheet

It also contains information that a PL/SQL programmer will frequently use to write stored procedures. The resource is useful as a primer for individuals who are new to Oracle, or as a reference for those who are experienced at using Oracle. A great deal of information about Oracle exists, scattered throughout the net. This resource was developed in order to make it easier for programmers and DBAs to find most of the basics in one place. When a topic is beyond the scope of a "cheatsheet" a link is generally provided for further research. Other Oracle References. Khan Academy. Financial Dictionary. Google. Browser back button issue after logout. Well, I found a lot of people asking for a resolution to handle the browser's back button once user has logged out.

Browser back button issue after logout

Typically, users report something like: Optimizer. RequireJS has an optimization tool that does the following Combines related scripts together into build layers and minifies them via UglifyJS (the default) or Closure Compiler (an option when using Java).Optimizes CSS by inlining CSS files referenced by @import and removing comments.

Optimizer

The optimizer is part of the r.js adapter for Node and Rhino, and it is designed to be run as part of a build or packaging step after you are done with development and are ready to deploy the code for your users. The optimizer will only combine modules that are specified in arrays of string literals that are passed to top-level require and define calls, or the require('name') string literal calls in a simplified CommonJS wrapping. So, it will not find modules that are loaded via a variable name: var mods = someCondition ? But 'a' and 'b' will be included if specified like so: Installing and Running node.js applications within IIS on Windows - Are you mad? Samples. SecuringErrorLogPages - elmah - How to securely the error log pages from unauthorized users - Error Logging Modules and Handlers for ASP.NET. You can secure ELMAH's display or feeds in two ways: Enabling or disabling remote access Granting or denying access via ASP.NET authorization Both of these are discussed in the sub-sections that follow.

SecuringErrorLogPages - elmah - How to securely the error log pages from unauthorized users - Error Logging Modules and Handlers for ASP.NET

Why is this so important? See ASP.NET session hijacking with Google and ELMAH. Enabling or Disabling Remote Access ELMAH provides a configuration section and a setting to enable or disable remote access to the error log display and feeds. Remote access is enabled when the value of the allowRemoteAccess attribute is either 1, yes, true or on. Note: Make sure you have declared the expected configuration sections in order to apply the above configuration. ASP.NET MVC from Basics to Tips and Tricks. I had a great time speaking at the Fort Smith .NET User Group last week.

ASP.NET MVC from Basics to Tips and Tricks

ASP.NET MVC is a subject that I am very passionate about. I recently had the pleasure of developing an e-commerce website for Wolff Wire – Office Organizers using this technology. Writing Fast, Memory-Efficient JavaScript. Advertisement JavaScript engines such as Google’s V81 (Chrome, Node) are specifically designed for the fast execution2 of large JavaScript applications. As you develop, if you care about memory usage and performance, you should be aware of some of what’s going on in your user’s browser’s JavaScript engine behind the scenes. You should, however, ask yourself questions such as: Is there anything I could be doing more efficiently in my code? What (common) optimizations do popular JavaScript engines make? The Node Beginner Book » A comprehensive Node.js tutorial. CSS3 Media Queries. CSS2 allows you to specify stylesheet for specific media type such as screen or print. Now CSS3 makes it even more efficient by adding media queries.

You can add expressions to media type to check for certain conditions and apply different stylesheets. For example, you can have one stylesheet for large displays and a different stylesheet specifically for mobile devices. It is quite powerful because it allows you to tailor to different resolutions and devices without changing the content. Continue on this post to read the tutorial and see some websites that make good use of media queries.

jQuery Mobile. Codiqa - the jQuery Mobile Prototype Builder. Whitepapers. On this page you will find whitepapers to help you install and configure ASP.NET, and to assist you to write secure, fast and flexible ASP.NET applications. Information related to ASP.NET 4 and Visual Studio 2010. ASP.NET MVC 4 Release Notes This document describes new features and improvements introduced in the ASP.NET MVC 4 Developer Preview for Visual Studio 2010, as well as installation notes and known issues. User Authentication in ASP.NET 2.0. CoreCoder User Authentication in ASP.NET 2.0 What s New in the Way of Authenticating Users in ASP.NET 2.0 Internet Applications By Dino Esposito Experts and gurus agree that the most secure application is the application that survives and resists actual attacks, not the application designed to prevent and stop possible attacks.

A concrete example of this empiric rule is that you need to choose the proper authentication scheme based on the characteristics of the application. Rajesh natarajan. Tips & Tricks for ASP.NET, IIS, and Visual Web Developer. Delegates in C# - Attempt to look inside. Part 4. Background This is my fourth article about delegates. I encourage you to read the first three: C#/.NET Fundamentals: Choosing the Right Collection Class. The .NET Base Class Library (BCL) has a wide array of collection classes at your disposal which make it easy to manage collections of objects.

File Income Tax Return Online in India for Free in 10 Minutes. FAE: Run FAE. Ember.js - Documentation. Moment.js Documentation. Moment(String, String); moment(String, String, String); moment(String, String, Boolean); moment(String, String, String, Boolean); If you know the format of an input string, you can use that to parse a moment. moment("12-25-1995", "MM-DD-YYYY"); The parser ignores non-alphanumeric characters, so both of the following will return the same thing. moment("12-25-1995", "MM-DD-YYYY"); moment("12\25\1995", "MM-DD-YYYY"); The parsing tokens are similar to the formatting tokens used in moment#format.

Untitled Page. User Profiles on Windows Server 2008 R2 Remote Desktop Services - Remote Desktop Services (Terminal Services) Team Blog. ASP.NET Tips: What to gather to troubleshoot – part 1 – High CPU or Hang - ASP.NET Debugging. .NET Memory usage - A restaurant analogy - If broken it is, fix it you should. jQuery postMessage: Cross-domain scripting goodness. jQuery postMessage enables simple and easy window.postMessage communication in browsers that support it (FF3, Safari 4, IE8), while falling back to a document.location.hash communication method for all other browsers (IE6, IE7, Opera). Health Monitoring in ASP.NET 3.5. ASP.NET web application security review: Do's & Don'ts. Table of Contents.

Beginner's Guide: Exploring IIS 6.0 With ASP.NET. Table of Contents. ASP.NET State Management: View State. The 21 most popular blog posts - If broken it is, fix it you should. Assemblies in .NET. Strong Names Explained. ASP.NET Wiki: Architecture: Design Patterns. Object Oriented Concepts in C# State Management and ways to handle Cache in Web Farm/Web Garden scenario « Brij's arena of .NET. Inversion of Control and Dependency Injection with Castle Windsor Container - Part I. Error Handling in .Net with Example - Asp.Net, C#, SQL Blog. iPhone 4 and iPad micro SIM DIY: Trim your SIM. C# Object Clone Wars : C# 411.

Graphs ASPNET

YouTube Video Player. Android. CSS. C# Javascript. LINQ and lemda expressions. JQuery. Technical Funda's. SWF Objects. General Topics. ASP.NET. Testing.