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
8,13d7 | |
< ~T | |
< ~T | |
< ~T | |
< ~T | |
< ~T | |
< ~T | |
23,28d16 | |
< ~T | |
< ~T |
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 <iostream> | |
#include <stdio.h> | |
using namespace std; | |
int main() { | |
char ch1, ch2; | |
cin.get(ch1); | |
for (;;) { | |
if (cin.fail()) break; |
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
import re | |
import sqlite3 | |
import os | |
import unicodedata | |
import numpy as np | |
from gensim import utils | |
from gensim import models | |
from string import digits | |
from sklearn import metrics | |
from pymining import itemmining |
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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ |
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
createUserEvent(action) { | |
let pingCentrePing = Object.assign( | |
this.createPing(au.getPortIdOfSender(action)), | |
action.data, | |
{action: "activity_stream_user_event"} | |
); | |
this.utEvents.sendUserEvent(pingCentrePing); | |
return pingCentrePing; | |
} |
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
* default.android_events_v1 | |
* default.churn_v2 | |
* default.churn_v3 | |
* default.containers_testpilottest | |
* default.core_client_count_v2018012120180721 | |
* default.core_client_count_v2018012820180728 | |
* default.core_client_count_v2018060820181208 | |
* default.core_client_count_v2018092320190323 | |
* default.core_client_count_v2018093020190330 | |
* default.cross_sectional_v20180623 |
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
* default.clients_daily_v6 | |
* default.cliqz_testpilot | |
* default.containers_shield_v1 | |
* default.containers_testpilottest | |
* default.containers_testpilottest_v2 | |
* default.core_client_count_v2018061520181215 | |
* default.core_client_count_v2018080920190209 | |
* default.core_client_count_v2018090220190302 | |
* default.core_client_count_v2018092320190323 | |
* default.core_client_count_v2018093020190330 |
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 generated by: sql/clients_daily_scalar_aggregates.sql.py | |
CREATE TEMP FUNCTION | |
udf_aggregate_map_sum(maps ANY TYPE) AS (STRUCT(ARRAY( | |
SELECT | |
AS STRUCT key, | |
SUM(value) AS value | |
FROM | |
UNNEST(maps), | |
UNNEST(key_value) | |
GROUP BY |
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 generated by: sql/clients_daily_scalar_aggregates.sql.py | |
CREATE TEMP FUNCTION | |
udf_aggregate_map_sum(maps ANY TYPE) AS (STRUCT(ARRAY( | |
SELECT | |
AS STRUCT key, | |
SUM(value) AS value | |
FROM | |
UNNEST(maps), | |
UNNEST(key_value) | |
GROUP BY |
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
ERROR: (gcloud.container.clusters.get-credentials) ResponseError: code=403, message=Required "container.clusters.get" permission(s) for "projects/emtwo-252813/zones/us-central1-a/clusters/bq-load-gke-1". See https://cloud.google.com/kubernetes-engine/docs/troubleshooting#gke_service_account_deleted for more info. | |
[2019-09-13 14:15:30,352] {models.py:1788} ERROR - Command '['gcloud', 'container', 'clusters', 'get-credentials', u'bq-load-gke-1', '--zone', u'us-central1-a', '--project', u'emtwo-252813']' returned non-zero exit status 1 | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/site-packages/airflow/models.py", line 1657, in _run_raw_task | |
result = task_copy.execute(context=context) | |
File "/app/dags/operators/gcp_container_operator.py", line 52, in execute | |
"--project", self.project_id]) | |
File "/usr/local/lib/python2.7/subprocess.py", line 190, in check_call | |
raise CalledProcessError(retcode, cmd) | |
CalledProcessError: Command '['gcloud', 'container', 'clusters', 'get-credential |
OlderNewer