Thursday, April 18, 2013

Finite Element programming in Julia - CodeProject

Illustration of the Finite element method, the...
Illustration of the Finite element method, the computed solution. (Photo credit: Wikipedia)
Intro

A simple finite element code in Julia for solving the 2D Poisson equation over the unit square is presented in this article. The code uses only Julia's standard library and thus does not have any external dependencies. It solves the partial differential equation u,xx + u,yy = -6 over the unit square with the Dirichlet boundary condition u = 1 + x^2 + 2y^2 on the sides of the unit square. The code can however be easily modified to study other instances of the Poisson equation. The unit square is discretized with linear triangular finite elements and the stiffness matrix and load vectors are calculated using a one-point quadrature rule.

Finite Element programming in Julia - CodeProject
Enhanced by Zemanta

How to make a multi-language application in C# - CodeProject

The Microsoft Visual Studio .NET logo.
The Microsoft Visual Studio .NET logo. (Photo credit: Wikipedia)
 Intro to Article

We know that a software prerequisite is that if it is being used all over the world, it must have a multi-language interface because not everyone speaks English. The problem is, how does one create a multi-language software which can edit and add other languages easily?
This article presents a solution to solving this problem using C# and Visual Studio 2008.
First we will present how to create an application in Vietnamese and English. Then we will present the procedure to add other languages (for instance, French).


How to make a multi-language application in C# - CodeProject
Enhanced by Zemanta

Wednesday, April 17, 2013

How to Write Your Own Siri Application (Mobile Assistant Application) - CodeProject

Siri HAL-9000
Siri HAL-9000 (Photo credit: AcidZero)
 Here is a great article about how to write your own apps that are like Apple's Siri.


How to Write Your Own Siri Application (Mobile Assistant Application) - CodeProject
Enhanced by Zemanta

3D solar system with OpenGL and C# - CodeProject

Solar System
Solar System (Photo credit: Joe Plocki (turbojoe))
 Introduction to Article

Hello this is a 3D solar system implementation with OpenGL and C#. I tried to keep it simple because this demo it’s only for educational purposes. It contains the sun, the planets, our moon, the planet’s orbit and some stars. It is programmed in Visual Studio 2008 and I have upgraded it to Visual Studio 2010 without any kind of issue.  I used for this demo the TAO namespace which it’s an interop between the OpenGL dll and the .NET Framework. I also used Shadowengine, a small graphic framework developed by me to get rid you of the tedium of hard coding the loading of textures, the initialization of the graphic context among others. 

3D solar system with OpenGL and C# - CodeProject
Enhanced by Zemanta

Display Twitter statuses in Android - CodeProject

Image representing Twitter as depicted in Crun...
Image via CrunchBase
This article will display Twitter statuses in Android.

Display Twitter statuses in Android - CodeProject
Enhanced by Zemanta

Integrate Tumblr into C#.NET Website - CodeProject

sid05.tumblr.com
sid05.tumblr.com (Photo credit: Sid05)
Here is an article on how to integrate Tumblr into a website.  Great stuff!

Integrate Tumblr into C#.NET Website - CodeProject
Enhanced by Zemanta

Monday, April 15, 2013

What Makes Google Glass Work [Infographic]



What Makes Google Glass Work [Infographic]

Querying Wireless Settings and Decrypting Wireless Key - CodeProject

Introduction to Article

The attached sample application queries and displays the wireless settings of the connected wireless interface and lists the available networks. The code itself is self-explanatory. The only area that needs some explanation is the part that decrypt's the key cipher text. If you are in Windows 7 or above, then you will be getting the wireless key as plain text and no need to decrypt.  If you are in Windows Vista, you will be getting the wireless key as a cipher text and needs to decrypt.  For the decryption to work, it is good to run as administrator.

Querying Wireless Settings and Decrypting Wireless Key - CodeProject

Thursday, April 11, 2013

registry - Returning value from HKCR using Powershell - Stack Overflow

English: Screenshot of Windows PowerShell 1.0 ...
English: Screenshot of Windows PowerShell 1.0 Deutsch: Screenshot von Windows PowerShell 1.0 فارسی: عکس صفحه‌ی نمایش از ویندوز پاورشل نسخه‌ی 1.0 Русский: Сессия в Windows PowerShell (Photo credit: Wikipedia)
Use PowerShell to read the HKCR  registries inWindows.

registry - Returning value from HKCR using Powershell - Stack Overflow
Enhanced by Zemanta

powershell - How to pass credentials to the Send-MailMessage command for sending emails - Stack Overflow

WIndows PowersHell
WIndows PowersHell (Photo credit: Eifion)
Here is a good article with information about how to pass username and password using PowerShell. to send E-Mail.

powershell - How to pass credentials to the Send-MailMessage command for sending emails - Stack Overflow
Enhanced by Zemanta

Tuesday, April 9, 2013

Powershell - Check for Registry value and change if not correct

English: Screenshot of Windows PowerShell 1.0 ...
English: Screenshot of Windows PowerShell 1.0 Deutsch: Screenshot von Windows PowerShell 1.0 فارسی: عکس صفحه‌ی نمایش از ویندوز پاورشل نسخه‌ی 1.0 Русский: Сессия в Windows PowerShell (Photo credit: Wikipedia)
Need to use PowerShell to read the Windows Directory? Yeah. Me too. The following article gives good advice.

