TGTGInsighttelegram intelligenceLIVE / telegram public index
← Find Blog👁发现博客

TGINSIGHT SIMILAR POSTS

查找相似内容

Source channel @FindBlog · Post #521 · 10月9日

静态网站悖论 个人网站的两种不同实现方式:一种是复杂的内容管理系统(CMS),另一种是简单的静态 HTML 文件。文章指出,尽管大多数普通用户倾向于使用复杂的解决方案(如 WordPress),但实际上,只有少数专业软件工程师能够选择更简单的静态网站。 via HackerNews 2024 10 09 前两天刚好听朋友说 square space 已经涨到了近乎搞笑的 $25 月费,做不用来盈利的个人博客实在难以 justify。这篇文章中吐槽得很在点子上: normal users are stuck with a bunch of greedy clowns that make them pay for every little thing, all while wasting ungodly amounts of computational power to render what could have been a static website in 99% of cases. 普通用户被困在了一群屁大点功能都要收费的贪婪小丑手里,与此同时浪费着人神共愤额度的算力来渲染 99% 的情况下都可以作为静态的网站。 当然原文中说的“只有少数专业软件工程师才能选择更简单的静态网站”略微夸张并不认同,因为静态站至少是比 self-host 的动态 CMS 少太多维护了。我的 backlog 里也一直躺了篇安利新手用静态站并拉踩 WP 的文,不过网上这种文已经有无数了也还是拦不住前赴后继往各种 CMS 的坑里冲的新手,觉得写了又有什么意义呢就还搁着没写。(当然迟早会像以前反复造的无数轮子一样被废话欲战胜的 but not today) #indieblog#newletter

Results

找到 261 条相似帖子

搜索 #js

当前筛选 #js清除筛选
sjshb57-盘

@sjshb_2157 · Post #748 · 2025/03/24 14:18

阅读替换规则: #01 数字标题 #JS 特点: 1. 整体优化 2. 添加详细注释 3. 对零,〇;二, 两数字,映射为 0,2 4. 对类似 [第二百一十五章,第二百十五章] 进行修复,返回为第 215 章,防止出现返回章节错误的情况 5. 添加 [章节 标题],之中的空格 6. 标题后如果出现句号 [例如: 标题。] 进行移除,其他符号不受影响 7. 根据原标题,返回 [章节回集卷部篇]

Hashtags

Conor's Blogs

@Conordevs_Blogs · Post #268 · 2025/02/16 09:00

#JS - Savol birozdan so'ng tashlanadi, javobni izohlar qismiga yozmang!!!

Hashtags

JS Organization

@jsorganization · Post #221 · 2024/04/07 18:45

