Skip to content

Instantly share code, notes, and snippets.

View apoStyLEE's full-sized avatar

Abdullah Uğraşkan apoStyLEE

View GitHub Profile
//paste developer console.
var ocv = document.querySelector("#ID-overviewCounterValue");
ocv.addEventListener('DOMSubtreeModified', function () {
document.title = ocv.innerText;
}, false);
; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
; semicolon, such as this one, are comments. They are not executed.
; This script has a special filename and path because it is automatically
; launched when you run the program directly. Also, any text file whose
; name ends in .ahk is associated with the program, which means that it
; can be launched simply by double-clicking it. You can have as many .ahk
; files as you want, located in any folder. You can also run more than
; one .ahk file simultaneously and each will get its own tray icon.
<h1>jQuery custom animations</h1>
<hr>
<div class=outer>
<div class=box>Foo Bar</div>
</div>
<div class="area">
<input type=button value="flash" id=flash>
public static string GetIpAdress()
{
if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.ServerVariables["remote_addr"]))
{
return "127.0.0.1";
}
else
{
return System.Web.HttpContext.Current.Request.ServerVariables["remote_addr"].ToString();
}
@apoStyLEE
apoStyLEE / gist:1008016
Created June 4, 2011 16:03
Connection Strings
<!-- mssql -->
<add name="csName" connectionString="Server=localhost;Database=dbName;User ID=sa;Password=pass;" providerName="System.Data.SqlClient" />
<!-- sql compact 4 -->
<add name="csName" connectionString="Data Source=|DataDirectory|\db.sdf" providerName="System.Data.SqlServerCe.4.0" />