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
#!/usr/env pyhton3 | |
# -*- coding: UTF-8 -*- | |
# Import basic modules | |
import numpy as np | |
import cv2 | |
import matplotlib.pyplot as plt | |
# Load Keras utilies & datasets | |
from keras.utils import np_utils |
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 version = 'v0.0.1-alpha' | |
const links = [...new Set(Array.from(document.querySelectorAll('.play-detail__title')).map(ele => ele.href))] | |
const maxOpenWindowsSameTime = 20 | |
const totalRuntime = Math.ceil(links.length / maxOpenWindowsSameTime) | |
const offsetTime = 5000 // millionseconds | |
const oneRuntimeMaxTimeSpend = ((offsetTime * 2) * maxOpenWindowsSameTime) * 2 + offsetTime * 2 | |
let holds = [] | |
let ready = [] | |
let relay = 0 |
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 { | |
green, | |
cyan, | |
bold, | |
yellow, | |
red | |
} from "https://deno.land/std@v0.20.0/fmt/colors.ts"; | |
import { | |
Application, |
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
"angularCompilerOptions": { | |
"debug": true, | |
"enableIvy": false | |
} |
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
"angularCompilerOptions": { | |
"debug": true, | |
"enableIvy": false | |
} |
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
{ | |
... | |
"start:augury": "ng serve --configuration augury", | |
... | |
} |
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
{ | |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
"version": 1, | |
"newProjectRoot": "projects", | |
"projects": { | |
"your-project-name": { | |
..., | |
"architect": { | |
"build": { | |
// copy this part |
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 colorParserInt = rgb => { | |
const [_, r, g, b] = rgb.toUpperCase().match(/([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})/); | |
return { | |
r: parseInt(`0x${r}`), | |
g: parseInt(`0x${g}`), | |
b: parseInt(`0x${b}`) | |
}; | |
} | |
const colorParserHex = (r, g, b) => { |
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
#!/bin/zsh | |
welcome_menu () { | |
clear -x; | |
echo "\e[1;37m[Minecraft Server Util]\e[0m"; | |
echo "version: \e[1;37mv0.0.1\e[0m"; | |
echo "by \e[1;4;37m@Aries0d0f\e[0m | \e[1;4;36mhttps://aries0d0f.me\e[0m"; | |
echo "\r"; | |
echo "Press \e[1;37m[ENTER]\e[0m to start this util"; | |
echo "Press \e[1;37m'q'\e[0m to exit"; |
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
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,b){a.raw=b;return a};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.makeIterator=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):$jscomp.arrayIterator(a)}; | |
$jscomp.arrayFromIterator=function(a){for(var b,d=[];!(b=a.next()).done;)d.push(b.value);return d};$jscomp.arrayFromIterable=function(a){return a instanceof Array?a:$jscomp.arrayFromIterator($jscomp.makeIterator(a))};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1; | |
$jscomp.defineProperty=$jscomp.ASSUME_ES5| |
OlderNewer