(One needs some form of browser normalization so that modern features works, no-one is doubting that).
Related: [jQuery library critique][2]
using ESRI.ArcGIS.Geometry; | |
using GisSharpBlog.NetTopologySuite.IO; | |
namespace Spatial.Formats | |
{ | |
/// <summary> | |
/// This class is used to convert a GeoAPI Geometry to ESRI and vice-versa. | |
/// It can also convert a ESRI Geometry to WKB/WKT and vice-versa. | |
/// </summary> | |
/// <remarks>Copied wholesale from this forum post, then converted to |
//'using' System.Data.SQLite; | |
using (DbConnection connection = new SQLiteConnection("Data Source=" + database)) { | |
connection.Open(); // load the extension | |
using (DbCommand command = connection.CreateCommand()) { | |
//Load the libspatialite library extension - *.dll on windows, *.a on iOS | |
command.CommandText = "SELECT load_extension('libspatialite-2.dll');"; | |
command.ExecuteNonQuery(); // Run queries here | |
} | |
} |
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
username = pksunkara | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Data.SqlClient; | |
using Dapper; | |
// to have a play, install Dapper.Rainbow from nuget |
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | |
<Style | |
x:Key="ButtonFocusVisual"> | |
<Setter | |
Property="Control.Template"> | |
<Setter.Value> | |
<ControlTemplate> | |
<Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2" /> | |
</ControlTemplate> |
# Script for automatic setup of SOCKS proxy through SSH connection. | |
# It automatically teardowns SOCKS configuration before stopping. | |
# It's supposed to work on Mac OS X 10.6+ | |
# | |
# Author: Adam Stankiewicz (@sheerun) | |
# | |
[[ -n "$1" ]] || { echo "Usage: proxy user@example.com"; exit 1; } | |
# get service GUID and NAME (like Wi-Fi) to set SOCKS proxy |
using System; | |
namespace RaDecToAltAz | |
{ | |
/// <summary> | |
/// Explenation of the calculations at http://www.stargazing.net/kepler/altaz.html | |
/// </summary> | |
class RaDecToAltAz | |
{ | |
double RA = 250.425; // 16 h 41.7 m * 15 |
function Foo(who) { | |
this.me = who; | |
} | |
Foo.prototype.identify = function() { | |
return "I am " + this.me; | |
}; | |
function Bar(who) { | |
Foo.call(this,"Bar:" + who); |