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
# path input | |
$inputPath = "C:\Users\matteo\Desktop\transcode" | |
# path output | |
$outputPath = "C:\Users\matteo\Desktop\transcode\output" | |
if (-not (Test-Path -Path $outputPath -PathType Container)) { | |
New-Item -ItemType Directory -Path $outputPath | Out-Null | |
} |
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
/** | |
* Fetches the price of a financial instrument from Yahoo Finance. | |
* | |
* @param {string} ticker The symbol/ticker of the financial instrument (e.g. "BTC-EUR" or "VWCE.MI"). | |
* @return {string} The price of the financial instrument. | |
* @customfunction | |
*/ | |
function YAHOOFINANCE(ticker) { | |
const url = `https://finance.yahoo.com/quote/${ticker}?p=${ticker}`; | |
const res = UrlFetchApp.fetch(url, { muteHttpExceptions: true }); |
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
# loadkeys it | |
# ls /sys/firmware/efi/efivars | |
# timedatectl set-ntp true | |
| /dev/sda1 | EFI | At least 260 MiB | | |
|-----------|-----------------|-------------------------| | |
| /dev/sda2 | Swap | More than 512 MiB | | |
|-----------|-----------------|-------------------------| | |
| /dev/sda3 | x86-64 root (/) | Remainder of the device | |
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
"Darwin Kernel Version 16.5.0: Thu Feb 23 23:22:54 PST 2017; root:xnu-3789.52.2~7/RELEASE_ARM64_T7000"; | |
OFFSET_ZONE_MAP = 0xfffffff007558478; | |
OFFSET_KERNEL_MAP = 0xfffffff0075b4050; | |
OFFSET_KERNEL_TASK = 0xfffffff0075b4048; | |
OFFSET_REALHOST = 0xfffffff00753aba0; | |
OFFSET_BZERO = 0xfffffff00708df80; | |
OFFSET_BCOPY = 0xfffffff00708ddc0; | |
OFFSET_COPYIN = 0xfffffff00718d3a8; | |
OFFSET_COPYOUT = 0xfffffff00718d59c; |
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/bash | |
git clone --recursive https://github.com/vysheng/tg.git /home/user/tg && cd /home/parallels/tg | |
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make | |
./configure | |
make | |
cp tg-server.pub bin | |
cd bin | |
./telegram-cli -k tg-server.pub | |
exit |