💥SET Time RESTRICTION To Run Command BJS 🎃 🍏 Command:YOUR COMMAND NAME BJS- // Function to get Bangladesh time function getBangladeshTime() { var now = new Date(); var options = { timeZone: 'Asia/Dhaka', hour12: true, hour: 'numeric', minute: 'numeric', second: 'numeric' }; return now.toLocaleString('en-US', options); } // Function to check if the current time is within the allowed time range (12:00 AM to 6:00 AM Bangladesh time) function isRestricted() { var now = new Date(); var bdTime = new Date(now.toLocaleString('en-US', { timeZone: 'Asia/Dhaka' })); var currentHour = bdTime.getHours(); return currentHour >= 0 && currentHour < 6; // Returns true if it's between 12:00 AM and 6:00 AM Bangladesh time } // If it's restricted, inform the user and return without executing the command if (isRestricted()) { informRestrictedTime(); } else { // If it's not restricted, proceed with the command execution YOUR ALL CODE IS HERE } // Function to inform the user about restriction time function informRestrictedTime() { var remainingTime = getRemainingTime(); Bot.sendMessage("*👋 Hey " + user.first_name + "\nIt is Bed Time 🛏️\nSo You Cannot Use This Command From 12:00 AM To 6:00 AM in Bangladesh Time\nNow Bangladesh Time: " + getBangladeshTime() + " 🇧🇩\n━━━━━━━━•❅•°•❈•°•❅•━━━━━━━━\n⌛ Please Come Back After\n " + remainingTime + "\n━━━━━━━━•❅•°•❈•°•❅•━━━━━━━━\nIf you need it urgently, message @itsSowrov!*"); Bot.runCommand("main_menu"); } // Function to get the remaining time until the command can be executed again function getRemainingTime() { var now = new Date(); var bdTime = new Date(now.toLocaleString('en-US', { timeZone: 'Asia/Dhaka' })); var currentHour = bdTime.getHours(); if (currentHour < 6) { var remainingHours = 6 - currentHour; var remainingMinutes = 60 - bdTime.getMinutes(); var remainingSeconds = 60 - bdTime.getSeconds(); return remainingHours + " hours, " + remainingMinutes + " minutes, " + remainingSeconds + " seconds"; } else { return "Come back later"; } } Copy and paste it where you set time restrictions for your command. Keep the first and last part of the code intact, and insert your main code in between or middle of this code. That's it! Then user cant use this commamd during the restricted time, set from 12:00 PM to 6:00 AM Bangladesh time. You can adjust the timing as needed. © Copyright : @JSOrganization ❓ Question/Error : @itsSowrov ⚙️#JS

Hashtags

Android Broadcast

@android_broadcast · Post #9295 · 2025/07/03 08:41

🚀 Вышел стабильный JavaScript движок от Google для Android Новая стабильная библиотека Jetpack JavaScript Engine позволит разработчикам выполнять JS код в изолированной и ограниченной среде. class MainActivity : ComponentActivity() { // Теперь nullable, без lateinit private var jsSandbox: JavaScriptSandbox? = null private var jsIsolate: JavaScriptIsolate? = null override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) if (!JavaScriptSandbox.isSupported()) { Log.e("JS", "JavaScriptSandbox не поддерживается") return } lifecycleScope.launch { // Создаём и сохраняем в nullable-поле jsSandbox = JavaScriptSandbox .createConnectedInstanceAsync(applicationContext) .await() jsIsolate = jsSandbox?.createIsolate() // При выполнении гарантируем, что jsIsolate != null val result: String = jsIsolate ?.evaluateJavaScriptAsync(JS_SCRIPT_SCRING) ?.await() ?: "Ошибка: isolate не инициализирован" Log.d("JS", "Результат выполнения: $result") } } override fun onDestroy() { super.onDestroy() // Закрываем только если не null jsIsolate?.close() jsSandbox?.close() } } #jetpack#js

Hashtags

The Devs

@thedevs · Post #2141 · 2025/04/01 09:04

You should know this before choosing Next.js. #article#js @thedevs https://thedevs.link/P9Xc3X

Hashtags

The Devs

@thedevs · Post #2113 · 2024/05/28 08:26

How to document your JavaScript package. #article#js @thedevs @thedevs_js https://thedevs.link/fOMWxp

Hashtags

The Devs

@thedevs · Post #2101 · 2024/04/02 12:43

Optimizing Javascript for fun and for profit. #article#js @thedevs @thedevs_js https://thedevs.link/kYqJzZ

Hashtags

The Devs

@thedevs · Post #2085 · 2023/10/28 09:38

An interactive intro to CRDTs. #article#js @thedevs https://thedevs.link/t9Rg2I

Hashtags

The Devs

@thedevs · Post #1969 · 2022/01/19 09:43

The optional chaining operator, “modern” browsers, and my mom. #article#js @thedevs https://kutt.it/U5Q49j

Hashtags

The Devs

@thedevs · Post #1878 · 2021/02/16 19:03

How we built the GitHub globe. #article#js @thedevs https://kutt.it/cBurik

Hashtags

123•••10•••202122
上一页第 1/22 页下一页