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
printf '%s\n' $@ | sort -u |
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
{ | |
"addedAt": 1405347851360, | |
"vid": 154835, | |
"canonical-vid": 154835, | |
"merged-vids": [], | |
"portal-id": 62515, | |
"is-contact": true, | |
"profile-token": "AO_T-mPlyZmoCpqTNHTwZq_pcAEjmt8FIoJO67osiz9pMRNtyZ0wLvXMHgDbUKsMmIvuHnHYoaQNnwcsUgWnSvtLCBI4VNKpIfaRzaoMXnN3WB0YyBRHIdhwf3taqZq5R2gCf6_dK0lb", | |
"profile-url": "https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mPlyZmoCpqTNHTwZq_pcAEjmt8FIoJO67osiz9pMRNtyZ0wLvXMHgDbUKsMmIvuHnHYoaQNnwcsUgWnSvtLCBI4VNKpIfaRzaoMXnN3WB0YyBRHIdhwf3taqZq5R2gCf6_dK0lb/", | |
"properties": { |
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
package de.tum.ws2009.grprog.uebungsblatt01; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
public class SalaryCalculator { | |
/** | |
* This method computes the salary after tax per month. |
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 | |
/** | |
* get_alternate_language_link | |
* returns a full url to a page on the other language site | |
* or returns false if the page doesn't exist in the other language | |
* | |
* Arguments: $path (optional) | |
* if a path is supplied (e.g. 'node/4') | |
* the alternate link to that path will be returned |
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
{"location": | |
{"name":"Arch", | |
"id":"3"}, | |
"stops":[ | |
{"time":"16:41:00", | |
"route": | |
{"name":"Intercampus Northbound", | |
"id":8}}, | |
{"time":"16:51:00", | |
"route": |
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
[ | |
{"location": | |
{"name":"Arch", | |
"id":3}, | |
"stops":[ | |
{"time":"16:41:00", | |
"route": | |
{"name":"Intercampus Northbound", | |
"id":8}}, | |
{"time":"16:51:00", |
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
SELECT all1.nid as nid, all1.email as email, all1.submitted as submitted, all1.node_uid as node_uid, all2.form_key as answer_type, | |
all2.name as question, all2.response_uid as response_uid | |
FROM | |
(SELECT rest.nid, rest.response, rest.email, rest.sid, rest.submitted, rest.response_uid, rest.node_uid, form_key, name, type | |
FROM (SELECT wsd1.nid as nid, | |
wsd1.data as response, wsd2.data as email, wsd1.sid as sid, ws.submitted, ws.uid as response_uid, node.uid as node_uid | |
FROM webform_submitted_data wsd1 | |
JOIN webform_submitted_data wsd2 ON wsd1.sid=wsd2.sid | |
JOIN webform_submissions ws ON wsd1.sid=ws.sid | |
JOIN node ON node.nid=wsd1.nid |
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
--- | |
total: 4 | |
yes: | |
count: 2 | |
percentage: 50 | |
responses: | |
- | |
email: carylee@gmail.com | |
time: 1317330924 | |
- |
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
{ | |
"cumulative_report" : { | |
"question" : "How much do you like reporting?", | |
"answers" : { | |
"3" : { | |
"responders" : [ | |
{ | |
"time" : "1318453303", | |
"email" : "foobar@bar.com" | |
}, |
OlderNewer