- A Github account
- Your preferred IDE or text editor
- Virtualbox
- Vagrant 1.8.6
- Ansible 2.0.2.0
| #!/bin/bash | |
| if [ $# -lt 2 ]; then | |
| echo "Usage : $0 port-nr device" | |
| exit | |
| fi | |
| if [ "$2" = "uap" ]; then | |
| MAC=ma:co:fu:ap | |
| else |
| tell application "System Events" to tell process "Xcode" | |
| click menu item "cli-spoof-location" of menu 1 of menu item "Simulate Location" of menu 1 of menu bar item "Debug" of menu bar 1 | |
| end tell |
| function prepareItem(data) { | |
| var item = { | |
| properties: { | |
| itemId: data.get('id') | |
| }, | |
| template: 'default', | |
| title: { | |
| text: "undefined" != typeof data.get("title") ? data.get("title") : '' | |
| } | |
| }; |
| <?php | |
| add_filter('rest_post_query', [$this, 'sortByDate'], 10, 2); | |
| public function sortByDate($args, $request) | |
| { | |
| if ($args['post_type'] !== 'event') { | |
| return $args; | |
| } |
| -- Theme generated by vim2theme | |
| Description = "vim darcula" | |
| Default = { Colour="#a9b7c6" } | |
| Canvas = { Colour="#2b2b2b" } | |
| Number = { Colour="#6897bb" } | |
| Escape = { Colour="#cc7832" , Italic=true} | |
| String = { Colour="#a5c25c" } | |
| BlockComment = { Colour="#808080" } |
| [INFO] [object DeMarcelpociotCollectionviewModule] loaded | |
| [INFO] configureHeaders called | |
| [INFO] setHeaderFooter called | |
| [INFO] Registering class for identifier fullItem | |
| [INFO] [object DkNappDrawerModule] loaded | |
| [INFO] frameSizeChanged | |
| [INFO] frameSizeChanged:search !isActive | |
| [INFO] Section count: 1 | |
| [INFO] Item count: 2 | |
| [INFO] sizeForItemAtIndexPath |
I hereby claim:
To claim this, I am signing this object:
| $client = new Solarium_Client($config); | |
| $query = $client->createSelect(); // get a select query instance | |
| $query->addFilterQuery(array('key'=>'supplier', 'query'=>'supplier:1', 'tag'=>'inner')); | |
| $query->addFilterQuery(array('key'=>'brand', 'query'=>'brand:audi', 'tag'=>'inner')); | |
| $query->addFilterQuery(array('key'=>'model', 'query'=>'model:A4', 'tag'=>'outer')); | |
| $facets = $query->getFacetSet(); // get access to the facetset options | |
| $facets->createFacetField(array('field'=>'model', 'exclude'=>'outer')); | |
| $client->select($query); |
| <?php | |
| $conn = oci_connect('username', 'password', 'xxx.xxx.xxx.xxx:1521/instancename'); | |
| if (!$conn) { | |
| $e = oci_error(); | |
| trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR); | |
| } | |
| // connect to the dual table for testing purposes | |
| $stid = oci_parse($conn, 'SELECT * FROM dual'); | |
| oci_execute($stid); |