Powershell - Check for Registry value and change if not correct
Enhanced by Zemanta

Hey, Scripting Guy! How Can I Check for the Presence or Absence of a Text File? - Hey, Scripting Guy! Blog - Site Home - TechNet Blogs

Windows PowerShell ISE, with multiple open Pow...
Windows PowerShell ISE, with multiple open PowerShell sessions (RunSpaces) in the Windows PowerShell 2.0 (Photo credit: Wikipedia)
This article tells you how to check to see if a file exists using PowerShell. 

Hey, Scripting Guy! How Can I Check for the Presence or Absence of a Text File? - Hey, Scripting Guy! Blog - Site Home - TechNet Blogs
Enhanced by Zemanta

Creating Text Files - Power Tips - PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources

WIndows PowersHell
WIndows PowersHell (Photo credit: Eifion)
Here are some articles that are great for making text files using PowerShells

Creating Text Files - Power Tips - PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources


Enhanced by Zemanta

Sending email using Powershell script - SharePoint and Others - Site Home - MSDN Blogs

English: Screenshot of Windows PowerShell 1.0 ...
English: Screenshot of Windows PowerShell 1.0 Deutsch: Screenshot von Windows PowerShell 1.0 فارسی: عکس صفحه‌ی نمایش از ویندوز پاورشل نسخه‌ی 1.0 Русский: Сессия в Windows PowerShell (Photo credit: Wikipedia)
Here is an article for how to use Powershell to send e-mail

Sending email using Powershell script - SharePoint and Others - Site Home - MSDN Blogs

This article is good for sending e-mail with attachments.

Send an email with an attachment using PowerShell
Enhanced by Zemanta

syntax - How do you comment out code in Powershell? - Stack Overflow

Windows PowerShell ISE, with multiple open Pow...
Windows PowerShell ISE, with multiple open PowerShell sessions (RunSpaces) in the Windows PowerShell 2.0 (Photo credit: Wikipedia)
Here is a great article about how to add comments in PowerShell!

syntax - How do you comment out code in Powershell? - Stack Overflow
Enhanced by Zemanta

Powershell Multidimensional Arrays - Stack Overflow

Windows PowerShell ISE, with multiple open Pow...
Windows PowerShell ISE, with multiple open PowerShell sessions (RunSpaces) in the Windows PowerShell 2.0 (Photo credit: Wikipedia)
Ever needed to use multi-dimensional arrays  in Power Sheel? Me too. This article helps!

Powershell Multidimensional Arrays - Stack Overflow
Enhanced by Zemanta

How to backup application event log to .evtx file using powershell

WIndows PowersHell
WIndows PowersHell (Photo credit: Eifion)
Here is advice how to use Powershell to back up an event log!

How to backup application event log to .evtx file using powershell
Enhanced by Zemanta

Sunday, April 7, 2013

Embedding lua in web page on android - CodeProject

Introduction to article

Integrating a web server in android application can increase its flexibility, because it gives more interactive with other terminals. For web server, programmers need write web pages and these pages should be able to interoperate with host application. This article introduces an idea to embed lua in web page as dynamic language at server side and gives an example written based on starcore and SRPSHtmlEnvEngine, which is an embeddable web server supports http get and http post request.

Embedding lua in web page on android - CodeProject
Enhanced by Zemanta

Wednesday, April 3, 2013

MP3 ID3 Tags Automatically Added, using filename via drag and drop. - CodeProject

ID3 Tag edit in iTunes
ID3 Tag edit in iTunes (Photo credit: jutecht)
 Introduction

 In any case, this project was done to meet a need that I have had. Whenever I rip CDs or download them from the web (oh my...), I always take the time to name the file in a way that is meaningful to me (i.e. "Artist - Song Title.MP3") but media player, winamp and most popular MP3 players require more. They require the ID3 tag to contain the information as well. It is not always convenient or desirable to pull the information from the web, so I decided to write an app that utilizes the information from the filename to populate the ID3 tag.

MP3 ID3 Tags Automatically Added, using filename via drag and drop. - CodeProject
Enhanced by Zemanta

Development of iPhone client application for SharePoint 2013 - CodeProject

Image representing iPhone as depicted in Crunc...
Image via CrunchBase
From Introduction to Article

 develop an iPhone client for Microsoft SharePoint 2013.
Our application will authenticate to SharePoint and read the contents of a list provided by the SharePoint REST API.

Development of iPhone client application for SharePoint 2013 - CodeProject
Enhanced by Zemanta

sql server 2005 - sql query to return differences between two tables - Stack Overflow

Stack Overflow logo
Stack Overflow logo (Photo credit: Wikipedia)
Here is a good little article about how to write an SQL query to find the differences between two tables

SELECT A.*, B.*
FROM A
    FULL JOIN B ON (A.C = B.C)
WHERE A.C IS NULL OR B.C IS NULL
 
Where A and B are table names; C is the common field 

sql server 2005 - sql query to return differences between two tables - Stack Overflow
Enhanced by Zemanta