This file has been truncated, but you can view the full file.
This file contains hidden or 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
{"context":{"allowJs":false,"logLevel":20,"namespace":"jest-preset","package":"ts-jest","version":"29.0.2"},"message":"creating jest presets not handling JavaScript files","sequence":1,"time":"2022-09-26T07:52:02.454Z"} | |
{"context":{"logLevel":20,"namespace":"Importer","package":"ts-jest","version":"29.0.2"},"message":"creating Importer singleton","sequence":2,"time":"2022-09-26T07:52:02.727Z"} | |
{"context":{"actualVersion":"29.0.3","expectedVersion":">=29.0.0 <30","logLevel":20,"namespace":"versions","package":"ts-jest","version":"29.0.2"},"message":"checking version of jest: OK","sequence":3,"time":"2022-09-26T07:52:02.736Z"} | |
{"context":{"logLevel":20,"namespace":"ts-jest-transformer","package":"ts-jest","version":"29.0.2"},"message":"created new transformer","sequence":4,"time":"2022-09-26T07:52:02.736Z"} | |
{"context":{"logLevel":20,"namespace":"ts-jest-transformer","package":"ts-jest","version":"29.0.2"},"message":"created new transformer","sequence":5,"time":"2022-09-26T07:52:02.743Z"} | |
{"context":{"logLevel": |
This file contains hidden or 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
// NOTE: you might have to run it a few times if it doesn't download the full video from the first try, I guess it needs to be cached or something.. | |
const { appendFileSync, writeFileSync } = require("fs"); | |
const https = require("https"); | |
// find that URL in devtools, search for akamai, there's also manifest with different names based on quality (remove &range from it) | |
const URL = `https://xxxxx-adaptive.akamaized.net/exp=0000000000~xxx=xxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxxx~xxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/parcel/video/xxxxxxxx.mp4?r=xxxxxxxxxxxxxxxxxx`; | |
const rangeWidth = 1000000000; // using smaller range will be slower, but might result in more stable/reliable download success | |
let foundEnd = false; |
This file contains hidden or 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
; I have two monitors: one for games, one for work and I want to switch between them using different profiles in https://wizardsoft.nl/products/wsdisplaysettings | |
; first, set up profiles, and create cmd files (probably optional, but helpful if you want to have shortcuts as well) | |
; | |
; Something like: | |
; cd C:\Users\maxim\Downloads\WsDisplaySettings\portable | |
; start "" "wsds.exe" "play.dis" | |
; | |
; then fix paths and add this script to startup folder | |
; use Ctrl+Alt+P to play, ...+W to work, ...+B to enable both displays | |
; (at least that's my setup, yours might differ, this script helps to click "ok" on dialogue in free version of WS Display Setting software, that's pretty much it) |
This file contains hidden or 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 { SH } from "./sh"; | |
import { join } from "path"; | |
import { readFileSync } from "fs"; | |
import { platform, EOL } from "os"; | |
const rootPath = join(__dirname, "vendors"); | |
const sh = new SH(rootPath); | |
const os = platform(); | |
const getDirs = async (rootPath: string): Promise<string[]> => { |
This file contains hidden or 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
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
var tslib_1 = require("tslib"); | |
var core_1 = require("@sentry/core"); | |
var types_1 = require("@sentry/types"); | |
var utils_1 = require("@sentry/utils"); | |
var eventbuilder_1 = require("./eventbuilder"); | |
var transports_1 = require("./transports"); | |
/** | |
* The Sentry Browser SDK Backend. |
This file contains hidden or 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
<template> | |
<!-- Correct Usage: --> | |
<app-bar :tabs="tabs" /> | |
<!-- Incorrect Usage (still compiles/builds without any warnings): --> | |
<app-bar :crabs="tabs" /> | |
</template> | |
<script lang="ts"> | |
import { Component, Vue } from "vue-property-decorator"; | |
import AppBar from "@/components/AppBar.vue"; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Hello Analytics Reporting API V4</title> | |
<meta name="google-signin-client_id" content="CLIENT_ID" /> | |
<meta | |
name="google-signin-scope" | |
content="https://www.googleapis.com/auth/analytics.readonly" | |
/> |
This file contains hidden or 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 http = require('http'); | |
const https = require('https'); | |
const { getProxySettings } = require('get-proxy-settings'); | |
const apis = [ | |
'acceleratedmobilepageurl', | |
'adexchangebuyer', | |
'adexchangebuyer2', | |
'adexchangeseller', | |
'adexperiencereport', |
This file contains hidden or 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
/** | |
* Tested with "selenium-webdriver": "^4.0.0-alpha.7" | |
* and NodeJS v12.14.0 | |
* on April 17, 2020 | |
* | |
* Make sure to download Chrome selenium WebDriver for your version: https://chromedriver.chromium.org/downloads | |
* and put it in the same folder as this file or add to PATH | |
* Tested on Chrome 81 | |
* | |
* This script downloads pages with embedded videos, lesson materials and links to challenges |
This file contains hidden or 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
{ | |
"auth": { | |
"oauth2": { | |
"scopes": { | |
"https://www.googleapis.com/auth/cloud-platform": { | |
"description": "View and manage your data across Google Cloud Platform services" | |
} | |
} | |
} | |
}, |
NewerOlder