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
test.v2 0 1580115600 | |
test.v2 0 1580115660 | |
test.v2 1 1580115720 | |
test.v2 3 1580115780 | |
test.v2 2 1580115840 | |
test.v2 2 1580115900 | |
test.v2 10 1580115960 | |
test.v2 10 1580116020 | |
test.v2 12 1580116080 | |
test.v2 0 1580116140 |
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 json | |
from datetime import date, datetime, timedelta | |
from collections import defaultdict, namedtuple | |
from multiprocessing import Pool, cpu_count | |
import csv | |
from operator import itemgetter | |
from heapq import merge | |
from itertools import islice | |
from dateutil.parser import parse |
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
from datetime import datetime | |
import json | |
from functools import lru_cache | |
from multiprocessing import Pool | |
import sys | |
from nltk.tokenize import word_tokenize, sent_tokenize | |
from nltk.corpus import stopwords | |
from nltk.util import ngrams | |
from nltk import WordNetLemmatizer, pos_tag |
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
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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
from collections import Counter | |
import requests | |
from pycaption.srt import SRTReader | |
import lxml.html | |
from nltk.corpus import stopwords | |
from nltk.tokenize import word_tokenize | |
from nltk.stem import WordNetLemmatizer | |
lang = 'en-US' | |
path = '' |
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
const { app, BrowserWindow, TouchBar } = require('electron'); | |
const { TouchBarLabel, TouchBarButton } = TouchBar; | |
const count = 8; | |
const interval = 500; | |
const colors = [ | |
'#ff0000', | |
'#00ff00', | |
'#0000ff', | |
'#ffff00', |
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 wrapper | |
import ( | |
"os/exec" | |
"os" | |
"sync" | |
"github.com/kr/pty" | |
"github.com/creack/termios/raw" | |
"github.com/creack/termios/win" | |
"io" |
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
from collections import Counter | |
import tweepy | |
import networkx | |
from matplotlib import cm, pyplot | |
TWITTER_CONSUMER_KEY = '' | |
TWITTER_CONSUMER_SECRET = '' | |
TWITTER_ACCESS_TOKEN = '' | |
TWITTER_ACCESS_TOKEN_SECRET = '' |
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
// android/app/src/main/java/com/YOUR_APP/webview/WebViewWrapperManager.java | |
package com.YOUR_APP.webview; | |
import android.webkit.WebView; | |
import com.facebook.react.views.webview.ReactWebViewManager; | |
import com.facebook.react.uimanager.ThemedReactContext; | |
public class WebViewWrapperManager extends ReactWebViewManager { | |
private static final String REACT_CLASS = "RCTWebViewWrapper"; |
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
(ns vr-cljs.core) | |
(enable-console-print!) | |
(defn get-camera | |
"Creates camera with desired aspect ratio." | |
[] | |
(doto (js/THREE.PerspectiveCamera. 75 (/ (.-innerWidth js/window) | |
(.-innerHeight js/window)) | |
0.1 1000) |