**
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
{ | |
"@context": { | |
"@context": { | |
"@vocab": "https://spdci.org/", | |
"schema": "http://schema.org/", | |
"rdfs": "http://www.w3.org/2000/01/rdf-schema#", | |
"xsd": "http://www.w3.org/2001/XMLSchema#", | |
"CRVSPerson": { | |
"@id": "https://spdci.org/CRVSPerson", | |
"@type": "rdfs:Class", |
I hereby claim:
- I am jeremi on github.
- I am jeremi (https://keybase.io/jeremi) on keybase.
- I have a public key ASBISii5wwJm-ASryLAikxxTM5c4CwYG00FZYSFkBwqCIAo
To claim this, I am signing this object:
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
// Let's add a new Email record | |
$parameters = array( | |
'session' => $sessionId, | |
'module' => 'Emails', | |
'name_value_list' => array( | |
array('name' => 'name', 'value' => 'email body'), | |
array('name' => 'from_addr', 'value' => '[email protected]'), | |
array('name' => 'to_addrs', 'value' => '[email protected]'), | |
array('name' => 'date_sent', 'value' => gmdate("Y-m-d H:i:s")), | |
array('name' => 'description', 'value' => 'This is an email created from a REST web services call'), |
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
from selenium.common.exceptions import NoSuchElementException, TimeoutException | |
class DomHelper(object): | |
driver = None | |
waiter = None | |
def open_page(self, url): | |
self.driver.get(url) |
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
import unittest | |
import datetime | |
from sys import * | |
from selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
import login_dom | |
class BaseTests(unittest.TestCase): |
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
from selenium import webdriver | |
def select_from_chosen(driver, id, value): | |
chosen = driver.find_element_by_id(id + '_chzn') | |
results = chosen.find_elements_by_css_selector(".chzn-results li") | |
found = False | |
for result in results: | |
if result.text == value: |
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
AS.AutoResizeTextAreaView = SC.TextFieldView.extend( | |
/** @scope AS.AutoResizeTextAreaView.prototype */ { | |
isTextArea: YES, | |
layout: {minHeight: 50}, | |
didCreateLayer: function() { | |
sc_super(); | |
this.initAutoResize(); | |
}, |
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
diff --git a/frameworks/foundation/views/upload.js b/frameworks/foundation/views/upload.js | |
index 0447687..90f534f 100644 | |
--- a/frameworks/foundation/views/upload.js | |
+++ b/frameworks/foundation/views/upload.js | |
@@ -11,6 +11,46 @@ | |
@author Evin Grano | |
*/ | |
+// Add the bind() function to the Function prototype. | |
+SC.mixin(Function.prototype, { |
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 Newtonsoft.Json.Linq; | |
using System.IO; | |
namespace ConsoleApplication1 | |
{ |
NewerOlder