This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public double calculate(string expr) | |
{ | |
// Try to replace things with Math | |
string[] mathfunktions = this.mathfunktions().Select(x => x.Name).ToArray(); | |
foreach (var item in mathfunktions) | |
{ | |
if (expr.ToLower().Contains(item.ToLower())) | |
{ | |
string exprlocal = expr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Net; | |
using System.Threading; | |
namespace Derp | |
{ | |
class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- vars | |
DECLARE @tableName NVARCHAR(255), @columnName NVARCHAR(255), @prevTable NVARCHAR(255), @prevColumn NVARCHAR(255), @sql NVARCHAR(255) | |
-- Start | |
DECLARE tablesCurser CURSOR FAST_FORWARD READ_ONLY FOR | |
SELECT name FROM sys.tables WHERE is_ms_shipped = 0 | |
OPEN tablesCurser | |
FETCH NEXT FROM tablesCurser INTO @tableName | |
WHILE @@FETCH_STATUS = 0 | |
BEGIN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "SPI.h" | |
#include "Ethernet.h" | |
#include "WebServer.h" // https://github.com/sirleech/Webduino | |
#include "Clock.h"; // http://www.blueleafsoftware.com/Resources/EmbeddedSand/Clock_library | |
byte ArduinoMAC[] = {0x90, 0xA2, 0xDA, 0x0D, 0xB7, 0xFA}; | |
IPAddress ArduinoIP(10, 15, 11, 12); | |
Clock g_Clock; | |
WebServer webserver("", 80); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select sys.objects.name, sys.objects.type_desc, LEN(OBJECT_DEFINITION(object_id)) - LEN(REPLACE(OBJECT_DEFINITION(object_id), CHAR(13)+CHAR(10), ' ')) +1 as lines from sys.objects where is_ms_shipped = 0 AND OBJECT_DEFINITION(object_id) IS NOT NULL order by lines DESC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
• Web sites | |
○ Translation System | |
§ Crowdsourcing | |
§ Azure | |
§ Formats | |
□ Resx | |
□ Strings.xml (Android) | |
○ Server Management | |
§ Charts, Interactive console, custom plugins for applications | |
§ An always returning idea. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private class TestCase : IDisposable | |
{ | |
public string TestName | |
{ | |
get | |
{ | |
return testName; | |
} | |
} | |
private string testName; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://192.168.200.114/SilverlightFileSystemWrapper.Web/SilverlightFileSystemWrapperTestPage.aspx |