I hereby claim:
- I am wtachau on github.
- I am wtachau (https://keybase.io/wtachau) on keybase.
- I have a public key ASB0yGd6KqTSn9y0w5vB_K5KTvV_vsOC-LylzPkvUi7mQAo
To claim this, I am signing this object:
| import { noopQuery } from '$lib/server/neo4j'; | |
| import { success } from '$lib/server/response'; | |
| import { isProd } from '@common/environment'; | |
| import type { RequestHandler } from './$types'; | |
| export const GET: RequestHandler = async ({ locals: { ctx } }) => { | |
| ctx.log('[CRON JOB RUNNING]'); | |
| await noopQuery(ctx); |
| [ | |
| ["184.167.84.13", "Cheyenne", "WY"], | |
| # ... | |
| ["205.157.110.11", "Round Rock", "TX"], | |
| ].each do |info| | |
| d_city = info[1] | |
| d_state = info[2] | |
| res = Geocoder.search(info[0]).first | |
| o_city = res.city |
| Verifying my Blockstack ID is secured with the address 18j63UYzv6YL3xPrvXBuBQH1GUUXBmizug https://explorer.blockstack.org/address/18j63UYzv6YL3xPrvXBuBQH1GUUXBmizug |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "published_date": "2015-10-23T00:00:00Z", | |
| "author": "USA Today", | |
| "link_type": "Url", | |
| "href": "https://soundcloud.com/jefferson-graham/talking-tech", | |
| "title": "Talking tech", | |
| "source_name": "Broadcast - USA TODAY TalkingTech", | |
| "importance": "Normal", | |
| "element": [], | |
| "id": 27267144, |
| { | |
| "accession_number": "J000000020151023eban0000v", | |
| "content_category": "Publications", | |
| "importance": "Normal", | |
| "element": [], | |
| "content_item_reference": { | |
| "id": "article_J000000020151023eban0000v", | |
| "type": "articles" | |
| }, | |
| "id": 27267142, |
| { | |
| data = { | |
| attributes = { | |
| "additional_info" = "Send your questions and feedback to <a href=\"mailto:[email protected]?subject=DJ%20Today\">DJ Communications</a>."; | |
| dateline = "Dow Jones Today"; | |
| "email_sent_date" = "2015-10-30T11:45:05.327862Z"; | |
| "is_lead_sentence_enabled" = 1; | |
| "is_table_of_contents_enabled" = 0; | |
| "modified_date" = "2015-10-30T07:45:06.78Z"; | |
| name = "30 October 2015 Edition 07:16"; |
| import sys | |
| import csv | |
| import json | |
| import pycurl | |
| from StringIO import StringIO | |
| import urllib | |
| # get input file | |
| if len(sys.argv) < 2: | |
| print "Usage: $ python email.py <inputCSV>" |
| import sys | |
| import csv | |
| import json | |
| import pycurl | |
| from StringIO import StringIO | |
| import urllib | |
| # get input file | |
| if len(sys.argv) < 2: | |
| print "Usage: $ python email.py <inputCSV>" |
| class CommentsController < ApplicationController | |
| include CommentsHelper | |
| def create | |
| @comment = (current_user.comments.create comments_params).decorate | |
| tagged_users = get_tagged_users(@comment) | |
| # render @comment | |
| # @current_post = Post.find(id: comments_params[:post_id]) | |
| @current_post = Post.first | |
| render json: @current_post.comments |