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
[{"tytul":"Historia Pcimia Dolnego","autor":"Jan Nowak","cena":55},{"tytul":"Potrawy z trawy","autor":"Kazimierz Vege","cena":42},{"tytul":"Mi\u0119sny Je\u017c - przepisy keto","autor":"Rafa\u0142 Rze\u017anik","cena":74},{"tytul":"Nobody is perfect","autor":"Steven Nobody","cena":15}] |
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
# mutation section | |
# Write your query or mutation here | |
mutation publishPage($var:ID!) { | |
publishPage(pageId: $var) { | |
id | |
} | |
} | |
# Query variables section, where long string is a pageId from db | |
{ |
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
# QUERY AND MUTATION | |
query authors { | |
authors(first:5, offset:97) { | |
id, | |
firstName, | |
lastName | |
} | |
} | |
mutation createAuthor($inputPage:CreateAuthorInput!) { |
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
const program = require("commander"); | |
const { spawn } = require('child_process'); | |
program | |
.version("1.0") | |
.description("Test AVA with tags") | |
.name("test:tag") | |
.option("-t, --tags <tags>", "Tags provided with comma") | |
.parse(process.argv); |
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
# test name: "User gets auto generated id | Tags: (tag-sol3-000;tag-user)" | |
# branch name: "sol3-000-branch-description(tag-sol3-000;tag-user)" | |
# Get branch name. | |
branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p') | |
# Extract tags. | |
tags=$(echo "$branch" | sed -e "s/[^(]*//" | sed -e "s/[)(]//g") | |
# If no tags attached then exit. | |
if [ ${#tags} -eq 0 ]; then |
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
<?php | |
function template_preprocess_page(&$variables) { | |
$google_simple_api_access_key = variable_get('google_simple_api_access_key'); | |
drupal_add_js(array( | |
'google_simple_api_access' => array( | |
'key' => $google_simple_api_access_key, | |
), | |
), |
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
drush @mx._local--php en devel | |
drush @mx._local--shop en devel |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"request": "launch", | |
"name": "Xdebug solas", | |
"type": "php", | |
"cwd": "${workspaceRoot}", | |
"pathMappings": { | |
"/home/vagrant/sites/pt": "${workspaceRoot}", |
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
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"> | |
<form action="https://test.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST"> | |
<input type=hidden name="oid" value="00D9E0000000zof"> | |
<input type=hidden name="retURL" value="https://www.moneyjournal.com/wp-content/uploads/2016/03/default-thank-you-page-template-768x348.png"> | |
<input type="hidden" name="Campaign_ID" value="7019E000000IW77QAG" /> | |
<input type="hidden" name="member_status" value="Responded" /> | |
<label for="first_name">First Name</label><input id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br> |
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
376|Andorra, +376 | |
971|United Arab Emirates, +971 | |
93|Afghanistan, +93 | |
1268|Antigua and Barbuda, +1 268 | |
1264|Anguilla, +1 264 | |
355|Albania, +355 | |
374|Armenia, +374 | |
244|Angola, +244 | |
672|Antarctica, +672 | |
54|Argentina, +54 |
NewerOlder