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
#!/usr/bin/python | |
# Name: Matthew Longley | |
# Date: 2012/09/25 | |
# Course: COMP 3825-001 | |
# Project #1 - Mail Client | |
# NOTE: This program uses Python 3 | |
import base64, getpass, socket, ssl, sys |
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
#!/usr/bin/python | |
# Name: Matthew Longley | |
# Date: 2012/09/25 | |
# Course: COMP 3825-001 | |
# Project #1 - Mail Client | |
import base64, getpass, socket, ssl | |
# Function - getServerAddr |
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
//HELLOW JOB | |
//* The IEBGENER program copies data | |
//S1 EXEC PGM=IEBGENER | |
//* Data to be copied | |
//SYSUT1 DD * | |
Hello, world! | |
//* Tells IEBGENER to copy data to the system output | |
//SYSUT2 DD SYSOUT=A | |
//SYSPRINT DD SYSOUT=A | |
//SYSIN DD DUMMY |
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
curl -XPOST -H "Content-Type:application/json" -d '{"query":"query storeSearch($searchText: String!, $filters: [String]!) {\n storeSearch(searchText: $searchText, filters: $filters) {\n stores {\n ...storeSearchResult\n }\n fuel {\n ...storeSearchResult\n }\n shouldShowFuelMessage\n }\n}\n\nfragment storeSearchResult on Store {\n banner\n vanityName\n divisionNumber\n storeNumber\n phoneNumber\n showWeeklyAd\n showShopThisStoreAndPreferredStoreButtons\n distance\n latitude\n longitude\n address {\n addressLine1\n addressLine2\n city\n countryCode\n stateCode\n zip\n }\n pharmacy {\n phoneNumber\n }\n}\n","variables":{"searchText":"38053","filters":[]},"operationName":"storeSearch"}' https://www.kroger.com/stores/api/graphql | jshon | less |
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
{ | |
"1022": { | |
"status_code": 1002, | |
"error_message": "Bad or missing protocol_id" | |
}, | |
"4096": { | |
"status_code": 1002, | |
"error_message": "Bad or missing protocol_id" | |
}, | |
"5038": { |
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
Protocol ID: 1022 | |
{"status_code":1002,"error_message":"Bad or missing protocol_id"} | |
Protocol ID: 4096 | |
{"status_code":1002,"error_message":"Bad or missing protocol_id"} | |
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
{ | |
"api_version": "1", | |
"is_new_mode": "1", | |
"protocol_name": "Transformation of Skeletonema marinoi using Multipulse Electroporation", | |
"last_modified": "1487254340", | |
"type_id": "1", | |
"link": "", | |
"fork_id": "", | |
"public_fork_note": "", | |
"number_of_steps": "7", |
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
{ | |
"api_version": "1", | |
"is_new_mode": "0", | |
"protocol_name": "Construction of microarrays and their application to virus analysis", | |
"last_modified": "1485996809", | |
"type_id": "1", | |
"link": "http://www.aslo.org/books/mave/MAVE_034.pdf", | |
"fork_id": "", | |
"public_fork_note": "", | |
"number_of_steps": "0", |
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
#include <SD.h> | |
#include <TinyGPS.h> | |
#include <SoftwareSerial.h> | |
SoftwareSerial shield(2,3); // configure software serial port | |
// Create an instance of the TinyGPS object | |
TinyGPS gps; | |
void setup() | |
{ |
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
;;;; derpybot.lisp - main program file | |
(in-package #:derpybot) | |
;;; TOP-LEVEL DEFINITIONS | |
;;; *irc-host* - hostname of IRC server to connect to | |
(defparameter *irc-host* (string "irc.rizon.net")) | |
;;; *irc-port* - port number of IRC server to connect to | |
(defparameter *irc-port* 6660) | |
;;; *irc-nick* - nick for the bot to connect with | |
(defparameter *irc-nick* (string "DerpyBot")) |
NewerOlder