CURL – Cheat Scheet
1 2 3 4 |
// Authorization curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); |
Weiterlesen
1 2 3 4 |
// Authorization curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); |
Weiterlesen
2-way Data Binding in Templates http://peterkaptein.com/work/underscore.html https://peterkaptein.wordpress.com/2013/12/03/2-way-data-binding-with-underscore-and-jquery/
Weiterlesenvar tree = SentenceTree.getInstance(); var inst = $.jstree.reference(data.reference); tree.get_selected(); tree.get_node(nodeid); tree.get_children(node); tree.get_path(id, false, true); // path ids as array tree.delete_node(node); tree.delete_node(node); tree.select_node(node, true, false); // supress_event tree.is_selected(obj) tree.deselect_all(); tree.refresh(true, false) $(this.ele).jstree(true).get_json(‚#‘, {flat:false, no_state:true}); //open Tree.tree.jstree(‚open_node‘, id, function(){ Tree.tree.jstree(’select_node‘, selected_id, true, false); // select_node without event trigger }); // load Tree.tree.jstree(‚load_node‘, id, function(){ //open Tree.tree.jstree(‚open_node‘, id, […]
WeiterlesenJavascript lernen dofactory.com tutorial – javascript advanced objects
WeiterlesenWortschatz API Language Tool API Wordnik.com OpenThesaurus Weitere APIS https://dandelion.eu/docs/api/datatxt/sim/v1/
WeiterlesenTestcases
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
describe('Testcases', function(){ /*------------------------------------------------------------------ before ------------------------------------------------------------------*/ before(function(){ // actions for dem Testcase }); /*------------------------------------------------------------------ Testcase A ------------------------------------------------------------------*/ it('Testcase A', function (done) { // test code here }); /*------------------------------------------------------------------ Testcase B ------------------------------------------------------------------*/ it('Testcase B', function (done) { // test code here }); }); |
URL aufrufen und Screenshot erstellen
1 2 3 4 5 |
browser .url(page.href) .pause(1000) .saveScreenshot('./screenshots/filename.png') .call(done) |
Browser Größe bzw. Viewport ändern
1 2 3 |
browser .setViewportSize({width: 800, height: 600}, false) .windowHandleSize({width: width, height: height}); |
Weiterlesen
Pita Pizza ByThomas Eses „Pizza ist einfach geht schnell und ist lecker!“ 1 Serving Prep Time: 5 Min Cook Time: 15 Min Ready In: 20 Min Ingredients 1 pita bread round 5 ml olive oil 45 ml pizza sauce 55 g shredded mozzarella cheese 25 g sliced crimini mushrooms 0.7 g garlic salt Directions Preheat […]
Weiterlesen
1 2 3 |
.element { margin: 10px 0 (@variable * 2) 10px; } |
Browser Prefixe
1 2 3 4 5 |
.background-size(@args) { background-size: @args; -webkit-background-size: @args; -moz-background-size: @args; } |
Variablen
1 2 |
@orange: #f50; @lightgrey: #ccc; |
Weiterlesen
Google Maps API Reference – Data class Libraries OpenLayers.js — OpenLayers Map Viewer Library
Weiterlesen