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
CREATE OR REPLACE VIEW | |
`moz-fx-data-shared-prod.telemetry.client_probe_counts` | |
AS SELECT | |
* | |
FROM | |
`moz-fx-data-shared-prod.telemetry_derived.client_probe_counts_v1` | |
WHERE metric != "search_counts" | |
AND metric NOT LIKE "%browser_search%" |
OlderNewer