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
Param( | |
[Parameter(Mandatory=$True)] | |
[string]$Original, | |
[Parameter(Mandatory=$True)] | |
[string]$Compare | |
) | |
$OriginalSize = (Get-ChildItem $Original | Measure-Object Length -Sum).sum / 1Gb | |
$CompareSize = (Get-ChildItem $Compare | Measure-Object Length -Sum).sum / 1Gb | |
[string]$Difference |
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
// paste this in your browser's console | |
// hide | |
document.querySelector(".webPlayerSDKUiContainer").style.opacity = 0 | |
// show again | |
document.querySelector(".webPlayerSDKUiContainer").style.opacity = 1 |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\WindowsTerminal] | |
@="Windows Terminal Here" | |
"Icon"="%USERPROFILE%\\terminal\\wt_32.ico" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\WindowsTerminal\command] | |
@="wt.exe -d \"%V\"" | |
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
fetch("https://siastats.info/dbs/skynet_current.json") | |
.then((r) => r.json()) | |
.then((portals) => { | |
portals.forEach((portal) => { | |
const link = `${portal.link}/${skylink}`; | |
fetch(link, { method: "HEAD" }).then((resp) => { | |
if (resp.ok) location = link; | |
}); | |
}); | |
}); |
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
module.exports = api => { | |
api.describeTask({ | |
match: /vue-cli-service build && node deploy_skynet.js/, | |
description: "Build the project and upload it to skynet", | |
link: "https://github.com/Delivator/vue-cli-plugin-skynet" | |
}) | |
api.describeTask({ | |
match: /node deploy_skynet.js/, | |
description: "Upload to skynet (without building)", |
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
{ ttl: 10800, type: ‘NS’, host: ‘ns1’, value: ‘44.231.6.183’ } |
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> | |
<v-container> | |
<v-row class="text-center"> | |
<v-col cols="12"> | |
<v-img | |
:src="require('../assets/logo.svg')" | |
class="my-3" | |
contain | |
height="200" | |
/> |
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> | |
<head> | |
<title>Skychat</title> | |
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"> | |
<meta content="utf-8" http-equiv="encoding"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous"> | |
<script src="https://code.jquery.com/jquery-3.5.1.min.js" crossorigin="anonymous"></script> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> | |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script> |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\VLC.mp4\shell\Open\command] | |
@="\"C:\\Program Files\\VideoLAN\\VLC\\vlc.exe\" --started-from-file --sout-all --sout \"#display\" \"%1\"" | |