Pause
۱۳۸۸/۰۹/۰۹ ۲۲:۰۱ منتشر شده در تاریخ : ۱۳۸۸/۰۹/۰۹ دسته بندی : روزنوشت 2
امیدوارم این وقفه زیاد طول نکشه.
۱۳۸۸/۰۹/۰۸ ۰:۱۱ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۹/۰۸ دسته بندی : آموزشی ، FireFox ، SalarBlog ، Web Development 3
<html>
<body style="direction:ltr">
<p style="text-align:start">Left side of page.</p>
</body>
</html>
<html>
<body style="direction:rtl">
<p style="text-align:start">Right side of page.</p>
</body>
</html>
۱۳۸۸/۰۸/۲۷ ۲۳:۵۸ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۸/۲۷ دسته بندی : اخبار فناوری ، معرفی ، FireFox ، Google ، SalarBlog 3
۱۳۸۸/۰۸/۰۴ ۱:۴۷ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۸/۰۴ دسته بندی : آموزشی ، ASP.NET ، dotNET Framework ، SalarBlog ، Web Development 2
public static bool HasNonEmptyControls(ContentPlaceHolder cph)
{
if (cph.Controls.Count == 0)
{
return false;
}
else if (cph.Controls.Count == 1)
{
LiteralControl c = cph.Controls[0] as LiteralControl;
if (string.IsNullOrEmpty(c.Text) || IsWhiteSpace(c.Text))
return false;
}
return true;
}
static bool IsWhiteSpace(string s)
{
for (int i = 0; i < s.Length; i++)
if (!char.IsWhiteSpace(s[i]))
return false;
return true;
}
static readonly Type _masterType = typeof(MasterPage);
static readonly PropertyInfo _contentTemplatesProp = _masterType.GetProperty("ContentTemplates", BindingFlags.GetProperty | BindingFlags.NonPublic | BindingFlags.Instance);
public static bool HasContentPageContent(ContentPlaceHolder cph)
{
IDictionary templates = null;
MasterPage master = cph.Page.Master;
while (templates == null && master != null)
{
templates = (IDictionary)_contentTemplatesProp.GetValue(master, null);
master = master.Master;
}
if (templates == null)
return false;
bool isSpecified = false;
foreach (string key in templates.Keys)
{
if (key == cph.ID)
{
isSpecified = true;
break;
}
}
return isSpecified;
}
public static bool HasContentOrControls(ContentPlaceHolder cph)
{
return HasNonEmptyControls(cph) || HasContentPageContent(cph);
}
<%if (HasContentOrControls(plhOptions)){ %>
<div id="options">
<div>
<h2>
<asp:ContentPlaceHolder ID="plhOptionsTitle" runat="server" />
</h2>
<asp:ContentPlaceHolder ID="plhOptions" runat="server" />
</div>
</div>
<%}%>
۱۳۸۸/۰۷/۲۴ ۲۳:۵۱ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۷/۲۴ دسته بندی : ASP.NET ، SalarBlog ، Web Development 0
Hello=cookieValue value; domain=site.org; path=/
Hello=cookieValue value; domain=.site.org; path=/
Hello=cookieValue value; domain=sub.site.org; path=/
Hello=cookieValue value; domain=.sub.site.org; path=/
Hello=CookieValue value; domain=site.org; path=/
Hello=CookieValue value; domain=www.site.org; path=/
private static Type _cookieContainerType = Type.GetType("System.Net.CookieContainer, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089");
private static Type _pathListType = Type.GetType("System.Net.PathList, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089");
///<summary>
/// This method is aimed to fix a goddamn CookieContainer issue,
/// It adds missed path for cookies which are not started with dot.
/// This is a dirty hack
///</summary>
///<remarks>
/// This method is only for .NET 2.0 which is used by .NET 3.0 and 3.5 too.
/// The issue will be fixed in .NET 4, I hope!
///</remarks>
/// Many thanks to CallMeLaNN "dot-net-expertise.blogspot.com" to complete this method
private void BugFix_AddDotCookieDomain(CookieContainer cookieContainer)
{
Hashtable table = (Hashtable)_cookieContainerType.InvokeMember("m_domainTable",
System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.GetField | System.Reflection.BindingFlags.Instance,
null,
cookieContainer,
new object[] { });
ArrayList keys = new ArrayList(table.Keys);
object pathList1;
object pathList2;
SortedList sortedList1;
SortedList sortedList2;
ArrayList pathKeys;
CookieCollection cookieColl1;
CookieCollection cookieColl2;
foreach (string key in keys)
{
if (key[0] == '.')
{
string nonDotKey = key.Remove(0, 1);
// Dont simply code like this:
// table[nonDotKey] = table[key];
// instead code like below:
// This codes will copy all cookies in dot domain key into nondot domain key.
pathList1 = table[key];
pathList2 = table[nonDotKey];
if (pathList2 == null)
{
pathList2 = Activator.CreateInstance(_pathListType); // Same as PathList pathList = new PathList();
lock (cookieContainer)
{
table[nonDotKey] = pathList2;
}
}
// merge the PathList, take cookies from table[keyObj] copy into table[nonDotKey]
sortedList1 = (SortedList)_pathListType.InvokeMember("m_list", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.GetField | System.Reflection.BindingFlags.Instance, null, pathList1, new object[] { });
sortedList2 = (SortedList)_pathListType.InvokeMember("m_list", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.GetField | System.Reflection.BindingFlags.Instance, null, pathList2, new object[] { });
pathKeys = new ArrayList(sortedList1.Keys);
foreach (string pathKey in pathKeys)
{
cookieColl1 = (CookieCollection)sortedList1[pathKey];
cookieColl2 = (CookieCollection)sortedList2[pathKey];
if (cookieColl2 == null)
{
cookieColl2 = new CookieCollection();
sortedList2[pathKey] = cookieColl2;
}
foreach (Cookie c in cookieColl1)
{
lock (cookieColl2)
{
cookieColl2.Add(c);
}
}
}
}
}
}
۱۳۸۸/۰۷/۱۵ ۲۲:۵۶ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۷/۱۵ دسته بندی : معرفی ، Delphi ، Google ، SalarBlog 1
۱۳۸۸/۰۶/۲۰ ۴:۰۱ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۶/۲۰ دسته بندی : برنامه نویسی ، FireFox ، SalarBlog ، Web Development 0
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
۱۳۸۸/۰۶/۱۶ ۰:۵۶ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۶/۱۶ دسته بندی : آموزشی ، SalarBlog 2
۱۳۸۸/۰۶/۰۳ ۳:۲۴ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۶/۰۳ دسته بندی : معرفی ، SalarBlog ، Web Development 3
۱۳۸۸/۰۵/۳۰ ۲۲:۳۰ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۵/۳۰ دسته بندی : اخبار فناوری ، Delphi ، SalarBlog 1
۱۳۸۸/۰۵/۲۰ ۳:۱۰ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۵/۲۰ دسته بندی : SalarBlog ، Web Development 0
transform: rotate;
transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
۱۳۸۸/۰۵/۱۵ ۲:۵۸ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۵/۱۵ دسته بندی : اخبار فناوری ، SalarBlog 0
C#
۱۳۸۸/۰۵/۱۰ ۳:۲۷ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۵/۱۰ دسته بندی : اخبار فناوری ، برنامه نویسی ، حرفه من ، روزنوشت ، SalarBlog 1
۱۳۸۸/۰۵/۰۸ ۲۱:۴۴ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۵/۰۸ دسته بندی : اخبار فناوری ، SalarBlog 0
۱۳۸۸/۰۴/۳۱ ۲۱:۳۶ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۴/۳۱ دسته بندی : آموزشی ، برنامه نویسی ، معرفی ، Google ، SalarBlog ، Web Development 12
۱۳۸۸/۰۴/۲۵ ۴:۲۸ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۴/۲۵ دسته بندی : معرفی ، FireFox ، SalarBlog 0
۱۳۸۸/۰۴/۱۵ ۱۹:۵۴ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۴/۱۵ دسته بندی : آموزشی ، معرفی ، SalarBlog 3
قبل از هر چیز عذر خواهی من رو به خاطر تاخیر یک ماهه بپذیرید. علت آن هم همزمانی چندید رویداد بود که مانع از نوشتن می شد. سعی خواهم کرد در آینده تاخیری پیش نیاید.
Regex Tree and Regex Building Blocks
Regex Tester and Debugger
Instant Code Snippets
RegexBuddy Library
Search and Replace through Files and Folders
Integration with Your Favorite Software
و Toturial
Test expressions against real or sample input data
Display all matches in a tree structure, showing captured groups, and all captures within a group
Build replacement strings and test the match and replace functionality
Highlight matched text in the input data
Test automatically for syntax errors
Generate Visual Basic, C#, or C++ code
Dramatically enhanced Analyzer
Rich new Builder and editing features
۱۳۸۸/۰۳/۲۳ ۱۲:۵۵ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۳/۲۳ دسته بندی : بدون دسته بندی ، روزنوشت ، SalarBlog 5
۱۳۸۸/۰۲/۳۱ ۱۴:۲۰ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۲/۳۱ دسته بندی : Delphi ، Linux ، SalarBlog 2
۱۳۸۸/۰۲/۲۰ ۳:۲۱ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۲/۲۰ دسته بندی : آموزشی ، ASP.NET ، JavaScript ، SalarBlog 3
<link rel="shortcut icon" href="favicon.gif" type="image/gif">
<head>
<title>SalarBlog.wordpress.com Animated Favicons</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.gif" type="image/gif">
</head>
function ChangeFavicon(iconUrl){
var docHead=document.getElementsByTagName('head');
if(docHead!=null && docHead.length>0)
docHead=docHead[0];
else return;
var link = document.createElement("link");
link.type="image/x-icon";
link.href=iconUrl;
link.rel="shortcut icon";
docHead.appendChild(link);
}
ChangeFavicon('favicon-frame1.ico');
ChangeFavicon('favicon-frame2.ico');
ChangeFavicon('favicon-frame3.ico');
۱۳۸۸/۰۲/۰۹ ۲۳:۱۱ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۲/۰۹ دسته بندی : معرفی ، Delphi ، SalarBlog 8
Structure highlighted
قابلیت کار با محیط های:
Delphi 5 6 7, C++Builder 5 6 or BDS 2005 2006, RAD Studio 2007 2009
ویژگی ها:
۱۳۸۸/۰۲/۰۳ ۲:۱۸ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۲/۰۳ دسته بندی : معرفی ، Linux ، SalarBlog 3
۱۳۸۸/۰۲/۰۱ ۲۳:۵۴ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۲/۰۱ دسته بندی : اخبار فناوری ، SalarBlog 1
۱۳۸۸/۰۱/۲۹ ۱۳:۱۵ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۱/۲۹ دسته بندی : معرفی ، FireFox ، JavaScript ، SalarBlog ، Web Development 0
۱۳۸۸/۰۱/۲۷ ۱:۲۱ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۱/۲۷ دسته بندی : معرفی ، Delphi ، SalarBlog 1
۱۳۸۸/۰۱/۱۹ ۲۰:۴۴ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۱/۱۹ دسته بندی : بدون دسته بندی ، معرفی ، SalarBlog 3
۱۳۸۸/۰۱/۱۲ ۱۳:۰۷ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۱/۱۲ دسته بندی : طنز و متفرقه ، SalarBlog 6
۱۳۸۸/۰۱/۰۴ ۱۶:۲۹ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۸/۰۱/۰۴ دسته بندی : برنامه نویسی ، حرفه من ، معرفی ، SalarBlog 5
۱۳۸۷/۱۲/۲۹ ۱۳:۲۲ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۷/۱۲/۲۹ دسته بندی : روزنوشت 5
۱۳۸۷/۱۲/۲۵ ۱۲:۵۷ Salar https://www.blogger.com/profile/08261083424775464146 منتشر شده در تاریخ : ۱۳۸۷/۱۲/۲۵ دسته بندی : روزنوشت ، طنز و متفرقه ، SalarBlog 4