This file contains hidden or 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
import sublime | |
import sublime_plugin | |
class RunBuildCommand(sublime_plugin.WindowCommand): | |
def run(self, build_system): | |
self.window.run_command( "set_build_system", {"file": "Packages/User/"+build_system+".sublime-build" } ) | |
self.window.run_command( "build" ) |
This file contains hidden or 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
[Test, TestMethod] | |
public void TestArabic() | |
{ | |
bool done = false; | |
string content = null; | |
CQ dom; | |
CQ.CreateFromUrlAsync("http://www.ahram.org.eg/Stars-Arts/News/194972.aspx") | |
.Then(response => |
This file contains hidden or 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 static class MethodInfoExtensions | |
{ | |
/// <summary> | |
/// Return the method signature as a string. | |
/// </summary> | |
/// | |
/// <param name="property"> | |
/// The property to act on. | |
/// </param> | |
/// |
This file contains hidden or 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 class JsObject : DynamicObject, IDictionary<string, object>, IEnumerable<KeyValuePair<string, object>> | |
{ | |
public JsObject() | |
{ | |
Initialize(); | |
} | |
public JsObject(object missingPropertyValue) | |
{ | |
Initialize(); |
This file contains hidden or 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
namespace CreditCards | |
{ | |
public class CardValidation | |
{ | |
public bool VerifyDate = true; | |
public string CardName; | |
public string CCNumber; | |
public string CCCSV; | |
public string CCName; | |
public string CCExp; |
NewerOlder