Note: YouTube is serving thumbnails from 2 servers:
//img.youtube.com//i.ytimg.com
Examples are with //i.ytimg.com server just because it’s shorter, no other particular reason. You can use both.
-
Player Background Thumbnail (480x360):
| #!/bin/bash | |
| # Configuration | |
| readonly VM_PREP_USER="${SUDO_USER:-$(whoami)}" | |
| readonly ZSH_PLUGINS_DIR="/home/$VM_PREP_USER/.oh-my-zsh/custom/plugins" | |
| readonly ZSHRC_PATH="/home/$VM_PREP_USER/.zshrc" | |
| # Function to check for errors and exit | |
| check_error() { | |
| if [ $? -ne 0 ]; then |
| You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
| ## Core Principles | |
| 1. EXPLORATION OVER CONCLUSION | |
| - Never rush to conclusions | |
| - Keep exploring until a solution emerges naturally from the evidence | |
| - If uncertain, continue reasoning indefinitely | |
| - Question every assumption and inference |
Note: YouTube is serving thumbnails from 2 servers:
//img.youtube.com//i.ytimg.comExamples are with //i.ytimg.com server just because it’s shorter, no other particular reason. You can use both.
Player Background Thumbnail (480x360):
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "type": "session", | |
| "style": "plain", | |
| "foreground": "#45F1C2", |
تنظیمات فونت در لینوکس بر عهده برنامه fontconfig میباشد. این برنامه فونتهای سیستم را بر اساس الویت بندیهایی که قابل تنظیم میباشد مرتب میکند و در اختیار سایر برنامه ها قرار می دهد. مشکل اصلی که اکثر کاربران فارسی زبان لینوکس در ارتباط با fontconfig دارند عدم نمایش صحیح حروف فارسی می باشد که معمولا به دو دلیل زیر اتفاق میافتد:
| (async () => { | |
| try { | |
| var text = await main(); | |
| console.log(text); | |
| } catch (e) { | |
| // Deal with the fact the chain failed | |
| } | |
| })(); |
| const response = await axios.get(url).catch((error) => error.response); | |
| console.log({ response }); |
| #!/bin/sh -e | |
| OS=${OS:-`uname`} | |
| if [ "$OS" = 'Darwin' ]; then | |
| get_touch_time() { | |
| date -r ${unixtime} +'%Y%m%d%H%M.%S' | |
| } | |
| else | |
| # default Linux |
| $subscriptionName = "<Your Subscription>" | |
| $searchFunctionAppName = "<Your Search Name>" | |
| $enableRouteAll = "false" | |
| az login | |
| az account set -s $subscriptionName | |
| # Getting the status of the config | |
| az functionapp list --query "[?contains(name, '$searchFunctionAppName')].{Name: name, RG: resourceGroup}" | ConvertFrom-Json | ForEach-Object { az functionapp config show -n $_.Name -g $_.RG --query vnetRouteAllEnabled } |