# ATLASSC.NET > A futuristic, immersive Cyberpunk 2077-inspired blog interface. Every post is available as raw markdown by appending `.md` to its URL. The full content is also exposed as MCP tools at https://atlassc.net/mcp (see https://atlassc.net/install/mcp). ## Feeds - [RSS](https://atlassc.net/rss.xml) - [Atom](https://atlassc.net/atom.xml) - [Sitemap](https://atlassc.net/sitemap.xml) ## Posts - [Reducing GitLab Resource Usage by Disabling Built-In Monitoring Services](https://atlassc.net/2026/08/04/reducing-gitlab-resource-usage-by-disabling-built-in-monitoring-services.md): Reduce CPU, memory, and disk I/O on a small self-hosted GitLab server by disabling the built-in Prometheus monitoring stack without affecting core GitLab features. - [How to Play Videos with Spatial Audio on macOS](https://atlassc.net/2026/08/02/how-to-play-videos-with-spatial-audio-on-macos.md): A practical guide to playing local videos with Spatial Audio on macOS using QuickTime Player, IINA, or VidHub. - [Fixing an ASUS Router on 2degrees Fibre: VLAN 10, DHCP, and DNS](https://atlassc.net/2026/07/24/asus-router-2degrees-fibre-vlan-10-dns-fix.md): A practical guide to fixing an ASUS router that receives a WAN IP from 2degrees Fibre but still cannot open websites. - [Implementing OAuth 2.1 Claude Connector for MCP Server](https://atlassc.net/2026/04/03/implementing-oauth-2-1-claude-connector-for-mcp-server.md): A practical guide to building an OAuth 2.1 connector for an MCP server that works with Claude Desktop and Claude Code, without focusing on framework-specific code. - [The Architecture of Prompt Sequencing: Positional Dynamics and Instructional Hierarchy in Large Language Models](https://atlassc.net/2026/03/31/the-architecture-of-prompt-sequencing.md): An in-depth exploration of how the spatial arrangement of instructions, context, and queries within a prompt determines LLM performance, and practical strategies to overcome positional bias. - [Text Chunking Strategies for RAG: A Comprehensive Guide](https://atlassc.net/2026/03/30/text-chunking-strategies-for-rag.md): A comprehensive guide to six text chunking strategies for Retrieval-Augmented Generation, from fixed-size splitting to late chunking, with practical trade-offs and benchmarks. - [The 'Strawberry' Trap: Why Your Production Agent Shouldn't Touch the Database](https://atlassc.net/2026/03/30/the-strawberry-trap-why-your-production-agent-shouldnt-touch-the-database.md): A cautionary guide on why you should never give your production AI agent direct access to your database and how to build a secure abstraction layer. - [Strategic Certification Pathways for Senior Full-Stack Engineers in 2026](https://atlassc.net/2026/03/12/strategic-certification-pathways-2026.md): A comprehensive guide to the essential cloud, AI, and platform engineering certifications for senior full-stack engineers in 2026. - [Managing LaTeX Clutter in Visual Studio Code](https://atlassc.net/2026/03/10/managing-latex-clutter-in-visual-studio-code.md): A detailed guide on how to hide LaTeX auxiliary files in Visual Studio Code using workspace settings, keeping your file explorer clean. - [Troubleshooting GitLab SSH Clone Failures: Docker, Cloudflare, and Port Conflicts](https://atlassc.net/2026/03/08/troubleshooting-gitlab-ssh-clone-failures-docker-cloudflare-port-conflicts.md): A comprehensive guide to fixing common SSH clone issues in GitLab when deployed with Docker and proxied through Cloudflare. - [Understanding 'Preferred IP': Why It's Essential for Network Circumvention](https://atlassc.net/2026/02/26/understanding-preferred-ip-for-circumvention.md): A deep dive into the concept of Preferred IP (IP Picking), how it leverages Cloudflare's Anycast network, and why it is a game-changer for bypassing network censorship and improving connection stability. - [Argo Tunnel x Xray (VLESS+WS) x v2rayNG Setup Guide](https://atlassc.net/2026/02/26/argo-tunnel-xray-ws-v2rayng-setup-guide.md): A comprehensive guide on setting up a fixed Argo Tunnel with Xray (VLESS+WebSocket) and v2rayNG for a secure and stable proxy connection. - [Building an MCP Server with Authentication](https://atlassc.net/2026/02/26/building-an-mcp-server-with-authentication.md): A step-by-step tutorial on creating a Model Context Protocol (MCP) server with custom API key authentication and authorization. - [The Cybernetic Recursion: Architectures, Dynamics, and Engineering of AI Agent Loops](https://atlassc.net/2026/02/13/cybernetic-recursion-ai-agent-loops.md): A technical analysis of the structural shift from static LLM inference to recursive, goal-directed AI agent loops. - [Access AI-Toolkit UI from Colab with Cloudflared](https://atlassc.net/2026/02/05/access-ai-toolkit-ui-from-colab-with-cloudflared.md): A quick guide on how to access the AI-Toolkit UI running in Google Colab using a Cloudflare Tunnel. - [Run AI Toolkit on Google Colab to Train Flux, Stable Diffusion, Z-Image, and Qwen-Image LoRAs](https://atlassc.net/2026/02/05/run-ai-toolkit-on-google-colab-to-train-loras.md): A quick guide on how to run AI Toolkit on Google Colab to train LoRAs for Flux, SDXL, Z-Image, and Qwen-Image without a local GPU. - [You Don't Really Need a Mac mini to Run OpenClaw, Here's How You Can Run It in a Container.](https://atlassc.net/2026/02/05/you-dont-really-need-a-mac-mini-to-run-openclaw.md): Forget the dedicated hardware. Learn how to deploy OpenClaw using Docker containers on any server. - [Securing MCP Server with JWT Authentication](https://atlassc.net/2026/01/31/securing-mcp-server-with-jwt-authentication.md): A guide on how to secure your Model Context Protocol (MCP) server using JSON Web Tokens (JWT) and SSE transport. - [コマンド一発でChromeのGemini機能を日本から有効にする方法](https://atlassc.net/2026/01/30/enable-gemini-in-chrome-one-command-ja.md): 世界中どこからでもChromeのGemini機能を有効にする簡単なコマンドラインのテクニック。 - [Enable Gemini in Chrome Outside the US with One Command](https://atlassc.net/2026/01/30/enable-gemini-in-chrome-one-command.md): A simple command-line trick to enable Chrome's Gemini features anywhere in the world. - [How to Manage Hugging Face CLI Model Caches](https://atlassc.net/2026/01/24/manage-huggingface-cli-model-caches.md): A guide to managing and cleaning up your Hugging Face CLI model caches to free up disk space using the new `hf` command. - [Try Qwen3 TTS Voice Design on Google Colab](https://atlassc.net/2026/01/24/try-qwen3-tts-voice-design-on-google-colab.md): A guide to running Qwen3-TTS-12Hz-1.7B-VoiceDesign on Google Colab with smart text chunking. - [How to Use Agent Skills with Google Gemini Gems](https://atlassc.net/2026/01/22/how-to-use-agent-skills-with-gemini-gems.md): Learn how to enhance Google Gemini Gems with modular Agent Skills hosted on GitHub. - [Decoding Agent Skills Markdown](https://atlassc.net/2026/01/19/decoding-agent-skills-markdown.md): Learn how to programmatically parse Agent Skills Markdown (SKILL.md) using Python and JavaScript to unlock dynamic agent capabilities. - [LLM-Driven Information Extraction: The Output Token Limitation Issue](https://atlassc.net/2026/01/15/the-asymmetry-of-generative-intelligence.md): An in-depth analysis of the output token limit as a binding constraint on information extraction in Large Language Models. - [Generate Costume Reference Sheet with Nano Banana Pro](https://atlassc.net/2026/01/15/generate-costume-reference-sheet-with-nano-banana-pro.md): Compare simple and detailed prompting strategies for generating consistent character costume reference sheets using Nano Banana Pro. - [Download Flux Models for ComfyUI Easily with ComfyDL](https://atlassc.net/2026/01/08/download-flux-models-for-comfyui-with-comfydl.md): Simplify the complex process of downloading and placing Flux models for ComfyUI using the ComfyDL CLI tool. - [Force-Enabling the Chrome Gemini Sidebar (Project Glic)](https://atlassc.net/2025/12/29/enable-chrome-ai-innovation-outside-us.md): Bypassing regional geofencing for Chrome's AI Innovation sidebar by overriding Local State eligibility. - [How to Split m4b Audiobook into Individual Files](https://atlassc.net/2025/12/28/split-m4b-audiobook-into-individual-files.md): Learn how to split m4b audiobooks into individual files for better chapter control on any regular audio player. - [Advanced JSON Prompts for Nano Banana Pro](https://atlassc.net/2025/12/28/advanced-json-prompts-for-nano-banana-pro.md): A comprehensive analysis of why JSON has emerged as the superior control interface for Nano Banana Pro, surpassing plain text in fidelity, consistency, and functional utility. - [Transform Figure to Cosplayer with Nano Banana Pro](https://atlassc.net/2025/12/28/transform-figure-to-cosplayer-with-nano-banana-pro.md): Learn how to transform photos of plastic figures into photorealistic cosplayer portraits using Nano Banana Pro. - [宇宙の騎士テッカマンブレード Blu-ray BOX - DISC10 - SINGLE COLLECTION](https://atlassc.net/2025/12/27/uchuu-no-kishi-tekkaman-blade-single-collection.md): A complete guide and tracklist for the Single Collection disc included in the Tekkaman Blade Blu-ray BOX. - [The Music of Diablo 1996-2011: Diablo 15 Year Anniversary](https://atlassc.net/2025/12/27/the-music-of-diablo-1996-2011.md): A comprehensive tracklist of the Diablo 15 Year Anniversary soundtrack, featuring iconic compositions by Matt Uelmen. - [Harry Potter Full-Cast Audio Edition vs. Movie Cast](https://atlassc.net/2025/12/26/harry-potter-full-cast-audio-edition-vs-movies.md): A comprehensive comparison between the cast of the 2025 Audible Full-Cast production and the Warner Bros. feature films. - [The Sound of the Universal Century: A Complete List of Hiroyuki Sawano's Gundam Songs](https://atlassc.net/2025/12/26/complete-list-of-hiroyuki-sawano-gundam-songs.md): A comprehensive master list of every vocal song produced by Hiroyuki Sawano for the Mobile Suit Gundam franchise. - [High-Fidelity Photo Restoration with Nano Banana Pro](https://atlassc.net/2025/12/21/high-fidelity-photo-restoration-prompt.md): A powerful prompt for restoring and upscaling vintage or blurry photographs using Google's Nano Banana Pro model. - [Mastering Character Poses with OpenPose and Google Nano Banana](https://atlassc.net/2025/12/13/generate-image-with-pose-and-character-references.md): A comprehensive guide on using OpenPose skeletons with Google's Nano Banana model to generate consistent characters in specific poses. - [Silicon Sovereignty: The 2025 Landscape of High-Performance AI Computation](https://atlassc.net/2025/12/13/silicon-sovereignty-2025-ai-chip-landscape.md): A comprehensive analysis of the 2025 AI chip market, covering NVIDIA's dominance, AMD's memory plays, hyperscaler silicon, and the rise of specialized ASICs. - [🍌 Anime to Life](https://atlassc.net/2025/12/12/anime-to-life.md): Discover how to use Nano Banana Pro 🍌 to transform anime characters into stunning photorealistic images. The ultimate guide to AI-powered anime-to-life cosplay generation. - [A Deep Dive into Multimodal AI Benchmarks: Measuring Vision, Video, and Spatial Reasoning](https://atlassc.net/2025/12/08/multimodal-ai-benchmarks.md): An overview of key benchmarks for evaluating multimodal AI models, covering visual reasoning, document parsing, spatial understanding, and video analysis. - [Top 20 Influential AI Journals and Conferences You Should Know](https://atlassc.net/2025/12/03/top-influential-ai-journals-and-conferences.md): A comprehensive list of the most influential journals and conferences in Artificial Intelligence, featuring NeurIPS, ICLR, ICML, and more. - [美国最便宜的 VPS RackNerd](https://atlassc.net/2025/12/01/racknerd-cn.md): 他们把最便宜的 VPS 都隐藏起来了,这里是我找到的直达链接。 - [RackNerd, Cheapest VPS You Can Find](https://atlassc.net/2025/12/01/racknerd.md): Most of them are hidden on RackNerd's website, but you can find their links here. - [How to Create a Digital Signature with Affinity](https://atlassc.net/2025/11/30/create-digital-signature-with-affinity-app.md): A step-by-step guide to creating a reusable digital signature with a transparent background using Affinity. - [How to Create a Digital Signature with Affinity Photo](https://atlassc.net/2025/11/30/create-digital-signature-with-affinity-photo.md): A step-by-step guide to creating a reusable digital signature with a transparent background using Affinity Photo. - [Hosting Images in Cloudflare R2: A Step-by-Step Guide](https://atlassc.net/2025/11/30/hosting-images-in-cloudflare-r2.md): Cloudflare R2 is a robust and cost-effective object storage solution that can be an excellent choice for hosting images for your website or application. This guide will walk you through the process of... - [The Great Unification: A Deep Dive into the New Affinity and Canva's Grand Strategy](https://atlassc.net/2025/11/29/the-great-unification-of-affinity-and-canva.md): A deep dive into Canva's acquisition of Affinity and the strategic shift from a paid perpetual license to a free, subscription-supported model for the creative suite. - [How to Access Nano Banana Pro](https://atlassc.net/2025/11/21/how-to-access-nano-banana-pro.md): A guide on how to get started with Google's new Nano Banana Pro image generation model. - [How to Convert Magnet URI to a .torrent File and Traverse Its Contents](https://atlassc.net/2025/11/21/how-to-convert-magnet-uri-with-bittorrent-file-traversely.md): Magnet URIs are a convenient way to share torrents without having to host a .torrent file. However, sometimes you might need to inspect the contents of a torrent before you start downloading it, or yo... - [How to Install Gemini as a Desktop App (PWA)](https://atlassc.net/2025/11/21/install-gemini-pwa-on-desktop.md): Google's Gemini is a powerful AI assistant that you can access through your web browser. While there isn't a standalone desktop application for Gemini, you can install it as a Progressive Web App (PWA... - [How to Play The Legend of Zelda: Breath of the Wild on Apple Silicon Mac](https://atlassc.net/2025/11/21/how-to-play-zelda-breath-of-the-wild-on-apple-silicon-mac.md): A step-by-step guide to installing and configuring The Legend of Zelda: Breath of the Wild on an Apple Silicon Mac using the Cemu emulator for optimal performance. - [Top Generative AI Tools to Convert Text to Flowcharts](https://atlassc.net/2025/11/20/generative-ai-text-to-flowchart-apps.md): A comprehensive guide to the best online Generative AI applications that can create flowcharts and diagrams directly from text prompts, including details on their pricing and free tiers. - [Deploy IP-Adapter Models for ComfyUI with a Simple Script](https://atlassc.net/2025/11/17/deploy-ip-adapter-models-for-comfyui.md): A straightforward guide to downloading and organizing all the necessary IP-Adapter models for ComfyUI using a convenient bash script. - [科學上網軟件與協定:實用指南](https://atlassc.net/2025/11/13/circumvention-software-and-protocols-zh-hk.md): 科學上網的入門與選型概覽,對各類工具、協定和平台進行了詳細的介紹和對比。 - [科学上网软件与协议:实用指南](https://atlassc.net/2025/11/13/circumvention-software-and-protocols-cn.md): 对现代科学上网平台(Sing-box、V2Ray/Xray、Clash Meta/Clash、Shadowsocks、Tor、Surge、Hiddify)及主要协议(VMess、VLESS、Trojan、Hysteria、WireGuard、SOCKS5/HTTP(S)、Reality/XTLS)的实用概览。 - [Circumvention Software and Protocols: A Practical Guide](https://atlassc.net/2025/11/13/circumvention-software-and-protocols.md): A comprehensive introduction to modern circumvention platforms (Sing-box, V2Ray/Xray, Clash Meta/Clash, Shadowsocks, Tor, Surge, Hiddify) and the major protocols (VMess, VLESS, Trojan, Hysteria, WireGuard, SOCKS5/HTTP(S), Reality/XTLS). - [Open Source Alternatives to Windows Terminal in 2025](https://atlassc.net/2025/11/13/open-source-alternatives-to-windows-terminal-in-2025.md): A guide to the best open-source terminal emulators for Windows as alternatives to the default Windows Terminal. - [Open Source Alternatives to Terminal.app in 2025](https://atlassc.net/2025/11/12/open-source-alternatives-to-terminal-app-in-2025.md): A comprehensive guide to the best open source terminal emulators for macOS as alternatives to the default Terminal.app. - [Effortless LaTeX: Your Guide to a Local Setup with MiKTeX and VS Code on Windows](https://atlassc.net/2025/11/08/miktex-vscode-latex-workflow-windows.md): Learn how to set up a modern, efficient LaTeX workflow on Windows by combining MiKTeX with the Visual Studio Code LaTeX Workshop extension for a seamless local development experience with live preview. - [Fixing No Internet Access on a New RackNerd VPS](https://atlassc.net/2025/11/03/fixing-no-internet-access-on-new-racknerd-vps.md): A quick guide on how to resolve internet connectivity issues on a newly created RackNerd VPS. - [Deploy n8n with Docker Compose](https://atlassc.net/2025/10/31/deploy-n8n-with-docker-compose.md): n8n is a powerful workflow automation tool that allows you to connect different services and automate tasks. While n8n offers a cloud version, self-hosting provides more control and flexibility. The r... - [Count Words in LaTeX with TeXcount](https://atlassc.net/2025/10/30/count-words-in-latex-with-texcount.md): A quick guide on how to use TeXcount to count words in a LaTeX document, from a simple command to detailed options. - [Effortless LaTeX: Your Guide to a Local Setup with MacTeX and VS Code on macOS](https://atlassc.net/2025/10/30/mactex-vscode-latex-workflow.md): Learn how to set up a modern, efficient LaTeX workflow on macOS by combining MacTeX with the Visual Studio Code LaTeX Workshop extension for a seamless local development experience with live preview. - [Create Remote Git Repo from Commandline](https://atlassc.net/2025/08/22/create-remote-git-repo-from-commandline.md): Learn how to create a remote Git repository from the command line using "gh" for GitHub and "glab" for GitLab. - [Top 6 Tools to Turn Code into Beautiful Diagrams](https://atlassc.net/2025/08/19/top-6-tools-to-turn-code-into-beautiful-diagrams.md): A practical, example-driven guide to Diagrams, Go Diagrams, Mermaid, PlantUML, ASCII diagrams, and Markmap—when to use each, trade-offs, and sample snippets. - [Setting up a Global Hotkey to Summon iTerm2](https://atlassc.net/2025/08/10/setting-up-a-global-hotkey-to-summon-iterm2.md): Learn how to set up a global hotkey to summon iTerm2 on macOS for quick terminal access. - [The Unconventional Titling of the "Rebuild of Evangelion" Film Series: A Deliberate Narrative Arc](https://atlassc.net/2025/08/04/the-unconventional-titling-of-the-rebuild-of-evangelion-film-series-a-deliberate-narrative-arc.md): Exploring the unique titling of the Rebuild of Evangelion film series and its significance in the narrative arc. - [Where to Find Big Tech Earnings Calls and Reports](https://atlassc.net/2025/07/31/big-tech-earnings-calls.md): A guide to accessing earnings calls and financial reports for major tech companies like Alphabet, NVIDIA, Amazon, Microsoft, Meta, Tesla, and Apple. - [ComfyUI Crashing on Mac with Big Images? Here's the Fix](https://atlassc.net/2025/07/10/comfyui-crashing-on-mac-with-big-images.md): If ComfyUI crashes on your Mac when generating large images, this guide explains the issue and how to fix it by downgrading PyTorch to version 2.4.1. - [When to Use Simple Machine Learning Models and When To Use Complex Models](https://atlassc.net/2025/07/06/when-to-use-simple-machine-learning-models-and-when-to-use-complex-models.md): Explore the trade-offs between simple and complex machine learning models. Learn when to choose simplicity for interpretability and speed, and when to opt for complexity for accuracy and performance. - [A Step-by-Step Guide to Completing a Machine Learning Project](https://atlassc.net/2025/06/28/a-step-by-step-guide-to-completing-a-machine-learning-project.md): A practical, replicable framework for tackling supervised machine learning projects, from initial data exploration to model evaluation and optimization. - [How to Buy Kingdom of Heaven Director's Cut in 4K on iTunes](https://atlassc.net/2025/06/22/how-to-buy-kingdom-of-heaven-director-s-cut-in-4k-on-itunes.md): A step-by-step guide to purchasing the 4K Director's Cut of Ridley Scott's Kingdom of Heaven on iTunes, ensuring you get the full experience. - [Fixing 403 Errors When Accessing Archive Packages via CI JOB TOKEN in GitLab 18](https://atlassc.net/2025/06/18/gitlab-ci-job-token-403.md): Learn how to resolve 403 Forbidden errors when accessing archive packages in GitLab CI/CD pipelines using CI_JOB_TOKEN after the security changes in GitLab 18. - [V2Ray, Clash & Clash Meta Protocol Support and Configuration Guide](https://atlassc.net/2025/06/16/proxy-protocols.md): This document introduces the proxy protocols for V2Ray, Clash, and Clash Meta. It gives simple configuration examples to help users set up these protocols. - [Concise Writing Pro](https://atlassc.net/2025/05/21/concise-writing-pro.md): A prompt to help you rewrite your content using a straightforward tone. - [Deploy ComfyUI with Flux Models Easily on Google Colab](https://atlassc.net/2025/05/07/deploy-comfyui-with-flux-models-easily-on-google-colab.md): Learn how to set up ComfyUI with Flux models on Google Colab. This guide provides a step-by-step tutorial to automate the installation and model downloads using a prepared notebook. - [Downloading Login-Required Civitai Models in Google Colab](https://atlassc.net/2025/05/06/downloading-login-required-civitai-models-in-google-colab.md): Learn how to download login-required models from Civitai directly in Google Colab using an API token stored in Colab Secrets. This guide provides step-by-step instructions and code examples. - [Score Tags with Pony Models](https://atlassc.net/2025/05/04/score-tags-with-pony-models.md): Learn how score tags improve AI-generated images in Stable Diffusion and Pony Diffusion models. Understand their significance, usage, and impact on image quality. - [Meta's Llama 4 Models Land on Ollama!](https://atlassc.net/2025/05/03/meta-s-llama-4-models-land-on-ollama.md): Meta's Llama 4 models are now available on Ollama! Discover the features, capabilities, and how to run these powerful multimodal models locally. - [Guardians of the Galaxy Vol. 3 – Aspect Ratio Guide](https://atlassc.net/2025/04/26/guardians-of-the-galaxy-vol-3-aspect-ratio-guide.md): Explore the aspect ratios of Guardians of the Galaxy Vol. 3 across different platforms. Understand the differences between IMAX, variable, and scope formats to choose the best viewing experience. - [Knowledge Distillation vs. Training on Synthetic Data - Understanding Two Ways AI Learns from AI](https://atlassc.net/2025/03/29/knowledge-distillation-vs-training-on-synthetic-data.md): Explore the differences between Knowledge Distillation and Training on Synthetic Data in AI. Understand how these techniques work, their applications, and the implications of using them in your projects. - [Visual Grounding: A Deep Dive](https://atlassc.net/2025/03/09/visual-grounding-a-deep-dive.md): Explore the field of visual grounding, its approaches, applications, challenges, and future directions. Learn about 3D visual grounding, advanced topics, and the intersection with related fields like NLP and computer vision. - [Agentic Document Extraction: A Deep Dive](https://atlassc.net/2025/03/09/agentic-document-extraction-a-deep-dive.md): Explore the cutting-edge technology of agentic document extraction, its techniques, applications, and future prospects. Learn how AI is revolutionizing document processing and information extraction. - [Comprehensive Review of GPT-4.5](https://atlassc.net/2025/02/28/gpt-4-5.md): A comprehensive review of GPT-4.5, OpenAI's latest model, highlighting its key capabilities, improvements, performance benchmarks, limitations, and roadmap context. - [C# Fullstack Developer Career in Auckland Analysis - 2025](https://atlassc.net/2025/02/24/c-fullstack-developer-career-in-auckland-analysis-2025.md): Explore the skills, technologies, and opportunities for C# full stack developers in Auckland, New Zealand, in 2025. Learn about the essential areas to focus on, online courses, and bootcamps to kickstart your career. - [Node.js Full Stack Developer Job Opportunities in Auckland, New Zealand - 2025](https://atlassc.net/2025/02/22/nodejs-jobs-in-auckland-2025.md): Explore the job market for Node.js full stack developers in Auckland, New Zealand, in 2025. Discover salary expectations, trends, and tips for starting your career in this thriving tech hub. - [Tifa-Deepsex-14b-CoT-GGUF-Q4: A Roleplay and CoT Model Powered by DeepSeek R1](https://atlassc.net/2025/02/16/tifa-deepsex-14b-cot-gguf-q4.md): The Tifa-Deepsex-14b-CoT-GGUF-Q4 model is a groundbreaking AI language model that combines roleplay dialogue generation with advanced chain-of-thought reasoning. Powered by DeepSeek R1, this model offers a new level of sophistication in narrative coherence and creative storytelling. - [Concord's Crash Landing: A Timeline of Misguided Choices](https://atlassc.net/2025/02/16/concord-s-crash-landing.md): After eight years and a staggering budget, Sony's hero shooter Concord launched in 2024 only to crash and burn within two short weeks. While many factors contributed to its collapse, the most damning mistake was Sony's misguided embrace of forced diversity, equity, and inclusion (DEI) policies. Rather than focusing on innovative gameplay and authentic storytelling, Concord became a showcase for a politically driven agenda that alienated core gamers and set the stage for catastrophic failure. - [What Do We Need to Develop a Deep Research AI Agents Beyond LLMs?](https://atlassc.net/2025/02/15/build-deep-research-beyond-llms.md): Developing advanced AI agents beyond Large Language Models (LLMs) requires a diverse set of technologies and frameworks. Explore the essential tools, techniques, and architectures that empower these intelligent systems. - [Revolutionizing Hash Tables: An Undergraduate's Breakthrough](https://atlassc.net/2025/02/13/revolutionizing-hash-tables-an-undergraduate-s-breakthrough.md): Explore the groundbreaking work of Andrew Krapivin, an undergraduate student, who revolutionized hash tables with a new design and disproved a long-held conjecture in computer science. - [Configuring Ollama Models in Cline via OpenAI-Compatible Provider](https://atlassc.net/2025/02/13/configuring-ollama-models-in-cline-via-openai-compatible-provider.md): Learn how to configure Ollama models in Cline via an OpenAI-compatible provider setup to enhance your development workflow and coding efficiency. - [Mastering DeepSeek Prompt Engineering: From Basics to Advanced Techniques](https://atlassc.net/2025/02/13/mastering-deepseek-prompt-engineering-from-basics-to-advanced-techniques.md): Explore the art of crafting effective prompts for DeepSeek AI, from fundamental principles to advanced methodologies, and domain-specific applications. - [A Deep Dive into Academic Papers](https://atlassc.net/2025/02/13/a-deep-dive-into-academic-papers.md): This guide explores the unique characteristics and purposes of academic papers, alongside the writing and publishing processes. - [Decoding the World of Academic Papers: A Comprehensive Guide](https://atlassc.net/2025/02/13/decoding-the-world-of-academic-papers-a-comprehensive-guide.md): Explore the diverse landscape of academic papers, from research articles to review papers, and understand their unique characteristics and purposes in scholarly communication. - [Fixing Clash Meta TUN Mode Internet Issues: Proper DNS Configuration](https://atlassc.net/2025/02/12/fixing-clash-meta-tun-mode-internet-issues-proper-dns-configuration.md): Learn how to address and resolve internet connectivity issues in Clash Meta's TUN mode by configuring DNS settings properly to prevent leaks and ensure seamless browsing. - [Why Ollama LLM Loads Memory into Wired Memory on macOS](https://atlassc.net/2025/02/10/why-ollama-llm-loads-memory-into-wired-memory-on-macos.md): Understand why Ollama Large Language Models (LLMs) load memory into wired memory on macOS and how it impacts performance and system stability. - [The Curious Case of Distillation: Did DeepSeek Copy OpenAI's AI?](https://atlassc.net/2025/02/09/the-curious-case-of-distillation-did-deepseek-copy-openai-s-ai.md): Explore the controversy surrounding distillation in AI, as OpenAI accuses DeepSeek of copying their models. Learn about the origins of distillation, its implications, and the potential impact on the future of AI development. - [Introducing GitHub Copilot's Agent Mode: A New Era in AI-Powered Coding](https://atlassc.net/2025/02/09/github-copilot-agent.md): Discover GitHub Copilot's new Agent Mode, enhancing AI-driven code assistance by autonomously iterating, debugging, and executing tasks within Visual Studio Code. - [S1: Achieving O1-Level Reasoning with Just $50](https://atlassc.net/2025/02/08/s1-simple-test-time-scaling.md): Li Fei-Fei's Team Trains an O1-Level Reasoning Model for Just $50! The AI community has been buzzing about OpenAI's O1 model, which demonstrated remarkable test-time scaling and strong reasoning capab... - [Local Coding Agent: Run DeepSeek R1 Locally, Use It with Ollama and Cline](https://atlassc.net/2025/02/05/cline-with-local-deepseek.md): Learn how to run DeepSeek R1 locally using Ollama and connect it with Cline, a powerful programming agent for VS Code. - [Perplexity Assistant: A New AI-Powered Helper on Android](https://atlassc.net/2025/02/05/perplexity-assistant.md): Discover the new AI-powered assistant, Perplexity Assistant, designed to make your daily tasks easier on Android devices. - [OpenAI's o3-mini: Where to Find this Powerful Reasoning Model](https://atlassc.net/2025/02/04/o3-mini-and-where-to-find-it.md): Explore the platforms where developers and users can access OpenAI's latest large language model, o3-mini, designed to provide enhanced reasoning capabilities with improved efficiency and cost-effectiveness. - [Run Uncensored DeepSeek R1 on Your Local Machine](https://atlassc.net/2025/02/02/run-uncensored-deepseek-r1-on-your-local-machine.md): Learn how to run an uncensored reasoning LLM on your local machine using Ollama. - [DeepSeek Providers and Clients](https://atlassc.net/2025/02/02/deepseek-providers-and-clients.md): DeepSeek is a startup company, their services isn't stable yet. Luckily, we can access the model through their providers and clients due to it's open-source nature. This article will guide you through the process of accessing DeepSeek's services through providers and clients. - [Running DeepSeek-R1 Model on Your Local Machine](https://atlassc.net/2025/01/29/run-deepseek-r1.md): Learn how to set up and run the DeepSeek-R1 model on your local machine using Ollama, covering hardware requirements, installation steps, and client usage. - [Uncensored LLMs on Ollama](https://atlassc.net/2025/01/16/uncensored-llms-on-ollama.md): A detailed guide to running uncensored large language models (LLMs) on Ollama, covering setup, configuration, and best practices. - [Mastering Styles in Microsoft Word](https://atlassc.net/2025/01/16/mastering-styles-in-microsoft-word.md): Learn how to use Styles in Microsoft Word to format your documents efficiently and create professional-looking content. - [Connect Google Analytics with Google AdSense](https://atlassc.net/2025/01/16/connect-google-analytics-with-google-adsense.md): Learn how to link your Google Analytics and Google AdSense accounts to gain valuable insights into your website's ad revenue and user behavior. - [Deploy ComfyUI on Google Colab](https://atlassc.net/2025/01/16/deploy-comfyui-on-google-colab.md): This post guides you through setting up and running ComfyUI on Google Colab. - [Installing ComfyUI on Windows for Intel Arc GPUs](https://atlassc.net/2025/01/16/installing-comfyui-on-windows-with-intel-arc-gpus.md): A step-by-step guide to installing ComfyUI on Windows systems equipped with Intel Arc GPUs, leveraging native XPU support. - [Installing ComfyUI on Linux](https://atlassc.net/2025/01/16/installing-comfyui-on-linux.md): A comprehensive guide to installing ComfyUI on Linux systems, covering NVIDIA (CUDA), AMD (ROCm), and Intel Arc configurations. - [Reuse AUTOMATIC1111 Stable Diffusion WebUI Models in ComfyUI](https://atlassc.net/2025/01/16/reuse-a1111-sd-webui-models-in-comfyui.md): This post explains how to leverage your existing Stable Diffusion models from AUTOMATIC1111's web UI in ComfyUI. - [Installing ComfyUI on Windows for AMD GPUs](https://atlassc.net/2025/01/16/installing-comfyui-on-windows-for-amd-gpus.md): A step-by-step guide on installing ComfyUI, a powerful and modular diffusion model GUI, on Windows systems with AMD GPUs using the latest native ROCm support. - [Installing ComfyUI on Windows with NVIDIA GPUs](https://atlassc.net/2025/01/16/installing-comfyui-on-windows-with-nvidia-gpus.md): A comprehensive guide to installing ComfyUI, the powerful and modular diffusion model GUI, on your Windows system with an NVIDIA GPU, leveraging CUDA acceleration. - [Installing ComfyUI on macOS with Apple Silicon](https://atlassc.net/2025/01/16/installing-comfyui-on-macos-with-apple-silicon.md): A step-by-step guide to installing ComfyUI, a powerful and modular diffusion model GUI, on your Apple Silicon Mac using native Metal (MPS) acceleration. - [Configuring Your Ollama Server](https://atlassc.net/2025/01/15/configuring-your-ollama-server.md): Ollama is a powerful tool for running large language models (LLMs) locally, but to get the most out of it, you'll want to configure it to suit your specific needs and environment. This blog post will ... - [Specifying Ollama's Context Window Size](https://atlassc.net/2025/01/15/specifying-ollama-s-context-window-size.md): Learn how to adjust the context window size in Ollama to optimize performance and enhance the memory of your large language models. - [Using Ollama Behind a Proxy](https://atlassc.net/2025/01/15/using-ollama-behind-a-proxy.md): Learn how to configure Ollama to work seamlessly behind a proxy, whether you're using it directly on your system or within a Docker container. - [Show the Navigation Pane in Microsoft Word](https://atlassc.net/2025/01/11/show-the-left-navigation-pane-in-microsoft-word.md): Learn how to enable and utilize the Navigation Pane in Microsoft Word to easily navigate through your documents. - [Front-End Frameworks in 2025](https://atlassc.net/2025/01/04/front-end-frameworks-in-2025.md): A comprehensive overview of the front-end development landscape in 2025, exploring the most popular frameworks, new features, job market trends, and performance optimization strategies. - [Solution to Topaz Photo AI Crashing or Error Loading Models](https://atlassc.net/2024/12/29/solution-to-topaz-photo-ai-crashing-or-model-not-loaded.md): A guide to resolving crashes and model loading errors in Topaz Photo AI by deleting cached library files. - [V2rayN TUN 模式常见问题及解决方案](https://atlassc.net/2024/11/12/v2rayn-tun-mode-faq-and-solutions.md): 一篇关于 V2rayN v6.31+ 版本中 TUN 模式问题的详细指南,提供了快速解决方案和深度问题排查方法。 - [Open Shared Document in Word App](https://atlassc.net/2024/11/10/open-shared-document-in-word-app.md): A step-by-step guide to opening shared online files directly in your local Word app. - [How to Update SSH Port](https://atlassc.net/2024/11/05/how-to-update-ssh-port.md): A quick guide on how to change the default SSH port on a Linux server. - [Batch ControlNet Task with WAS Node Suite](https://atlassc.net/2024/10/29/batch-controlnet-task-with-was-node-suite.md): Learn how to process a batch of images with the ControlNet OpenPose model in ComfyUI using the WAS Node Suite custom node. - [How to Share Ollama Server Through IP Address and Port](https://atlassc.net/2024/10/25/how-to-share-ollama-server-through-ip-address-and-port.md): Learn how to configure the Ollama server to share it with other devices on your network using an IP address and port, allowing for remote access and collaboration. - [Chart Libraries for Data Visualization](https://atlassc.net/2024/10/23/chart-libraries.md): Explore popular chart libraries for creating interactive and visually appealing data visualizations in web applications and documents. - [Pull All Git Repositories with a Simple Bash Script](https://atlassc.net/2024/10/20/pull-all.md): Learn how to pull updates from all Git repositories within a directory using a Bash script. - [Deploying a Password-Protected Docker Registry Mirror](https://atlassc.net/2024/09/28/deploying-a-password-protected-docker-registry-mirror.md): Learn how to deploy a password-protected Docker registry mirror with token-based authentication for enhanced security. - [AI Courses](https://atlassc.net/2024/09/28/ai-courses.md): Comprehensive AI Course Guide for Aspiring Learners Artificial Intelligence (AI) is transforming industries and shaping the future. If you're aiming to build a strong foundation in AI, it's crucial to... - [Setting Up a Self-Hosted GitHub Actions Runner on Linux](https://atlassc.net/2024/09/26/setting-up-a-self-hosted-github-actions-runner-on-linux.md): Learn how to set up a self-hosted GitHub Actions runner on a Linux machine. This guide covers user creation, service setup, and runner configuration to help you run workflows in your own environment. - [Use the Internet to Find My Location](https://atlassc.net/2024/09/25/use-the-internet-to-find-my-location.md): Learn how to get your location using network-based methods in Python. Use the `requests` library to access an API that provides geolocation information based on your IP address. - [Affinity UI Disappeared](https://atlassc.net/2024/09/24/affinity-ui-disappeared.md): Learn how to bring back the Affinity UI if it disappeared accidentally or due to a bug. Follow these steps to restore the Affinity UI and continue working on your projects without any interruptions. - [Minio SignatureDoesNotMatch](https://atlassc.net/2024/09/18/minio-signaturedoesnotmatch.md): Learn how to resolve the "The request signature we calculated does not match the signature you provided. Check your key and signing method." error when setting up Minio as the storage backend for LobeHub. - [How to Enable API Cross-Origin for Ollama](https://atlassc.net/2024/09/15/how-to-enable-api-for-ollama.md): Learn how to enable the API for Ollama on macOS, Windows, Linux, and Docker, allowing cross-origin access for seamless integration and functionality. - [Best Resolution for Stable Diffusion 1.5 and SDXL](https://atlassc.net/2024/09/07/best-resolution-for-stable-diffusion-1-5-and-sdxl.md): Learn about the best resolution for Stable Diffusion 1.5 and SDXL to achieve optimal performance and image quality. - [How to Cite a Web Page in LaTeX with URL](https://atlassc.net/2024/09/05/cite-page-url-in-latex.md): How to cite a web page with a URL in LaTeX using the misc entry type in your .bib file. - [/usr/sbin/dpkg-reconfigure: resolvconf is broken or not fully installed](https://atlassc.net/2024/09/04/resolvconf-is-broken-or-not-fully-installed.md): How to fix the error message '/usr/sbin/dpkg-reconfigure: resolvconf is broken or not fully installed' on Ubuntu. - [ControlNet Union SDXL 1.0, One Model to Rule Them All.](https://atlassc.net/2024/08/07/controlnet-union-sdxl.md): What is ControlNet Union SDXL 1.0? The ControlNet for SDXL has not quite functioned as well as those for SD 1.5. However, now we have ControlNet Union SDXL 1.0, which has implemented all the features ... - [How to Find Your Google/Gmail Account Creation Date](https://atlassc.net/2024/08/04/how-to-find-your-google-gmail-account-creation-date.md): Curious about when you created your Gmail account? Here’s how to find out! 1. Check the Welcome Email When you first set up your Gmail account, Google sends a welcome email. You can refer to the date ... - [从阿里云源安装 Docker CE 以及私有部署 Docker 加速器](https://atlassc.net/2024/06/11/install-docker-ce-from-aliyun.md): 不知道这个方法能用多久。 - [SONY WH-1000XM4 Self Repair Kit Earpads Replacement](https://atlassc.net/2024/06/11/sony-wh-1000xm4-self-repair-kit-earpads-replacement.md): Sony Accessories are hard to find, especially the earpads for the WH-1000XM4. Here is how you can get the original earpads for your headphones. - [自建 Docker 加速器 - Registry Mirror](https://atlassc.net/2024/06/11/docker-registry-mirror-cn.md): 我见过卡脖子的,没见过有人这么使劲卡自己脖子的。这真的是个荒诞的地方。 - [Remove Logitech G Hub From macOS](https://atlassc.net/2024/05/22/remove-logitech-g-hub-from-macos.md): Learn how to remove Logitech G Hub from macOS. - [How to Re-enable Text Selection on Websites That Have Disabled It](https://atlassc.net/2024/05/21/how-to-re-enable-text-selection-on-websites-that-have-disabled-it.md): Learn how to bypass text selection restrictions on websites and re-enable the ability to copy text using JavaScript, bookmarklets, and browser extensions. - [Create a Windows Installer USB Stick on macOS](https://atlassc.net/2024/05/21/create-a-windows-installer-usb-stick-on-macos.md): Learn how to create a bootable Windows Installer USB Stick on macOS. - [如何配置 OpenAI 的第三方客户端](https://atlassc.net/2024/05/20/openai-user-clients.md): 密钥和端点 OpenAI 提供了 GPT 模型的 API,主要通过 API Key 进行身份验证。我们可以在 OpenAI 的第三方客户端中配置 API Key 和 Endpoint 来调用 GPT 模型的接口。很多其他 AI 模型服务也兼容 OpenAI 的 API 协议,因此我们可以按照这个方法配置其他 AI 模型服务。 API Key 这 不是你的密码,而是你使用账号密码登录 AI 服务平... - [one-api 模型定价倍率的设置](https://atlassc.net/2024/05/18/one-api-model-pricing-ratio.md): one-api 是一个开源的 AI API 聚合程序,它支持 OpenAI、Google、Anthropic 等多个 API 提供商。one-api 通过一个统一的 API 接口,让用户可以方便地在不同的 API 提供商之间切换,并且提供用户计费功能,可以为每个用户的 API 请求计算价格。 倍率:在 one-api 的模型定价体系中,以 $0.002 1K tokens 为1倍,换算成 1M ... - [任意文字翻译成古汉语](https://atlassc.net/2024/05/04/ancient-chinese-translator-gpts.md): 通过多轮翻译,将任意语言翻译成古汉语,力求“信达雅”。 - [The Ethical Tightrope of Artificial Intelligence](https://atlassc.net/2024/04/15/the-ethical-tightrope-of-artificial-intelligence.md): The swift rise of artificial intelligence (AI) undoubtedly presents a spectrum of ethical concerns that demand careful consideration. While AI offers immense potential for progress in various fields, ... - [在 NextChat 中使用 Google 的最新 AI 模型 Gemini 1.5 Pro 的指南](https://atlassc.net/2024/04/14/gemini-1-5-pro-with-nextchat.md): 通过 NextChat 应用程序访问 Google 的最新 AI 模型 Gemini 1.5 Pro 的指南,释放其用于创意文本生成、信息问答和指令完成的全部潜力。 - [Unleash the Power of Gemini 1.5-Pro: A Guide to Accessing Google's Latest AI Model with NextChat](https://atlassc.net/2024/04/14/gemini-15-pro-with-nextchat.md): A guide to accessing Google's latest AI model, Gemini 1.5 Pro, through the NextChat application, unlocking its full potential for creative text generation, question answering, and instruction completion. - [民族主义](https://atlassc.net/2024/04/08/fuck-little-pinks.md): 你自我归类于这个群体,因为你个人本身毫无贡献价值 - [使用 Google Gemini 总结 Chip War 导读](https://atlassc.net/2024/04/08/chip-war-gemini.md): 《芯片战争:争夺全球最关键技术的战斗》导读 - [Effortlessly Update All Your Git Repositories at Once](https://atlassc.net/2024/04/07/update-all-your-git-repositories-at-once.md): Learn how to update all your Git repositories at once with a single command, streamlining your workflow and ensuring that all your projects are up-to-date. - [Major LLMs Pricing Comparison](https://atlassc.net/2024/04/05/llm-pricings.md): A comparison of the pricing of major large language models (LLMs) from OpenAI, Google, and Anthropic. - [Parsing Excel Dates with Node.js xlsx Library](https://atlassc.net/2024/04/04/parsing-excel-dates-with-node-js-xlsx-library.md): Learn how to accurately parse and convert Excel date formats to JavaScript Date objects using the Node.js xlsx library, with a step-by-step guide and code examples. - [SQL 101](https://atlassc.net/2024/04/03/sql-101.md): SQL is a powerful language for managing and querying databases. This guide covers the basics of SQL, including key categories, operators, functions, and data types. - [Handling Safari Compatibility in React with CSS Modules](https://atlassc.net/2024/03/27/handling-safari-compatibility-in-react-with-css-modules.md): Learn how to handle Safari-specific styling in React applications using CSS Modules and conditional rendering based on the user's browser. - [Type Declarations for External Global Objects in TypeScript React](https://atlassc.net/2024/03/27/type-declarations-for-external-global-objects-in-typescript-react.md): Guide on how to declare types for external global objects in TypeScript React projects. - [支付宝统一收单交易查询接口(alipay.trade.query)的文档有坑](https://atlassc.net/2024/03/23/pitfalls-in-the-alipay-interface-alipay-trade-query.md): 示例代码中的参数会引起报错。 - [Docker Inside GitLab Runner's Docker Executor: A Docker-in-Docker Practice](https://atlassc.net/2024/03/22/docker-inside-gitlab-runner-s-docker-executor-a-docker-in-docker-practice.md): This article explains how to use Docker and its CLI plugins inside a Docker container running as a GitLab Runner executor. This can be useful for running Docker commands on a remote host or for using Docker plugins that are not available on the host system. - [Gemini 1.5 Pro 评《阿Q正传》](https://atlassc.net/2024/03/18/a-q.md): 让 Google Gemini 1.5 Pro 阅读《阿Q正传》并编写书评。 - [Migrating Databases Smoothly with SQLAlchemy: A Secure Approach](https://atlassc.net/2024/03/16/migrating-databases-smoothly-with-sqlalchemy-a-secure-approach.md): Learn how to smoothly migrate databases using SQLAlchemy. This guide covers secure connection handling, data transformations, and best practices for database migrations in Python. - [Implement Options Search for Ant Design ProFormSelect](https://atlassc.net/2024/03/14/implement-options-search-for-ant-design-proformselect.md): Learn how to implement options search for Ant Design ProFormSelect to make it easier for users to find the options they need. - [Google Authenticator and the Tech Behind It](https://atlassc.net/2024/03/14/google-authenticator-and-the-tech-behind-it.md): Learn about Google Authenticator, two-factor authentication (2FA), and the HOTP and TOTP algorithms that power its secure code generation. - [报销小技巧:巧用App开票,告别发票烦恼!](https://atlassc.net/2024/03/13/golden-tax-phase-iv.md): 在日常生活中,我们难免会遇到需要报销的情况。然而,有些消费商家却不提供发票,这对于需要报销的人来说无疑是件麻烦事。别担心,其实很多手机App都提供了便捷的开票功能,即使是过去的消费记录也能补开发票。下面就给大家分享几个实用的发票开票小技巧。 - [Installing PostgreSQL on macOS with Homebrew](https://atlassc.net/2024/03/12/installing-postgresql-on-macos-with-homebrew.md): PostgreSQL, a powerful open-source relational database management system, can be installed on macOS using Homebrew, a package manager for macOS. - [Installing MySQL on macOS with Homebrew](https://atlassc.net/2024/03/12/installing-mysql-on-macos-with-homebrew.md): MySQL is a popular open-source relational database management system (RDBMS). It is widely used for web applications, data analysis, and other database-driven tasks. This blog post will guide you through the steps on how to install MySQL on macOS using Homebrew, a package manager for macOS. - [Gemini 1.5 Pro 解析金庸《鹿鼎记》:权力、欲望与人性](https://atlassc.net/2024/03/11/the-deer-and-cauldron.md): 使用 Gemini 1.5 Pro 的100万 token 超长上下文能力编写长篇小说的赏析。 - [Troubleshooting Network Connectivity: 'traceroute' and 'tracert'](https://atlassc.net/2024/03/09/traceroute.md): Use 'traceroute' or 'tracert' to trace the path your data packets take to their destination. - [微信支付 JSSDK iOS 常见问题](https://atlassc.net/2024/03/06/wechat-pay-jssdk-common-issues-on-ios.md): 调用支付 JSAPI 缺少参数 timeStamp、当前页面的 URL 未注册。 - [ORM-Modeling GPTs](https://atlassc.net/2024/03/06/orm-modeling-gpts.md): Help user to write a model with the `orm-modeling` library. - [Icon Finder GPTs](https://atlassc.net/2024/02/29/icon-finder-gpts.md): Help user find React Icons with their subjects. - [TSTypeGen GPT: The GPTs to Generate TypeScript Type with Given Fields](https://atlassc.net/2024/02/27/tstypegen-gpt-the-gpts-to-generate-typescript-type-with-given-fields.md): Provide your field names to TSTypeGen, and it will automatically generate TypeScript type definitions with helpful comments. If you include descriptions, they'll be used in the comments; otherwise, TSTypeGen will intelligently create descriptive annotations for you. - [Resolved: ChatGPT Android App Issues with Loading and Connection](https://atlassc.net/2024/01/26/resolved-chatgpt-android-app-issues-with-loading-and-connection.md): Experiencing issues with the ChatGPT app on Android, such as being unable to connect to the server or the app getting stuck on the loading screen? Here's a step-by-step guide to effectively resolve these common problems. - [通俗科普作家 GPT](https://atlassc.net/2024/01/11/popular-science-writer.md): Try it on GPTs Store 作为通俗科普创作助手,我将根据您提供的选题和附加信息按以下要点为您创作可以把复杂的科学概念用简单明了的语言表达出来,让没有专业背景的读者也能理解的科普文章: 1. **简化语言**: - 使用日常语言和生活中的比喻来解释专业术语。 - 避免过多的技术性词汇,如果需要使用,确保给出清晰的定义或解释。 - 请使用口语化的语言来写作,不要使用... - [使用 One-API 和 NextChat 搭建私人的 AI 助理](https://atlassc.net/2024/01/07/deploy-one-api-with-chatgpt-next-using-docker.md): 通过将 One API 与 NextChat 或 Lobe Chat 相结合,你可以创建私人、可定制且经济高效的 ChatGPT 体验,供个人或共享使用。 - [Create Your Own ChatGPT with One API and NextChat or Lobe Chat](https://atlassc.net/2024/01/07/private-chatgpt.md): By combining One API and NextChat or Lobe Chat, you can create a private, customizable, and cost-effective ChatGPT experience for personal or shared use. - [An Emoji Journey Through 2000-2024](https://atlassc.net/2024/01/07/an-emoji-journey-through-2000-2024.md): Let's assign an emoji to each year from 2000 to 2024 that might reflect a significant event, trend, or popular culture reference from that year. - [How to Download AI Models from CivitAI Using Cookies in Your Code](https://atlassc.net/2024/01/07/download-models-from-civitai-with-cookies.md): This is especially useful if you want to integrate model downloads into your scripts or workflows. - [Hands-on with Stable Diffusion XL Turbo using Automatic1111: Unleash Real-Time Image Generation Magic](https://atlassc.net/2024/01/07/sdxl-turbo-with-automatic1111.md): Dive into the world of lightning-fast image creation with this guide to Stable Diffusion XL Turbo (SDXL Turbo) on Automatic1111! ⚡️️ - [使用阿里云源加速 pip 安装包](https://atlassc.net/2024/01/06/pip-aliyun.md): 使用阿里云源可以大幅提高 pip 安装包的速度。本文介绍了如何使用阿里云源加速 pip 安装包。 - [Unlocking User Data in TypeScript FeathersJS V5 Custom Services](https://atlassc.net/2024/01/05/unlocking-user-data-in-typescript-feathersjs-v5-custom-services.md): Facing the Feathery Challenge While working with FeathersJS V5 and TypeScript, I have encountered a peculiar challenge: accessing the user object within custom services. While authentication mechanism... - [Double Component Loads in React with React Router](https://atlassc.net/2024/01/05/double-component-loads-in-react-with-react-router.md): The Problem Recently, I encountered a perplexing issue while working with React Router in my React application — my components were loading twice every time I navigated to a new route. This behavior w... - [Outpainting Images with Ease: A Guide to Using ControlNet Inpaint + LAMA for Efficient Image Expansion](https://atlassc.net/2024/01/02/stable-diffusion-outpaint.md): Discover the revolutionary technique of outpainting images using ControlNet Inpaint + LAMA, a method that transforms the time-consuming process into a single-generation task. This guide walks you through the steps to expand images with precision and quality, making it an essential tool for artists, designers, and content creators. Say goodbye to hours of frustration and hello to seamless image expansion. - [How to Solve the Problem of Quarantined Apps on macOS](https://atlassc.net/2024/01/01/how-to-solve-the-problem-of-quarantined-apps-on-macos.md): macOS says your newly downloaded app is damaged and can't be opened? Here's how to solve it. - [Solving Server-Sent Events (SSE) Cache Problems: Realtime Response Held Back by Nginx Caching](https://atlassc.net/2023/12/29/realtime-server-sent-events-held-back-by-nginx.md): How to solve Server-Sent Events (SSE) cache problems with HTTP headers in Node.js applications. - [OpenAI Translator Prompts](https://atlassc.net/2023/12/18/openai-translator-prompts.md): A GPT tool for language and text tasks. - [Ultimate Solution to Generate Ultra High Resolution Image using Stable Diffusion WebUI](https://atlassc.net/2023/12/18/generating-ultra-high-resolution-images-using-stable-diffusion-webui.md): Generate Ultra High Resolution Image using Stable Diffusion WebUI - [Use Instructions with Google Gemini](https://atlassc.net/2023/12/16/use-instructions-with-google-gemini.md): Use Instructions to guide Google Gemini's behavior. - [git-gpt](https://atlassc.net/2023/12/11/git-gpt.md): A GPT-based cli tool to help me manage my git repositories, specifically to help me write better commit messages. - [How to Extract Actual Instructions from a Custom ChatGPT](https://atlassc.net/2023/12/09/how-to-extract-actual-instructions-from-a-custom-chatgpt.md): Let's steal the art. - [yt-dlp:一站式视频下载工具的终极指南](https://atlassc.net/2023/12/08/yt-dlp-guide.md): 所有视频内容尽在我手。 - [How to Set Up Cloudflare Page Rules for Domain Redirection](https://atlassc.net/2023/12/07/how-to-set-up-cloudflare-page-rules-for-domain-redirection.md): In Cloudflare, create a Page Rule to redirect a domain: Log in, select your domain, navigate to "Page Rules", and create a new rule. Specify the URL pattern and set Forwarding URL with a 301 or 302 redirect to the desired destination. Save, deploy, and test the redirect for effectiveness. - [自定义 ChatGPT Instructions - 自然语言编程](https://atlassc.net/2023/12/05/gpt-instructions-explained.md): 使用 Instructions 指令来创建一个可以执行特定文字处理任务的 ChatGPT。 - [Stable Diffusion Prompts Crafter GPT](https://atlassc.net/2023/12/04/sd-prompts-crafter.md): A Stable Diffusion prompts crafter. You can use it to generate prompts for Stable Diffusion. - [Language Transformer GPT](https://atlassc.net/2023/12/04/language-transformer-gpt.md): A virtual machine for language transformation. By default, it only prints content, making it quick to copy. - [Completely Uninstall IntelliJ IDEA and Reinstall It](https://atlassc.net/2023/11/29/completely-uninstall-intellij-idea.md): Introduction Whether you're dealing with performance hiccups or just want to reset your development environment, sometimes a complete uninstallation of your IDE is the best course of action. For users... - [What is `mds_stores` and Why Does it Use So Much Memory?](https://atlassc.net/2023/11/25/mds-stores.md): Introduction If you're a macOS user, you might have noticed a process named mds_stores in your Activity Monitor, sometimes using a substantial amount of your system's memory. This can be puzzling and ... - [Removing Duplicate Extension in Visual Studio Code](https://atlassc.net/2023/11/24/removing-duplicate-extension-in-visual-studio-code.md): Introduction Visual Studio Code (VSCode), a popular code editor, occasionally encounters hiccups with its extensions. A common issue is when an extension, such as "Database Client," appears not instal... - [Resolving MaxListenersExceededWarning in a FeathersJS App with Socket.io](https://atlassc.net/2023/11/22/resolving-maxlistenersexceededwarning-in-a-feathersjs-app-with-socket-io.md): Learn how to resolve the MaxListenersExceededWarning in a FeathersJS application using Socket.io. - [在 Azure 上部署 GPT-4-Turbo 和 DALL-E-3 模型](https://atlassc.net/2023/11/21/gpt-4-turbo-and-dall-e-3-on-azure-openai-service.md): Azure 云平台最近宣布支持 GPT-4-Turbo 和 DALL-E-3 模型,为开发者提供了强大的 AI 功能。 - [Introducing the Command Palette in GitLab: A Game-Changer for Developers](https://atlassc.net/2023/11/21/command-palette-in-gitlab.md): GitLab has recently integrated the Command Palette in version 16.2, significantly enhancing the user experience. - [How to Clean Up Disk Space by Finding Large Files Using "find" & "du"](https://atlassc.net/2023/11/19/how-to-clean-up-disk-space-by-finding-large-files-using-command.md): A concise guide on using "du" and "find" commands in Unix systems to locate and manage large files, freeing up disk space effectively. - [在新的 Azure AI Studio 中关闭 Azure OpenAI 服务的内容过滤器](https://atlassc.net/2023/11/19/turning-off-azure-openai-service-content-filters.md): 终于可以关闭了! - [Turning Off Azure OpenAI Service's Content Filters in the New Azure AI Studio](https://atlassc.net/2023/11/19/turning-off-azure-openai-service-s-content-filters.md): Finally! - [Solving the "Too Many Redirects" Error with Cloudflare and Certbot](https://atlassc.net/2023/11/17/solving-the-too-many-redirects-error-with-cloudflare-and-certbot.md): Configure CloudFlare's SSL/TLS mode to Full - [Demystifying `WITH RECURSIVE` in SQL: A Guide to Hierarchical Queries](https://atlassc.net/2023/11/14/with-recursive.md): Introduction In the fascinating world of SQL and database management, hierarchical data structures pose unique challenges. Whether it's organizational structures, category trees, or nested file system... - [Optimizing Hierarchical Data Queries in SQL: Recursive CTE vs Iterative Approach](https://atlassc.net/2023/11/14/optimizing-hierarchical-data-queries-in-sql.md): Learn how to efficiently query hierarchical data using SQL in a JavaScript environment with Knex. - [Syncing iTerm2 Preferences and Profiles Using Git](https://atlassc.net/2023/11/14/syncing-iterm2-preferences-and-profiles-using-git.md): Learn how to use Git to sync your iTerm2 preferences and profiles across multiple machines. - [Understanding the Differences Between su and sudo su in Unix-like Systems](https://atlassc.net/2023/11/14/su-and-sudo-su.md): The su and sudo su commands are often used interchangeably, but they serve different purposes and come with their own set of implications. - [Fixing File Permissions for Webtop on Synology: A Step-by-Step Guide](https://atlassc.net/2023/11/09/fixing-file-permissions-for-webtop-on-synology.md): Guide to resolving file permission issues in Synology's Webtop container for improved system security and efficiency. - [React Uncaught Error: Minified React error #418 #423](https://atlassc.net/2023/11/03/react-uncaught-error-minified-react-error-418-423.md): Unveiling and addressing React SSR and Hydration errors #418 and #423 through a transition from `hydrateRoot` to `hydrate`. - [卸载 Pantum 奔图打印机驱动](https://atlassc.net/2023/10/31/uninstall-pantum-printer-driver-on-macos.md): 奔图打印机的驱动兼容非常糟糕,macOS 不能自动识别,需要去官网下载驱动套件才能使用。 安装完驱动以后会有一个 USBMonitor 的后台进程会开机自动启动,且容易内存泄漏,导致系统卡顿。非常恶心人。 如果要完全卸载奔图打印机驱动,操作如下: 1. 卸载设备 1.1 进入 /Library/Printers/Pantum 目录。 1.2 找到 Utilities 目录下已安装驱动型号的文件夹,... - [JavaScript OpenAI Client Notes](https://atlassc.net/2023/10/28/javascript-openai-client-notes.md): OpenAI offers a variety of APIs for natural language processing. Here are some notes on the JavaScript client for my own quick reference. Installation npm install openai Usage import OpenAI from "open... - [Let's Encrypt or Commercial Certificates?](https://atlassc.net/2023/10/28/let-s-encrypt-or-commercial-certificates.md): Let's Encrypt is a free, automated, and open certificate authority (CA), run for the public's benefit. It is a service provided by the Internet Security Research Group (ISRG). - [Git 生态圈介绍](https://atlassc.net/2023/10/27/introduction-to-git-ecosystem.md): Git 是一个分布式版本控制系统,主要用于跟踪文件(尤其是代码)的更改。使用 Git,你可以轻松地保存代码的不同版本,合并多人的更改,并且回退到旧版本,如果新版本出现问题。 - [Understanding Stable Diffusion Checkpoints: FP16 vs. FP32](https://atlassc.net/2023/10/27/understanding-stable-diffusion-checkpoints-fp16-vs-fp32.md): Demystify the difference between FP16 and FP32 checkpoints in Stable Diffusion to optimize performance and image quality. - [Transitioning to Safety: Converting .ckpt to .safetensors](https://atlassc.net/2023/10/26/converting-ckpt-to-safetensors.md): A guide to converting .ckpt files to .safetensors for enhanced security and integrity of your tensor data. - [Preserving Memories: A Comprehensive Guide to Photo Backup on Synology](https://atlassc.net/2023/10/25/photo-backup-on-synology.md): A comprehensive guide to photo backup on Synology, covering Synology Photos, Photo Station, and the Synology Drive Client. - [Bridging Dynamic Routing in Single Page Applications: A Server-Side Approach](https://atlassc.net/2023/10/25/dynamic-routing-in-single-page-application.md): A pragmatic solution to the challenge of dynamic routing in single page applications (SPAs) when compiled to static files. - [Unlocking Imaginative Frontiers: Introducing ChatGPT Plus and Enterprise with DALL-E 3](https://atlassc.net/2023/10/20/unlocking-imaginative-frontiers-introducing-chatgpt-plus-and-enterprise-with-dall-e-3.md): OpenAI recently unveiled a groundbreaking integration of DALL-E 3 into ChatGPT for its Plus and Enterprise users. This merger facilitates the creation of unique images from textual descriptions within a conversational interface, establishing a novel paradigm in visual creativity. Whether you are embarking on a website design venture, conceptualizing a business logo, or seeking visual aids for an academic endeavor, the synergistic power of ChatGPT and DALL-E 3 is poised to convert your textual vision into compelling visual narratives. - [Setting Up a Server to Convert Webpages into PDFs with WEB2PDF](https://atlassc.net/2023/10/19/setting-up-a-server-to-convert-webpages-into-pdfs-with-web2pdf.md): In this blog post, we will walk you through the process of setting up a server using the WEB2PDF project which leverages Docker and Puppeteer for converting webpages into PDFs. - [Enhancing Single Page Applications with Server-Side Rendering and Hydration](https://atlassc.net/2023/10/14/enhancing-single-page-applications-with-server-side-rendering-and-hydration.md): Server-side rendering and hydration can be used to offer a complete single page application experience. - [阿里云ECS到期停机以后可以转成按量付费来备份数据吗?](https://atlassc.net/2023/10/13/can-aliyun-ecs-be-converted-to-pay-as-you-go-after-expiration-in-order-to-save-data.md): 答:不能。 - [Tailoring Themes in Ant Design v5 with Umi Max](https://atlassc.net/2023/10/09/customize-the-theme-of-ant-design-v5-and-umimax.md): A step-by-step guide on personalizing the themes of Ant Design v5 and Umi Max. - [Harnessing the Power of n for Streamlined Node.js Version Management](https://atlassc.net/2023/10/09/managing-node-versions-with-n.md): Learn how to use n for Node.js version management and how it compares to nvm. - [Managing PNGInfo in Images Generated by Stable Diffusion Web UI](https://atlassc.net/2023/10/07/stable-diffusion-web-ui-pnginfo.md): Explore techniques for effectively managing PNGInfo in images produced by Stable Diffusion Web UI. Dive into the intricacies of reading embedded metadata, maintaining data lineage post-edits, and a specialized Python tool to ensure metadata integrity. Perfect for users keen on optimizing their Stable Diffusion generation workflows. - [使用 Cloudflare Worker 加速 GitHub CDN 访问](https://atlassc.net/2023/09/27/github-cdn-proxy-over-cloudflare-workers.md): 本文介绍如何使用 Cloudflare Worker 来加速 GitHub CDN 访问,特别是针对 GitHub 仓库中的发布文件和原始文件。 - [Resolving the 'Cannot Import Name Appengine' Error When Using Certbot with Nginx on Ubuntu 22.04.2](https://atlassc.net/2023/09/26/certbot-urllib3-error.md): urllib3 was installed by both apt and pip. - [Checking the Size of node_modules Directories in Your Workspace](https://atlassc.net/2023/09/23/node-modules-size-checker.md): Check the size of node_modules in your workspace - [掌握 ChatGPT 和 LLM 的提示词工程技巧](https://atlassc.net/2023/09/11/prompt-engineering-mastering.md): 学习如何为 ChatGPT 和其他语言模型编写有效的提示词。 - [Mastering Prompt Engineering for ChatGPT and LLMs](https://atlassc.net/2023/09/11/prompt-engineering.md): Learn how to write effective prompts for ChatGPT and other language models. - [PlayStation Plus 会员年费订阅涨价最多35%📈](https://atlassc.net/2023/09/01/playstation-plus-price-increase-2023.md): SONY 将于2023年9月6日起调整 PlayStation Plus 会员年费订阅价格,涨价幅度最高达 35%。 - [Google Gemini:颠覆性的大语言模型,以5倍的优势击败 GPT-4](https://atlassc.net/2023/08/30/google-gemini-eats-the-world.md): semianalysis 在其最新的报告中,深入探讨了 Google 的 Gemini 模型,以及它在与 OpenAI 的 GPT-4 竞争中的显著优势。 - [OpenAI 推出强大的 ChatGPT Enterprise 企业服务](https://atlassc.net/2023/08/29/chatgpt-enterprise.md): OpenAI 最近宣布推出了 ChatGPT Enterprise,这是一项企业级的服务,提供了高级的安全和隐私保护、无限制的高速 GPT-4 访问、更长的上下文窗口以处理更长的输入,以及先进的数据分析能力、定制选项等等 - [探索 Google Chrome 刷新 2023:启用新 Google Chrome 用户界面的指南](https://atlassc.net/2023/08/28/google-chrome-refresh-2023-cn.md): Google Chrome 的新用户界面,也就是 Google Chrome 刷新 2023,现已可供尝试! - [Exploring Google Chrome Refresh 2023: Guide to Enabling New Google Chrome's New UI](https://atlassc.net/2023/08/28/google-chrome-refresh-2023.md): Google Chrome's new UI, aka Google Chrome Refresh 2023, is available to try out! - [Comprehensive Guide to Setting Up a Swap File on Ubuntu: A Step-by-Step Approach](https://atlassc.net/2023/08/18/swapon.md): Introduction: Exhausting memory on your Ubuntu system can result in sluggish applications or even unexpected crashes. To maintain optimal performance, particularly on systems with limited RAM, setting... - [Azure OpenAI Service GPT Model Pricing](https://atlassc.net/2023/08/17/azure-openai-service-gpt-model-pricing.md): As of 2021-08-16, the pricing for the GPT models is as follows: Model Name Prompts Completion GPT-3.5-turbo 0.0015 0.002 GPT-3.5-turbo-16K 0.003 0.004 GPT-4 0.03 0.06 GPT-4-32K 0.06 0.12 ... - [使用 Express 为 Azure OpenAI Service API 编写一个兼容原版 OpenAI Service API 的代理服务](https://atlassc.net/2023/08/13/azure-openai-service-api-proxy-with-express.md): 为了适配各种 GPT 第三方客户端,我们可以使用 Express.js 和 axios 来编写一个代理服务程序,以将 Azure OpenAI Service API 转换为与标准版 OpenAI Service API 兼容的格式,确保无缝集成。 - [在第三方客户端中玩转 OpenAI Service 的 GPT模型](https://atlassc.net/2023/08/09/openai-service.md): 教你设置常用的 GPT 工具 - [How to Write a Blog Post with ChatGPT: A Comprehensive Guide](https://atlassc.net/2023/08/04/how-to-write-blog-post-with-chatgpt.md): Explore some innovative ways to write a blog post using ChatGPT, a cutting-edge AI tool that enhances creativity, efficiency, and adaptability in content creation. - [Mars Coordinate System: A Comprehensive Guide to China's Mapping Coordinates](https://atlassc.net/2023/08/03/mars-coord.md): Use the "mars-coord" library to effortlessly convert coordinates. - [理解火星坐标系:中国地图的坐标标准以及如何进行坐标转换](https://atlassc.net/2023/08/03/mars-coordinate-system.md): 使用“mars-coord”库轻松转换坐标。 - [Replacing Domain Names in URLs within a MySQL Database Column](https://atlassc.net/2023/08/02/replacing-domain-names-in-urls-mysql-database-column.md): Learn how to modify domain names in URLs stored within a MySQL table using the REPLACE() function. This tutorial covers all steps, from understanding the function to implementing it, with emphasis on precautionary measures like data backup and verification. - [在 Stable Diffusion Web UI 中使用 Stable Diffusion XL 1.0 生成图像](https://atlassc.net/2023/07/30/sdxl-in-stable-diffusion-web-ui.md): 探索 Stability AI 的 Stable Diffusion XL 1.0,一种文本到图像生成模型。本指南介绍如何通过 Stable Diffusion Web UI 使用该模型,包括生成和优化图像、了解模型流程以及优化图像大小。 - [Generate Image with Stable Diffusion XL 1.0 in Stable Diffusion Web UI](https://atlassc.net/2023/07/30/sdxl-with-stable-diffusion-web-ui.md): Explore Stability AI's Stable Diffusion XL 1.0, a text-to-image generation model. This guide covers using the model via the Stable Diffusion web UI, including generating and refining images, understanding the model pipeline, and optimizing image size. - [GitLab 16.1:全新的用户界面设计](https://atlassc.net/2023/07/25/gitlab-16-1-new-design.md): GitLab 16.1的全新用户界面设计已经正式发布,这是一个基于用户反馈和深思熟虑的策略调整而做出的重大改变。这次的改变不仅仅是视觉上的调整,更是对用户体验的全面提升。让我们一起来看看这次更新都有哪些亮点。 首先,这次的更新是基于用户反馈和深思熟虑的策略调整而做出的。GitLab团队花费了大量的时间和精力,通过设计思考和用户体验研究,对导航进行了全面的改进。在过去的一年中,他们专注于设计创新和... - [Fixing error:0308010C:digital envelope routines::unsupported](https://atlassc.net/2023/07/25/node-digital-envelope-runetimes-error.md): This error occurs when using an outdated cipher in NodeJS. - [Sam Alterman 的13个成功秘诀](https://atlassc.net/2023/07/24/sam-alterman-on-how-to-be-successful.md): Sam Alterman 在他的一篇博客文章中列出了他的13个成功秘诀。 - [Fixing the GitLab RuntimeError: SMTP Configuration Settings in New GitLab Version](https://atlassc.net/2023/07/24/self-managed-gitlab-smtp-tls-starttls-conflicts.md): Learn how to quickly resolve the RuntimeError: gitlab_rails['smtp_tls'] and gitlab_rails['smtp_enable_starttls_auto'] are mutually exclusive error in the new GitLab version. This guide explains the simple steps to correctly configure your SMTP settings based on your server's configuration. - [Install Docker Compose from Binary](https://atlassc.net/2023/07/21/install-docker-compose-from-binary.md): This following script can be used on a Ubuntu server to install the latest version of Docker Compose from the binary. - [Manage Plugins in LunarVim](https://atlassc.net/2023/07/20/manage-plugins-in-lvim.md): LunarVim is a highly customizable, Lua-based Neovim configuration that provides a feature-rich programming environment with minimal setup, including auto-completion, syntax highlighting, debugging sup... - [怎样开通订阅 ChatGPT Plus 会员](https://atlassc.net/2023/07/19/subscribe-chatgpt-plus-with-cny.md): 美区 AppStore 充 iTunes 礼品卡来订阅 ChatGPT Plus。 - [让 ChatGPT 使用心理学来写营销文案](https://atlassc.net/2023/07/13/let-chatgpt-use-psychology-to-write-marketing-copy.md): 最近在测试GPT-4撰写营销文案能力的时候,找到了一篇标题为《在文案中使用心理学的 26 种绝妙方法(附示例)》的文章。我尝试抄了一个效应名词,然后找 Skype Bing 写了一篇介绍产品的营销文案,得到了一篇还不错的文章。 我使用的提示词是: 请使用心理学中的新奇效应理论来写一篇推荐猫砂产品的小红书文章,请加入猫主人与宠物互动的情节。 文章的具体内容就不放了,大家有兴趣可以自己去找GPT-... - [使用 ChatGPT 生产软文](https://atlassc.net/2023/07/10/write-marketing-article-with-chatgpt.md): 提示词: 请使用<模式>写一篇面向<受众>的营销文案。 AIDA AIDA是一种常用的市场营销和广告策略模型,它代表了一系列步骤,旨在引起消费者的兴趣并促使他们采取行动。AIDA的英文缩写代表以下四个阶段: Attention(引起注意):吸引消费者的注意力,让他们对产品或服务产生兴趣。 Interest(激发兴趣):激发消费者对产品或服务的进一步兴趣,并提供相关信... - [Lemon Squeezy 数字产品销售支付平台](https://atlassc.net/2023/07/05/lemon-squeezy.md): Lemon Squeezy 是一个用于销售数字产品的电子商务平台。 费率 它的费率是每笔订单收取 0.5 美元加上总金额的 5%,另外可能还有一些额外的费用,例如: 国际交易(美国以外):+1.5% PayPal 交易:+1% 订阅支付:+0.5% 转出方式 Lemon Squeezy 支持以下转出方式: PayPal 银行转账,支持 79 个国家的银行账户提现,并且承担了所有的提现费用和货... - [Measure the Screen Size Using react-responsive](https://atlassc.net/2023/07/03/measure-screen-size-using-react-responsive.md): react-responsive is a lightweight and straightforward package that enables you to do media queries by using the useMediaQuery hook. It helps measure screen size and other screen features, making it an... - [如何订阅 Twitter Blue](https://atlassc.net/2023/07/03/subscribe-to-twitter-blue.md): 分享一下我订阅 Twitter Blue 的经验 - [解决 Clash Meta 中TUN模式无法上网的问题:正确配置DNS设置](https://atlassc.net/2023/07/02/fixing-tun-mode-in-clash-the-essential-dns-configuration-guide.md): 改配置文件的时候一定要仔细了解配置的相关功能。 - [Node Axios with a Proxy](https://atlassc.net/2023/06/30/node-axios-with-a-proxy.md): Want to send http request via a proxy? Axios got you covered. import axios from 'axios'; const proxy = { protocol: 'http', host: '127.0.0.1', port: 7890, auth: { username: 'username', ... - [Is macOS Spotlight a Command Palette?](https://atlassc.net/2023/06/23/is-macos-spotlight-a-command-palette.md): Yes, Spotlight can be considered a command palette. It is a system-wide search tool that allows you to find files, applications, and other information on your Mac. You can also use Spotlight to execu... - [GitHub 新版加入 Command Palette](https://atlassc.net/2023/06/23/github-command-palette.md): GitHub 的新版加入了 Command Palette,你可以使用键盘在 GitHub 上进行快速导航、搜索和运行命令。比如,你可以输入#来搜索 issues、pull requests 和 projects ;输入/来搜索文件,输入>来运行命令。 GitHub Command Palette 是一种按需显示建议的方式,基于您当前的上下文和最近使用过的资源。您可以从 GitHub 上任... - [怎样生成包含指定金额的个人账户支付宝收款码](https://atlassc.net/2023/06/22/how-to-generate-alipay-personal-qr-codes.md): 介绍 支付宝作为一种广泛使用的支付方式,在很多场景下都非常实用。作为开发者,你可能想知道如何通过编程自动生成支付宝收款码。以下是详细的步骤和技巧。 步骤一:理解支付宝链接格式 首先,了解支付宝收款链接的基本格式。这个链接遵循特定的结构: alipays://platformapi/startapp?appId=20000123&actionType=scan&biz_data={"... - [OpenAI/ChatGPT 客户端报错:You exceeded your current quota, please check your plan and billing details.](https://atlassc.net/2023/06/16/openai-quota-exceeded.md): 您已超出当前配额,请检查您的计划和账单详情。 - [PageContainer Does Not Display Page Title and Watermark](https://atlassc.net/2023/06/15/ant-design-pro-page-container-does-not-display-page-title-and-watermark.md): There are acturally 2 PageContainer, the one used by Ant Design Pro is from @ant-design/pro-layout, not @ant-design/pro-components. If page title and watermark does not work in your page, make sure yo... - [快递员未经同意把包裹放到丰巢,产生了滞留保管费,怎么办?](https://atlassc.net/2023/06/12/fcbox.md): 现在很多快递员会在未经过收件人同意的情况下就把快递放入丰巢,甚至不会通知收件人快递已经入柜。稍不留神,包裹就会滞留在丰巢,导致需要支付保管费。 如果你发现快递员未经你的同意就把快递放到丰巢里,且这导致了滞留费用,你可以采取以下几种方法应对: 1. 先礼后兵 首先,你可以联系快递员,要求他亲自把快递送货上门,或者将其从丰巢取出再重新放入。这样可以避免支付滞留费用。 2. 投诉 如果快递员不配合,你可... - [AntV F2 with React](https://atlassc.net/2023/06/09/antv-f2-with-react.md): F2 is a mobile-friendly, interactive and flexible charting library. It is dedicated to providing a simple, convenient and friendly data visualization solution for mobile phones. - [Online Image Optimizers](https://atlassc.net/2023/06/08/online-image-optimizers.md): Compressing or cropping images is a common task for web developers. There are many free online tools to do so. Here are some of them: iloveimg: Compression, cropping, converting, and resizing images.... - [Geo Check In on the Browser](https://atlassc.net/2023/06/08/geo-check-in-on-the-browser.md): Browser provides location API to get the location of the user. So it is possible to do geo check-in in a web application. Here are some fundamental codes to do so: 1. Get the location of the user /** ... - [Update value of ProFormDateRangePicker](https://atlassc.net/2023/06/01/update-value-of-ProFormDateRangePicker.md): If the value of ProFromDateRnagePicker isn't changed when you call form.setFieldValue({dateRange: [Moment, Moment]}). That might be because you passed the same instance of Moment to the ProFormDateRan... - [Convert Azure OpenAI Service API to OpenAI Service API](https://atlassc.net/2023/05/31/convert-azure-openai-service-api-to-openai-service-api.md): Azure OpenAI Service provides access to OpenAI models like GPT and DALL-E on Microsoft Azure cloud with higher performance and availability. However, the API is not compatible with the original OpenA... - [Differences Between Null and Undefined in Node.js](https://atlassc.net/2023/05/30/differences-between-null-and-undefined-in-node-js.md): In Node.js, null and undefined are both used to represent the absence of a value, but they have different meanings. undefined means that a variable has been declared but has not been assigned a value.... - [Disable and Enable Spotlight to Rebuild Index on macOS](https://atlassc.net/2023/05/29/mds-stores-macos-spotlight-index.md): MDS is a Spotlight metadata server for macOS. It stores metadata on files and folders in a central database for Spotlight to efficiently search volumes. MDS is a daemon that runs in the background and... - [... Differs from Already Included ... Only in Casing](https://atlassc.net/2023/05/27/differs-from-already-included-only-in-casing.md): Got a warning in VS Code saying: ... Differs from Already Included ... Only in Casing This is caused by the framework I'm using, It actually includes the same file twice, but with different casing. To... - [How to Make VSCode Profile Default?](https://atlassc.net/2023/05/25/make-vscode-profile-default.md): Update: I heard this feature is no longer available after v1.81 because of a upgrade to the profiles management. Maybe you can try downgrading to an older version of vscode to make your profile Defau... - [How to Migrate Settings from VS Code to VS Code Insiders?](https://atlassc.net/2023/05/25/migrate-settings-from-vscode-to-vscode-insiders.md): Answer given by Google Bard There are a few ways to migrate your VS Code settings to VS Code Insiders. Method 1: Use the Settings Sync extension The Settings Sync extension allows you to sync your ... - [React Component Library With TypeScript](https://atlassc.net/2023/05/23/react-component-library-with-typescript.md): Here's a guide to create a React component library with TypeScript given by ChatGPT. To create a TypeScript React component library project, you can follow these steps: Create a new directory for yo... - [在 openai-translator 中配置 Azure OpenAI Service 的 API](https://atlassc.net/2023/05/22/azure-openai-service-with-openai-translator.md): openai-translator是一个很好用基于 GPT 浏览器翻译插件(也是桌面客户端),它可以用来翻译文本、润色语句、解释语法等。 它在支持 OpenAI 的 API的同时,也支持 Azure OpenAI Service。但是,它的 Azure OpenAI Service 的配置界面有点让人迷惑,这里记录一下如何配置。 const API_URL = `https://${resourc... - [Backup Files on Google Colab with Cron Job](https://atlassc.net/2023/05/21/backup-files-on-google-colab-with-cron-job.md): Google Colab is a great tool for machine learning. However, the virtual machine will be recycled once AFK for a while. If you don't save your files, you will lose them. I've lost my files several tim... - [Intellij IDE Does Not Support Bundler Module Resolution Yet](https://atlassc.net/2023/05/20/intellij-does-not-support-bundler-module-resolution-yet.md): I created a new UmiJS project today, getting a never seen error from Intellij IDEA. Property 'div' does not exist on type 'JSX.IntrinsicElements'. This error is intriguing, how could a div not exist... - [GitHub Copilot 不提示了](https://atlassc.net/2023/05/09/github-copilot-not-prompting-in-china.md): 先重启网络设置。 ... - [Watermark Your Images from Command-line Interface](https://atlassc.net/2023/05/09/watermark-cli.md): I wrote a bash script that can be run as a command to watermark image or images within the given directory using ImageMagick. #!/usr/bin/env bash # Check if source directory or image file and waterma... - [VSCode Launch Configuration for Node App](https://atlassc.net/2023/05/08/vscode-launch-configuration-for-node-app.md): VSCode's debugging launch configurations are saved in ./vscode/launch.json. To add a launch configuration for a node app: click Run and Debug in the left panel. click create a launch.json file. add... - [Docker 报错:header key "exclude-patterns" contains value with non-printable ASCII characters](https://atlassc.net/2023/05/07/dockerignore-non-printable-ascii-characters.md): 今天更新了docker-ce以后,构建镜像时报错: ERROR: rpc error: code = Internal desc = header key "exclude-patterns" contains value with non-printable ASCII characters 于是我根据exclude-patterns关键词检查了一下.dockerignore文件,发现其中包含了... - [Stable Diffusion WebUI 中各个采样器的优点与缺点](https://atlassc.net/2023/05/03/stable-diffusion-sampling-methods-brief-overview.md): 截至2023年3月8日,AUTOMATIC1111 提供19个采样器选择。它们包括: Euler a: 优点:快速且易于使用。 缺点:不如一些新型采样器精确。 Euler: 优点:比Euler a更精确。 缺点:比Euler a慢。 LMS: 优点:设计用于生成锐利且详细的图像。 缺点:比Euler和Euler a慢。 Heun: 优点:比Euler更稳定。 缺点:比Euler慢。 ... - [Stable Diffusion Sampling Methods](https://atlassc.net/2023/05/03/stable-diffusion-sampling-methods.md): As of March 8, 2023, there are 19 samplers available in AUTOMATIC1111. They are: Euler a: Strengths: Fast and easy to use. Weaknesses: Not as accurate as some of the newer samplers. Euler: Strength... - [ControlNet v1.1 的各个模型各有什么作用?](https://atlassc.net/2023/05/03/function-of-models-of-controlnet-v11.md): ControlNet 1.1包括14个模型(11个生产就绪的模型和3个实验性模型)。以下是这些模型及其简要描述的列表: Model Description control_v11p_sd15_canny 边缘检测。 control_v11p_sd15_mlsd 多线段检测。 control_v11f1p_sd15_depth 深度估计。 control_v11p_sd15... - [What Does Each Model of ControlNet v1.1 Do?](https://atlassc.net/2023/05/03/models-of-controlnet-v11.md): ControlNet 1.1 includes 14 models (11 production-ready models and 3 experimental models). Here is a list of the models and their brief descriptions: Model Description control_v11p_sd15_canny Ed... - [使用 ChatGPT 学习语言的技巧](https://atlassc.net/2023/05/02/learn-language-with-chatgpt.md): 什么是 ChatGPT? ChatGPT 是一种基于人工智能技术的自然语言处理模型。它的名字中的 GPT 是“生成预训练模型”(Generative Pre-trained Transformer)的缩写。ChatGPT 是由 OpenAI 公司开发的,它能够自动学习人类语言的规则和模式,并能够自动生成类似于人类写作的文本。ChatGPT 擅长处理各种类型的人类语言,因为它使用的是大量的文本数据来... - [ChilloutMix Beauty Notes](https://atlassc.net/2023/05/02/chilloutmix-beauty-prompts.md): My Stable Diffusion notes to created beauty image using chilloutmix - [Manage auto start apps and services on macOS](https://atlassc.net/2023/04/28/manage-auto-start-apps-and-services-on-macos.md): There are two ways apps and services may start automatically on macOS: Apps in the user's login items list. Services and daemons in the launchd system. Manage Login Items Open System Preferences. C... - [向 ChatGPT 提问的智慧](https://atlassc.net/2023/04/26/chatgpt-prompt-model.md): 使用高质量的问题模型向AI助手提问有助于获得高质量的回答。这里有一些提问模型的例子: 4A 模型 Actor 指定角色:假设您是一名专业的健身教练。 Aim 明确目的:我想减肥。 Ask 提出请求:请为我制定详细的每周运动计划和饮食计划。 Addition 附加信息:我现在的身高为176厘米,体重为60公斤。 👨‍💻 我问: 假设您是一名专业的健身教练。我想减肥。请为我制定详细的每周运... - [Azure OpenAI Service 注册申请与配置心得](https://atlassc.net/2023/04/25/azure-openai-service.md): Microsoft 的 Azure 上已经推出 Azure OpenAI Service 试用,在 申请 到测试资格以后便可以部署私有的 OpenAI GPT-3.5 模型 API。同时还可以 申请 GPT-4 模型 的试用资格。 💡 更新:GPT-4 模型已经不需要额外申请 当你开通 Azure OpenAI Service 以后会同时开通 GPT-4,但是根据旧申请表上的信息,新注册的用户... - [Apple 美区 iTunes 礼品卡购买攻略](https://atlassc.net/2023/04/20/apple-itunes-gift-card.md): 想充美区 iTunes/AppStore,但害怕淘宝买到黑卡被封号? 不用怕,有很多靠谱的地方可以买到正规的 iTunes Gift Card。 Apple 美国官网 从官网 Apple iTunes Gift Card 直接购买数字卡。 卡密会通过电子邮件发送给你,可能会有短暂的审核时间。 Amazon 美国亚马逊(推荐) 美国亚马逊上的商品链接:Apple Gift Card - App St... - [How to Chat with Bing Chat on Google Chrome](https://atlassc.net/2023/04/19/how-to-chat-with-bing-chat-on-google-chrome.md): According to Microsoft's marketing plan, Bing Chat is only available on Microsoft Edge and the Bing app, but I still want to use it with my favorite browser, Google Chrome. The solution is simple: cha... - [聊天式AI助手推荐](https://atlassc.net/2023/04/17/chat-ai-zh.md): 上不了ChatGPT?来看看这些好用的替代品吧! - [A Collection of Chat AI Assistants](https://atlassc.net/2023/04/17/chat-ai.md): Can't access ChatGPT? Here's a collection of alternatives. - [Generate High Resolution Image with Stable Diffusion WebUI](https://atlassc.net/2023/04/16/generate-high-resolution-image-with-stable-diffusion-webui.md): Stable Diffusion models are typically trained on 512x512 images. If you try to generate larger images of people, you may end up with two heads or weird limbs. Fortunately, Stable Diffusion Web UI has ... - [Dolby Vision Playback on macOS](https://atlassc.net/2023/04/15/dolby-vision-playback-on-macos.md): In short, I use Movist Pro, you can also use Infuse Pro if you have already bought it. Dolby Vision is commonly considered the best HDR format at the time of writing this blog, but it is not well-sup... - [Write Multiple lines with ChatGPT](https://atlassc.net/2023/04/14/write-multiple-lines-with-chatgpt.md): With the uprising of Chat AI assistants like ChatGPT, we may find ourselves having many conversations with them every day. As our conversations with them get longer and more complicated, we may need t... - [Koa Router with FeathersJS V5](https://atlassc.net/2023/04/14/koa-router-with-feathersjs-v5.md): New Version FeathersJS V5 is out. FeathersJS now uses KoaJS as its default application core instead of ExpressJS, with some slight differences between the two. For example, I can't generate routed mid... - [Simple String Selector with Ant Design Mobile](https://atlassc.net/2023/04/13/simple-string-selector-with-ant-design-mobile.md): Introduction Ant Design Mobile provides a Picker component to select a value from a list. However, it is not easy to use it to select a string value. In this post, I will create a SimpleStringSelecto... - [initialValue Changed in Ant Design Form](https://atlassc.net/2023/04/13/initialvalue-changed-in-ant-design-form.md): Problem initialValue can take effect when the form is initialized, but it will not take effect when it is changed. I'm building a form that can perform create and update operations. In create scenari... - [Manage Custom CSS Properties in IntelliJ](https://atlassc.net/2023/04/07/manage-custom-css-properties-in-intellij.md): I accidentally added some non-exist CSS properties to Intellij IDEA's custom CSS properties, making it unable to warn about the wrong CSS properties. So I have to remove them manually. Manage Custom C... - [修复 Flutter doctor 的 HTTP Host availability 问题(无需修改SDK源码)](https://atlassc.net/2023/04/05/fix-flutter-doctor-http-host-availability-issue.md): 如果你在东方墙国做软件开发,总会遇到很多人为制造的恶心问题。比如初次安装 Flutter SDK 时,运行 flutter doctor 时,在最后一步HTTP Host availability check is taking a long time...会变得很慢,最后报错: HTTP Host availability check is taking a long time...[!] HT... - [Proxy Config for Git](https://atlassc.net/2023/03/31/proxy-config-for-git.md): Accessing GitHub becoming harder in less developed country these days, you might need a proxy to do that. Here is how to configure proxy for git. Please edit ~/.gitconfig and add the following lines: ... - [Dockerized Puppeteer PDF Printer](https://atlassc.net/2023/03/31/dockerized-puppeteer-pdf-printer.md): Puppeteer provides solution to print PDF from web page. However, it requires a lot of dependencies to be installed. This post shows how to build a Docker image to run Puppeteer to print or generate PD... - [VSCode Guide: Navigating to CSS Module Definitions](https://atlassc.net/2023/03/28/vscode-go-to-definition-of-css-module.md): Recently, I decided to transition from IDEA/WebStorm to VSCode. However, I stumbled upon a snag - the inability to navigate to the definition of CSS Modules using the cmd+left click shortcut, which wa... - [Pull GitLab Remote Backup Bash Script](https://atlassc.net/2023/03/28/pull-gitlab-remote-backup-bash-script.md): GitLab's backup files are generated locally on the server by default, though there are a lot of remote backup provider, I still want to pull backup files to local machine and not rely on any third par... - [Stable Diffusion Prompt Note](https://atlassc.net/2023/03/24/stable-diffusion-prompt.md): 做个笔记记录一下生成AI女友的 prompt,供自己查找。 高清照片风格 Photo Realistic raw photo, photorealistic, masterpiece, best quality, hires, intricate details, reflections, photographed on a Canon EOS R5, 50mm lens, F/2.8, HDR,... - [Launch stable diffusion web UI with VAE](https://atlassc.net/2023/03/12/launch-stable-diffusion-web-ui-with-vae.md): Stability release a VAE model for generating images with more details. Here's how you can launch Stable Diffusion Web UI with VAE model. Command # macOS Apple Silicon ./webui.sh --precision full --vae... - [stable-diffusion-webui-apple-silicon](https://atlassc.net/2023/03/12/stable-diffusion-webui-apple-silicon.md): ./webui.sh --no-half --opt-split-attention-v1 ... - [chilled_re_generic: 炼成你自己 ChilloutMix 模型](https://atlassc.net/2023/03/12/chilled-re-generic-cn.md): 由TASUKU2023创建的chilloutmix模型因生成亚洲女性的像逼真而美观而备受欢迎。 该模型本身并非免费商用。幸运的是,通过其配方,您可以创建自己的模型以避免许可问题。 实际上,chilloutmix模型是从几个其他模型合并而来的。 本文将向您展示如何借助Stable Diffusion Web UI帮助合并自己的chilloutmix模型。 如果您没有强大的电脑,也可以使用Stable... - [chilled_re_generic: Merge Your Own Chilloutmix Model](https://atlassc.net/2023/03/12/chilled-re-generic.md): The chilloutmix model created by TASUKU2023 is highly popular for generating realistic and aesthetically pleasing images of Asian females. The model itself is not commercially free. Fortunately, with ... - [Rich Text with ExcelJS](https://atlassc.net/2023/03/08/rich-text-with-exceljs.md): ExcelJS is a library to create Excel files in Node.js and the browser. It supports rich text formatting, such as bold, italic, underline, font color, font size, font name, and more. Most tutorials on ... - [React Web Page as a PDF Template: Pagination, Headers, Footers and More](https://atlassc.net/2023/03/08/react-to-pdf.md): A web page can be printed to PDF file with browser or puppeteer, so it is quite possible to create a PDF template with React. CSS Print Media Query The first thing you need to know is that CSS has a s... - [stable-diffusion-outpaint-in-img2img](https://atlassc.net/2023/03/03/stable-diffusion-outpaint-in-img2img.md): Stable diffusion Web UI can actually do outpainting in img2img mode. CFG scale: 5 Denoising strength: 0.5 ... - [Basic Introduction to Use Models in Stable Diffusion WebUI for Beginners](https://atlassc.net/2023/02/25/stable-diffusion-webui-models.md): Along with the main model, there are few kinds of models we can use in Stable Diffusion Web UI to generate images. Here I will introduce how to use these models in the Web UI. Find Models You Need The... - [Open iTerm New Tab From Command Line](https://atlassc.net/2023/02/23/open-iterm-new-tab-from-command-line.md): I created a bash script to open a new tab in iTerm from the command line so I can open iTerm in other terminal simulators. #!/usr/bin/env bash open -a iterm &* ... - [Hide Columns by Default with ProTable](https://atlassc.net/2023/02/23/hide-columns-by-default-with-pro-table.md): ProComponents is a set of enterprise-class UI components based on Ant Design and React, it provides a lot of useful components and features out of the box. I've enjoyed building data table UI with Pro... - [静态部署 UmiJS 4](https://atlassc.net/2023/02/20/umijs-4-static-deployment.md): UmiJS 4.0 之后,静态部署的配置发生了很多变化,这里记录一下。 import {defineConfig} from "umi"; const publicPathBase = '/news' export default defineConfig({ publicPath: publicPathBase + '/', // 静态资源路径的前缀 base: publicPath... - [Introduction to Stable Diffusion Web UI Colab v2.0 for Beginners](https://atlassc.net/2023/02/19/stable-diffusion-webui-colab-2.md): Stable Diffusion Web UI Colab is a fork project to deploy AUTOMATIC1111's Stable Diffusion web UI on Google Colab. Colab provides virtual machine with GPU, so you don't have to own a powerful GPU to e... - [如何在 Google Colab 上部署 Stable Diffusion Web UI Colab](https://atlassc.net/2023/02/19/stable-diffusion-webui-colab-guide-for-beginners.md): 太长不读 点击下面这个按钮 马上 进入 Google Colab 部署 Stable Diffusion Web UI Colab。 什么是 Stable Diffusion Web UI Colab Stable Diffusion 是 Stability AI 推出的一个基于深度学习技术的文字生成图片AI模型。 Stable Diffusion Web UI 是一个强大好用的 Stable ... - [微信支付通讯安全:APIv3 的公钥与私钥](https://atlassc.net/2023/01/24/the-public-and-private-keys-of-wechat-pay.md): 微信支付 APIv3 默认使用证书进行签名以及验签,以保证数据传输的安全性,防止被篡改或者伪造,尤其是防止“重放攻击”。 - [Store Float in MySQL](https://atlassc.net/2023/01/17/store-float-in-mysql.md): Storing a float number in MySQL, you must specify the column's precision and scale. CREATE TABLE `test` ( `id` int(11) NOT NULL AUTO_INCREMENT, `value` decimal(10,2) NOT NULL, PRIMARY KEY (`id`)... - [How to Play Dolby Vision Video](https://atlassc.net/2023/01/16/how-to-play-dolby-vision-video.md): Dolby Vision is commonly known as the best standard for HDR. But it is not so commonly accepted by media players on your computer or mobile device This is a note on how to play Dolby Vision video file... - [Security Configurations in Helmet](https://atlassc.net/2023/01/10/security-configurations-in-helmet.md): Helmet is a middleware to secure Express apps by setting various HTTP headers. These security policy headers will affect web pages the express app serves, it may block some or all external resources ... - [使用 Ant Design ProComponents 开发表单省市区选择器](https://atlassc.net/2023/01/09/procomponents-area-select.md): 使用ProComponents中的ProFormCascader组件开发省、市、区级联选择器非常简单。 准备数据 首先我们需要准备省市区的数据,建议使用wecatch/china_regions这个仓库中的province.json、city.json、county.json三个文件。我把它们直接部署到了 web app 的 public 目录中当静态 API 使用。 整理数据结构 在前端通过网络... - [Node.js Essentials](https://atlassc.net/2023/01/07/node-js-essentials.md): Unlock the full potential of server-side JavaScript with our in-depth exploration of Node.js. Learn about its event-driven architecture, real-time applications, and microservices, and discover how to harness the power of Node.js for your development projects. - [Understanding the Differences Between apt-get remove and apt-get purge](https://atlassc.net/2023/01/05/differences-between-apt-get-purge-and-apt-get-remove.md): What is the difference between apt-get remove and apt-get purge? When should you use one over the other? This article explains the differences between these two commands and when to use each one. - [Sign Git Revision to Builds to Track Down Issues](https://atlassc.net/2023/01/04/sign-git-revision-to-builds.md): Write a build script to sign the git revision to the build. This way, you can track down the exact git revision that the build is based on. ## Get Git revision VERSION=$(git rev-parse HEAD) ## Get da... - [Press Home or End Button to Navigate to the Beginning or End of Line in zsh](https://atlassc.net/2023/01/04/home-or-end-button-navigation-in-zsh.md): I've been using zsh with starship prompt for a while. One small pain is that home and end button doesn't navigate the cursor to the beginning or end of the command line. It's the muscle memory from us... - [解决 Node 应用接入企业微信登录不显示二维码的问题](https://atlassc.net/2022/12/31/wechat-works-login-qr-not-showing-on-nodejs-webapp.md): 我在使用 Ant Design Pro 和 FeathersJS 开发一个支持企业微信二维码登录的应用。这个功能之前很顺利地完成过,而这次总是无法加载出二维码。 经过排查是 FeathersJS 使用的 helmet 库升级了安全策略,默认禁用了站外资源。 要顺利加载企业微信的二维码,需要调整降低安全策略。 app.use(helmet({ contentSecurityPolicy: fal... - [Allow Everything in Page Content Security Policy](https://atlassc.net/2022/12/31/allow-everything-in-page-content-security-policy.md): Content got blocked by Content-Security-Policy? No problem, just allow everything. And of course, this is really a bad practice. <meta http-equiv="Content-Security-Policy" content="default-src * se... - [Read Video Info with FFprobe](https://atlassc.net/2022/12/29/read-video-info-with-ffprobe.md): FFprobe is a tool bundled with FFmpeg to read video info. Basic Usage ffprobe input.mp4 This command returns data in plain text. Data Format FFprobe can print data in various formats: default, compact... - [Emit and Listen to Socket.IO Events in FeathersJS](https://atlassc.net/2022/12/13/emit-and-listen-to-socket-io-events-in-feathersjs.md): FeatherJS uses Socket.IO to build real-time applications. With it, we can push messages from server side to client side. Events for RESTful Service FeathersJS has implemented basic events for RESTful... - [Compress Image with FFmpeg](https://atlassc.net/2022/12/05/compress-image-with-ffmpeg.md): FFmpeg is a powerful tool to process video and audio files. It can also be used to compress images. Compress JPEG FFmpeg uses mjpeg as the default codec for JPEG. ffmpeg -i input.jpg -q:v 1 -vf scal... - [Remove Gray Filter from Web Page](https://atlassc.net/2022/12/02/anti-grayfilter.md): Everytime when some important person deceases, most websites put on a gray filter to mourn. Since it is a CSS trick, the filter can be removed by browser extension easily. Install a browser extension ... - [Awesome Clouds](https://atlassc.net/2022/12/01/awesome-clouds.md): Here's a list of awesome clouds I've ever used: Bandwagonhost recurring discount code:BWH3HYATVBJW - 6.58% BWHNCXNVXV - 6.81% Order VPS DediPath Order VPS ... - [Restore do-release-upgrade Status](https://atlassc.net/2022/12/01/restore-do-release-upgrade-status.md): I accidentally interrupted an Ubuntu release upgrade, but the system status wasn't restored to the state before upgrading: it uses a sources.list for new release, and the system is not upgraded. Now m... - [TUN 网络隧道解救强国程序员](https://atlassc.net/2022/11/30/tun-to-cush-the-wall.md): 前言 IDE 里插件下载不动?终端里开源库安报错?GitHub 仓库 clone 不下来?试试 TUN 网络隧道代理模式,让你的开发工作更加高效、顺畅。它你用的软件里面都有,点一下就行了。 什么是TUN模式? TUN 模式,也被称为网络隧道模式(Network Tunnel Mode),是一种先进的网络配置方法,它在操作系统层面创建一个虚拟的网络接口,通过这个接口管理和重定向计算机的所有出站网络流... - [NodeJS Docx Templater](https://atlassc.net/2022/11/30/nodejs-docxtemplater.md): docxtemplater is a library to generate docx files from a docx template with {tag}, it is written in TypeScript. The open source version supports: {tag} replacement Conditions Loops Change delimiters ... - [Remove Duplicate Entries Using KnexJS](https://atlassc.net/2022/11/26/remove-duplicate-entries-using-knexjs.md): I accidentally created duplicate entries in my database, so I wrote a function to remove them. The MySQl database connector I use frequently is KnexJS. Here's how I did it: const removeDuplicateEntrie... - [Process Spreadsheet Data with SheetJS](https://atlassc.net/2022/11/22/process-spreadsheet-data-with-sheetjs.md): SheetJS, aka the xlsx package for JavaScript, is probably the most commonly used sheet processing library. Compared to ExcelJS, it supports more data formats like the old xls and can be used across m... - [使用 NodeJS 调用金蝶管易云 C-ERP 的 openAPI](https://atlassc.net/2022/11/18/guanyi-erp-openapi-with-nodejs.md): 金蝶管易云ERP提供完善的数据接口,可供用于外部系统做数据对接。 获取密钥 调用C-ERP接口之前先要获取接口密钥: 登录金蝶管易云 点击左上角菜单 搜索:云ERP授权 密钥包含: appkey sessionkey secret 接口认证 参考金碟管易ERP openAPI 文档编写通用客户端。 import sa from 'superagent'; import cryptoJS f... - [Reset Form Fields in Shared Ant Design Modal Form](https://atlassc.net/2022/11/18/reset-form-fields-in-shared-ant-design-modal-form.md): I use shared ModelForm in my project for a selected target in multiple rows of data to keep good page rendering performance. But a shared ModelForm has a problem that it can't reset form fields after ... - [Read Large XLSX File with xlsx-extract](https://atlassc.net/2022/11/16/read-large-xlsx-file-with-xlsx-extract.md): Excel file can be large, reading or opening a large xlsx file consumes a large amount of memory, it can be slow, and it may also cause Out of Memory Error. To read a large xlsx file more efficiently, ... - [Create a Spreadsheet with JSON Data Using ExcelJS](https://atlassc.net/2022/11/15/digest-exceljs.md): ExcelJS is a great JavaScript library to read, manipulate and write spreadsheet data and styles to XLSX and JSON. I've used it multiple times in my work and projects. Here's a digest of how I use it... - [Auto Column Width with ExcelJS](https://atlassc.net/2022/11/15/auto-column-width-with-exceljs.md): Auto-fit column width with ExcelJS is easy, but it consumes a lot of time if your dataset is large. import ExcelJS, {Worksheet} from "exceljs"; /** * Auto-fit column's width * * @param worksheet {... - [Show Hidden Files in Finder](https://atlassc.net/2022/11/14/show-hidden-files-in-finder.md): The shortcut is Command + Shift + . which toggles AppleShowAllFiles. defaults write com.apple.Finder AppleShowAllFiles TRUE Since shortcut is available there is no need to do it in terminal. ... - [Syntax Highlight Code in Markdown Posts](https://atlassc.net/2022/11/10/syntax-highlight-code-in-markdown-posts.md): I wrote this TypeScript full stack blogging web app for myself serving posts written in Markdown. As a programmer, I write a lot of code in my posts, and I want to syntax highlight them for better rea... - [Ubuntu Jammy 22.04 源镜像](https://atlassc.net/2022/11/07/ubuntu-jammy-sources-mirror.md): Ubuntu Jammy 22.04 阿里云镜像 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb https://mirrors.aliyun.com/ubuntu/ jammy main restricted # ... - [Node.js 处理16进制 Unicode 中文字符串](https://atlassc.net/2022/11/02/nodejs-handle-unicode-chinese.md): Nodejs 中读取到像\u6210以\u的开头字符串,这不是乱码,这是16进制Unicode编码。它很好处理。 Unescape Unicode 我们可以使用进制转换的方法,将16进制的中文转成可阅读的utf-8编码的中文。 const unescapeUnicode = (str) => { return str.replace(/\\u[\dA-F]{4}/gi, (match) ... - [Create a CLI with Node.js](https://atlassc.net/2022/10/30/node-cli.md): Learn to run Node.js files directly, and make your Node.js program accessible globally as a command. - [Fix MP4 Video for Final Cut Pro](https://atlassc.net/2022/10/28/fix-mp4-video-for-final-cut-pro.md): Sometimes mp4 video might not be compatible with Final Cut Pro, that's because mp4 is just a container format, it's just the codec used inside might not be compatible. Let's simply convert videos to a... - [Fix FFmpeg Library Not Loaded: dyld](https://atlassc.net/2022/10/28/fix-ffmpeg-dyld-library-not-loaded.md): Just got macOS upgraded to Ventura and found that FFmpeg is not working and throwing the following error: dyld[54425]: Library not loaded: /opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib Referenced f... - [How to Import HEVC Video to Final Cut Pro](https://atlassc.net/2022/10/28/import-hevc-video-to-final-cut-pro.md): For some reason, HEVC video with Codec ID hev1 is not supported by Final Cut Pro according this thread on Apple's support forum. Luckily, I can use FFmpeg to convert video with hev1 tag to hvc1 lossle... - [Install .ipa from Desktop to Devices](https://atlassc.net/2022/10/27/install-ipa.md): iOS's application packages, aka .ipa file, can be installed from desktop to devices. 爱思助手/i4.cn from Shenzhen is one of the third party device companion software that can install ipa files to devices.... - [Beautiful Commandline Tools for Storage Status](https://atlassc.net/2022/10/25/cli-for-storage-status.md): dust dust is a more intuitive version of du in rust. It provides a more human-readable output than the traditional du command. duf duf is a cross-platform alternative to the Unix 'du' command. It pro... - [Install Fish as Your Default Shell on macOS](https://atlassc.net/2022/10/25/fish-on-macos.md): fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. It offers features like syntax highlighting, autosuggestions, and tab completions that are designed ... - [Send File From ExpressJS Response](https://atlassc.net/2022/10/20/send-file-from-expressjs-response.md): ExpressJS is a popular web framework for NodeJS. It's lightweight and easy to use. It provides a varies of ways of sending files to the client, and access can be controlled. Serve Static Files The mos... - [ERR_BLOCKED_BY_RESPONSE.NotSameOrigin Helmet](https://atlassc.net/2022/10/15/helmet-ERR_BLOCKED_BY_RESPONSE-NotSameOrigin.md): If you get ERR_BLOCKED_BY_RESPONSE.NotSameOrigin error when loading resource from an express app using Helmet@^5.0.0, because the Cross-Origin-Embedder-Policy header is enabled by default. To allow i... - [腾讯企业邮箱设置别名](https://atlassc.net/2022/10/15/exmail-proxy-name.md): 如何在腾讯企业微信中设置企业邮箱的别名,以便成员可以使用多个邮箱地址收发邮件。 - [自建机房响应SSL错误:SSL routines::wrong version number Unable to establish SSL connection](https://atlassc.net/2022/10/11/self-managed-server-room-responses-ssl-error-in-china.md): 最近我们公司的机房在外网被使用cURL访问https链接的时候常有报错,但用浏览器访问网站又一切正常。 大概10次有9次会出现这个错误: SSL routines::wrong version number Unable to establish SSL connection 同时,使用certbot部署的证书也无法更新,一直都报错Unauthroized或者DNS未找到。 排查下来发现有少数几个... - [使用修改 hosts 的方法修复 Google 翻译的 Chrome 插件](https://atlassc.net/2022/10/10/fix-google-translate-chrome-extension.md): 谷歌翻译是最后一个被中国屏蔽的 Google 服务。直到它最近被屏蔽,我才意识到以前用 Chrome 的翻译插件都是裸连。 现在比较烦人的是翻译插件不能简单地使用穿越技术。实在不行就先改Hosts吧,应该过不了多久就会进规则的。 1. 查找可访问的IP nslookup google.cn # output: Server: 114.114.114.114 Address: 114.114.1... - [Fix Nginx SSL Permission Denied (0200100D) error](https://atlassc.net/2022/10/09/nginx-ssl-permission-error.md): Fix Nginx SSL Permission Denied (0200100D) error by restoring SELinux Security Contexts of the certificate files. - [阿里云代金券](https://atlassc.net/2022/10/05/yunparter.md): 欢迎使用以下链接注册账号并领代金券! 你好我好大家好!😄 - [Fix TS2307: Cannot find module '*.less'](https://atlassc.net/2022/10/02/ts2307-cannot-find-less-module.md): TypeScript project reads module from declaration files, when the module is not defined or broken, tslint will throw an error like below: TS2307: Cannot find module './index.less' or its corresponding ... - [Open iOS Simulator from Command Line](https://atlassc.net/2022/09/22/open-ios-simulator-from-commandline.md): The Simulator.app from xcode can be opened from command line without opening the xcode itself. Open Simulator To do so is simple, just run the following command: open -a Simulator If your xcode is pro... - [TypeScript Exports Module for Node.js](https://atlassc.net/2022/09/02/typescript-exports-module-for-nodejs.md): Long Story Short const func = () => { console.log('Hello World'); } // Export for TypeScript module system export default func; // Export for Node.js module system, by doing this you can use ... - [Copy and Paste Real Text from OneNote](https://atlassc.net/2022/08/23/copy-and-paste-real-text-from-onenote.md): One of the most annoying features of OneNote is that you can't simply copy and paste the real text from it to an input control that receives images, such as the one in most chat app or rich text edito... - [Get Switch to YouTube Premium Annual Plan from Monthly Plan](https://atlassc.net/2022/08/21/youtube-premium-annual-plan.md): I don't know when the YouTube Premium annual plan launched, and I have never seen the option to switch from the monthly plan to the annual plan in the YouTube app. Therefore, I tried to cancel my mon... - [Declare Module for JavaScript Module in TypeScript](https://atlassc.net/2022/08/19/declare-module-for-javascript-module-in-typescript.md): Some JavaScript code doesn't come with type declarations. In order to use them in TypeScript project, we can declare the module ourselves in a <MODULE_NAME>.d.ts file. declare module 'my-module'... - [Docker 天朝加速镜像](https://atlassc.net/2022/08/16/docker-registry-mirrors-for-china.md): 如果你在天朝拉取 Docker image 遇到网络困难,可以考虑使用第三方社区或云平台提供的 Docker Registry Mirror 来加速。 - [Use GitLab Artifact in Chained Pipelines](https://atlassc.net/2022/08/16/use-gitlab-artifact-in-chained-pipelines.md): Build and Download Artifact GitLab CI/CD job can archive result as an artifact that can be accessed from API. Artifact GitLab Runner Config compile: # Job name artifacts: paths: - dist # A... - [My Frequently Used FFmpeg Commands](https://atlassc.net/2022/08/07/ffmpeg-frequently-used-commands.md): Compress Video with Given Encoding Parameters ffmpeg -i input.mp4 -c:v libx264 -b:v 6000k -b:a 192k -vf scale=1920:1080 output.mp4 -i: Input file -c:v: Video codec -b:v: Video bitrate, 50m for 4K and... - [Microsoft Word 在界面左侧打开文档结构导航](https://atlassc.net/2022/08/06/microsoft-word-open-content-structure-tree-at-left.md): 现在流行的文字编辑器都会默认在界面左侧打开一个文档结构导航,老牌强力的Microsoft Word当然也支持这个功能。 要打开这个功能,请从菜单中勾选视图-侧栏-导航。 ... - [使用 Docker Compose 快速部署 Alist 和 Aria2 Pro](https://atlassc.net/2022/08/04/alist-aria2-pro-docker-compose-cn.md): Alist 是一个可将多种网盘挂载成 WebDAV 的 Web 应用。 它可以使用 Docker 进行快速部署,并可对接 Aria Pro 组成一个网盘下载器。 特别适用于部署在 NAS 上用来下载网盘上的文件。 欢迎使用我的PikPak邀请链接和邀请码479615领取会员。 使用 Docker Compose 部署 Alist 有官方的 Docker 镜像和部署文档。但我更倾向于使用 ... - [Flush DNS Cache On macOS](https://atlassc.net/2022/08/03/flush-dns-cache-on-macos.md): sudo killall -HUP mDNSResponder ... - [Fullscreen Centered Loading Indicator in React Root DIV](https://atlassc.net/2022/06/16/fullscreen-centered-loading-indicator-in-react-root-div.md): I am putting a spinning progress image in the center of the react root div as the loading progress indicator. <!DOCTYPE html> <html lang="en"> <head> <title>Full Screen Cen... - [使用 docker 在 Synology 中运行 Linux 115盘电脑版](https://atlassc.net/2022/05/03/115-pan-in-container.md): 在群晖里面跑Linux版115盘客户端可行! - [如何使用 +86 的手机号注册 Google 账户](https://atlassc.net/2022/04/19/create-a-google-account-with-chinese-mobile-number.md): 如果直接使用+86的手机号注册 Google 账户,可能会提示不支持该手机号。 但是很奇怪,如果把 Chrome 浏览器里面的中文语言删除,只留英语,就可以了。 打开 Chrome 的设置:chrome://settings。 左侧找到语言。 找到首选语言,删除英语以外语言。 如果没有英语(美国),点击添加语言添加一个。 这样再回去注册 Google 账户的时候,就应该可以使用+86的手机号来... - [如何给 GitHub 账户绑定 +86 的手机](https://atlassc.net/2022/03/29/bind-chinese-mobile-number-to-github-account.md): 给 GitHub 绑定+86的手机号时会发现Country code里直接没有这个选项。 但你仍然可以通过手动添加下拉选项的方法来添加+86的手机号。 鼠标右键点击Country code,选择审查元素,以打开浏览器的控制台定位到该控件。 找到<select>节点,鼠标右键点击该节点,在菜单中选择Edit as HTMl。 进入到编辑模式后手动添加一个option节点即可,如下所示:... - [Run Multiple Bash Tasks Asynchronously to Save Time](https://atlassc.net/2022/03/02/run-multiple-bash-tasks-asynchronously-to-save-time.md): I happen to have a ci job consisting of multiple tasks that requires a lot of time. If I run all the tasks synchronously, it will absolutely take a long time. So I am thinking of running them in multi... - [使用 Docker Compose 私有部署 GitLab 超简单](https://atlassc.net/2022/02/25/self-managed-gitlab-with-docker-compose.md): 在这篇文章里,我将介绍 怎样使用 docker-compose 来部署一个私有部署的 GitLab 实例 设置域名反向代理 配置 gitlab-runner 实自动化流水线 配置备份与恢复 配置要求 目前版本的 gitlab-ce 需要 4-6GB 的 RAM 来运行,建议配置 8GB 以上的服务器。 安装 Docker 与 docker-compose Docker 是一种开源的容器化平台... - [Convert VP9 video to H264 Losslessly](https://atlassc.net/2022/02/08/vp9-to-h264-losslessly.md): VP9 serves as the standard codec for YouTube, even though it's not frequently found in video editing tools. If you have a video encoded with the VP9 codec and you want to edit it, you may have to tran... - [How I Remastered Legacy of the Void Opening Cinematic to 8K Dolby Vision](https://atlassc.net/2022/01/22/how-i-remastered-legacy-of-the-void-opening-cinematic-to-8k-dolby-vision.md): I've always loved watching all those epic game cinematic, but few of them are in Ultra High-Definition. Luckily, as of 2022, it is possible to upscale a legacy video to 8K Dolby Vision HDR at home. Al... - [Access Private NPM Packages in CI/CD Jobs](https://atlassc.net/2022/01/14/access-private-npm-packages-in-ci-cd-jobs.md): NPM packages in private NPM registries can be accessed via NPM_TOKEN authentication in CI/CD jobs. Here's the official guide on how to do it. And I also want to make a digest note on that. In Short As... - [Access GitLab Resources in GitLab Runner Jobs](https://atlassc.net/2022/01/14/access-gitlab-resources-in-gitlab-runner-jobs.md): In complex CI/CD scenarios, we may need to access other resources from GitLab that is out of current project/repository, like cloning another repository, or calling gitlab API to trigger a contiguous ... - [Gitlab Runner Environment Variables](https://atlassc.net/2022/01/14/gitlab-runner-environment-variables.md): In GitLab Runner CI/CD jobs we may need to use some environment variables, there are a few pre-defined variables like ${CI_JOB_TOKEN} we can use directly in our pipeline, and we can also define our ... - [Anime4K on Apple Silicon M1 Max and macOS](https://atlassc.net/2022/01/06/anime4k-on-m1-max.md): Failed to Load Shaders I tried to setup Anime4K on my MacBook Pro with M1 Max according to the official guide, but it didn't work. By checking the log, I found that the file path to shaders is not cor... - [Telegram Language Packs](https://atlassc.net/2022/01/03/telegram-language-packs.md): Telegram has a built-in translation system, which allows users to translate the app into their own language. The way to install language packs is to click the tg link like tg://setlanguage?lang=<la... - [Nodejs Store Emoji in MySQL](https://atlassc.net/2021/12/30/nodejs-store-emoji-in-mysql.md): Everything should be set to utf8mb4 NodeJS MySQL Connection Pool Charset { "charset": "utf8mb4" } MySQL Table Character Set CREATE DATABASE IF NOT EXISTS `<database_name>` CHARACTER SET utf8mb... - [Microsoft 365 File Locations in macOS](https://atlassc.net/2021/12/27/microsoft-365-file-locations-macos.md): User can configure the path where Microsoft 365 reads user's templates. The only to do so is to configure it in Microsoft Word's preferences: File > Preferences > Personal Settings > File Lo... - [iTerm2 Hacking Notes](https://atlassc.net/2021/12/18/iterm2-hacking-notes.md): iTerm2 has always been my favorite terminal. I use it for everything from my development work to regular usage. Here's my note to setup my iTerm2 preferences. Installation brew install iterm2 Instal... - [GitHub Copilot Tab Completion Conflicts in VSCode](https://atlassc.net/2021/12/07/github-copilot-tab-completion-conflicts-in-vscode.md): Seeing GitHub Copilot Suggestions But You Can't TAB to Complete Them? It is obviously a matter of keybinding conflicts. How to Fix Just open keyboard shortcut preferences in VSCode. Enter tab to find... - [Build Docker Image Concurrently with BuildKit](https://atlassc.net/2021/12/07/build-docker-image-concurrently-with-buildkit.md): Docker Pipeline Taking Too Much Time to Finish? I used to build docker image step by step, that's before I found out about docker's BuildKit. With the BuildKit, the building time was reduced by 60% (i... - [Windows Terminal Profile Icons](https://atlassc.net/2021/11/28/windows-terminal-profile-icons.md): User can set icon for each Windows Terminal profile, a few default profile icons are bundled with the app, whereas there is no way to preview or locate them in settings UI. So I have to browse them in... - [Extracting Zip File Using Synology's File Station Getting Filenames in Wrong Charset](https://atlassc.net/2021/11/25/synology-file-station-charset-issue.md): Synology's File Station, like many other Linux file extractors, does not auto-detect zip file's charset. Extracting files using default options by click Extract Here or Extract to may end up getting ... - [The term 'ts-node.exe' is not recognized as a name of a cmdlet](https://atlassc.net/2021/11/16/ts-node-exe-not-found.md): I wrote a command line application in TypeScript which calls ts-node through shebang. #!/usr/bin/env ts-node /// my script ... It worked fine in both macOS and Linux. Error But when I tried to run it... - [JavaScript Combine Two Arrays](https://atlassc.net/2021/11/08/javascript-combine-two-arrays.md): Array.prototype.push() The push() method adds one or more elements to the end of an array and returns the new length of the array. Syntax push(element0) push(element0, element1) push(element0, element... - [Build Android Artifact from Command-line](https://atlassc.net/2021/10/27/build-android-artifact-from-command-line.md): Theory Everything you do that builds Android artifacts from Android Studio is based on Android command-line tools, so you can just build them from command-line. Why Build Android Artifact from Command... - [Merge Text Files Into A Single File](https://atlassc.net/2021/10/27/merge-text-files.md): find /path/to/source -type f -name '*.txt' -exec cat {} + > merged.txt ... - [🚀 黑科技工具箱 Awesome Tools](https://atlassc.net/2021/10/25/awesome-tools.md): 上网冲浪 注意安全 风险自负 为什么 ChatGPT 上不去? 那你一定需要下面这些服务和工具。 它们将助你穿越重重人为障碍。 🛬 远端服务 用这些工具之前需要有自己的 远端服务 来配合,否则会行不通。 👉 推荐 JMS 服务 5.2%循环优惠码: JMS9272283 支持 支付宝 和 PayPal 目前已支持 ChatGPT 🚀 黑科技工具箱 Awesome Tools... - [穿越](https://atlassc.net/2021/10/09/the-way-out.md): 穿越分三步: 租车 获取车票 上车 ... - [在天朝激活 Google 设备](https://atlassc.net/2021/09/12/activate-google-device-in-china.md): 自觉上网技术已经很好了,于是买来一台 Chromecast with Google TV 玩,结果激活的时候死活连不上 WiFi。 要解决 Google 的问题还得用 Google,果然查到事有蹊跷。 Google 的设备在初次连接 WiFi 的时候会去访问 ntp 服务器较对时区,如果访问失败则会判定该 WiFi 无法访问 internet 并拒绝连接这个 WiFi。 在我朝,显然没法轻易访问到... - [Windows 微软商店加载失败](https://atlassc.net/2021/08/29/windows-app-store-loading-failed.md): Microsoft Store / 微软商店 无法加载,大概率是网络问题,因此可以尝试使用以下操作来重置一下网络设置: 在PowerShell中运行netsh winsock reset 关闭系统代理 修改DNS ... - [Gitlab Runner Could Not Lock Git Config File](https://atlassc.net/2021/08/27/gitlab-runner-could-not-lock-git-config-file.md): I just setup a new gitlab runner, but job keep failing with an error: error: could not lock config file /root/.gitconfig: Operation not permitted I sense this could be caused by a buggy gitlab runne... - [Chromium's Black Window Issue in Wine](https://atlassc.net/2021/08/24/chromium-black-window-issue-in-wine.md): I am trying to run a Chromium based app in wine, and it shows only black screen. Thanks to this post, I found the solution. winetricks -q dxvk vd=1280x1024 Which is to emulate the app in Virtual Deskt... - [给 APT 附魔](https://atlassc.net/2021/08/24/apt-over-proxy.md): 编辑配置文件 sudo vim /etc/apt/apt.conf.d/proxy.conf 写入配置 Acquire::http::Proxy "http://user:password@proxy.server:port/"; Acquire::https::Proxy "http://user:password@proxy.server:port/"; 或者 Acquire { HTT... - [Invalid Key Resource URL](https://atlassc.net/2021/08/24/invalid-key-resource-URL.md): My Error While following Ubuntu installation guide of WineHQ, I encountered the following error at adding the repository key: invalid key resource URL '/tmp/apt-key-gpghome.fqOE5QKqm2/home:manuelschn... - [cnpm 与 npm registry 管理](https://atlassc.net/2021/08/19/cnpm.md): 长途跋涉去西方取 package 总是路途艰难,淘宝技术部开发了 cnpmjs.org 和 cnpm 这两个项目来克服这些人为的困难。 cnpmjs.org cnpmjs.org是一个基于nodejs开发、供企业/团队使用的私有npm registry,它同时也可以中继缓存npmjs.org的上的packge,让用户可以在困难的网域顺利地获取npm package。 它功能完善也易于部署和维护... - [Fetch YouTube Video Info Via oEmbed](https://atlassc.net/2021/08/19/fetch-youtube-video-info-via-oembed.md): oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a li... - [在 Ubuntu 上使用 ibus-rime 在 vscode 中无法输入中文的问题](https://atlassc.net/2021/08/13/vscode-ibus-rime-chinese-input-issue-on-ubuntu.md): 我在Snap Store中安装了vscode,但是发现无法使用ibus-rime进行中文输入。 Google 了一会儿以后,看到有 blog post 提到从Snap Store中安装的vscode确实存在无法输入中文的问题,通过微软源在apt中安装可以解决这个问题。 wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg... - [Access Synology Shared Folders from Ubuntu using Samba](https://atlassc.net/2021/08/11/mount-synology-with-cifs-utils-on-ubuntu.md): A step-by-step guide on how to mount Synology shared folders on Ubuntu using cifs-utils. - [Ubuntu rime 五笔拼音混合输入](https://atlassc.net/2021/08/09/ubuntu-wubi-pinyin.md): ibus-rime 通过 ibus-rime 可以在 Ubuntu 上安装拼音五笔混合输入方案。 东风破 安装好ibus-rime之后,可以通 东风破 来安装 rime 的wubi和pinyin-simp 两个输入方案。 配置 ibus-rime 然后通过编辑~/.config/ibus/rime/default.custom.yaml文件来配置wubi_pinyin混合输入方案 patch: ... - [Vim Copy to Clipboard on Ubuntu](https://atlassc.net/2021/08/09/ubuntu-vim-copy-to-clipboard.md): Check Vim Version Check if register is available for your version of vim: vim --version | grep clipboard +clipboard - means it is available, skip next step. -clipboard - means it is not available. I... - [libinput-gestures failed to start as a desktop application](https://atlassc.net/2021/08/08/libinput-gestures-failed-to-start-as-a-desktop-application.md): As I tried to start the libinput-gestures after installation: libinput-gestures-setup start It failed libinput-gestures failed to start as a desktop application. I ventured through Google, but got not... - [Container Timezone](https://atlassc.net/2021/08/07/container-timezone.md): Besides setting timezone fixed inside image, I'd prefer passing it from environment variables. Dockerfile: FROM ubuntu RUN apt-get update && apt-get upgrade -y \ && apt-get install -y... - [Call Docker in Container](https://atlassc.net/2021/08/06/call-docker-in-container.md): Theory There is no way to actually run a docker daemon in a container, but we can pass docker cli and docker daemon through volume mirroring. Example Let's run a container along with those we need mir... - [Deploy A Sonatype Nexus Repository Manager](https://atlassc.net/2021/08/05/sonatype-nexus-repository-manager.md): Sonatype Nexus Repository Manager is all-in-on registry server app. It can be deployed easily via docker, here's my cookbook. Deploy Sonatype Nexus Repository Manager via docker-compose After you had ... - [Counting Commits by Author per Day with Git](https://atlassc.net/2021/07/17/counting-on-git.md): Introduction In the world of Git, sometimes it becomes necessary to know the contributions of each author over a period of time. This can help in gauging productivity, contributions, or even pinpointi... - [Intellij IDEA Project Structure Crushed](https://atlassc.net/2021/06/16/intellij-idea-project-structure-crushed.md): What if opening an existing project with Intellij IDEA went wrong? Try to delete the IDE's project/workspace configuration files and reopen the project directory. rm -rf .idea # idea's workspace confi... - [How Do I Survive Windows](https://atlassc.net/2021/06/14/survive-windows.md): Settings up a developer's env on Windows is complicated, so I'm leaving this memo to remind myself of what to do when my windows ENV got crushed or reset. Install NodeJS Install nodejs using install... - [Create A Custom Ant Design Form Item Component](https://atlassc.net/2021/06/06/create-a-custom-ant-design-form-item-component.md): Ant Design offers a robust and user-friendly form system, packed with an array of components for developers to utilize. Moreover, it allows developers to effortlessly create custom components that can... - [在 UmiJS 中使用布局](https://atlassc.net/2021/05/14/layouts-in-umijs.md): UmiJS 的路由系统中对布局 (routes based layout)有着良好地支持,你可以将页面共用的组件封装在 layouts 文件中,然后通过默认或者手动配置根据路由套用在不同的页面上。 布局文件 布局文件一般存在src/layouts文件夹中,默认布局文件为src/layouts/index.tsx。 根据 React 的组件继承的设计,组件需要通过包裹 ReactChildren 来... - [Install Nodejs from Nodesource](https://atlassc.net/2021/05/13/install-nodejs-from-nodesource.md): Nodejs is a cross-platform runtime, you can install it on almost every popular OS. However, node's version managed by each OS' package manager can be different and obsolete. So just install it from no... - [Override Domain With Nginx](https://atlassc.net/2021/04/24/override-domain-with-nginx.md): You can easily override domain with simple nginx configuration, full request uri to your old domain are forwarded to your new one. server { server_name old.domain.com; return 301 https://new.d... - [搜索 cron 配置的正确姿势](https://atlassc.net/2021/03/08/get-commonly-used-cron-config-the-easy-way.md): cron/crontab 是 Linux 生态里最常用的定时任务工具,它在很多编程平台里都有实现。 如果只是偶尔用一次 cron,你并不需要熟练掌握它的配置规则。在 Google 里,我们能很容易地搜索到它的常用配置。 例如,我现在在 Google 里搜索 cron every 30 minutes 这个关键词,第一条搜索结果就会把我带到 https://crontab.guru/ 这个网站,并显... - [Handling Zip Entry Name's Encoding in Nodejs](https://atlassc.net/2021/01/28/handling-zip-entry-name-encoding-in-nodejs.md): It's simple when you find the right package:compressing Install npm install compressing Unzip With Encoding const compressing = require('compressing'); const result = await compressing.zip.uncompress... - [Set Up Nexus - The All-In-One Repository Manager In Just A Millisec](https://atlassc.net/2021/01/23/setup-nexus.md): Setting up a Sonatype Nexus Repository Manager via docker-compose is far easier than you can imagine. Make a docker-compose.yml file version: "2" services: nexus: restart: always image: son... - [electron-gyp 运行以后卡在某一步没有反应?](https://atlassc.net/2021/01/15/electron-gyp-stuck-in-china.md): electron-gyp运行以后卡在某一步没有反应? 别慌,这是祖国特色,开全局吧。 ... - [babel-node With pm2-docker](https://atlassc.net/2021/01/08/babel-node-with-pm2-docker.md): CMD pm2-docker /usr/src/app/pm2.json --interpreter babel-node ... - [Setup Redis with docker-compose](https://atlassc.net/2021/01/06/redis-with-docker-compose.md): version: '3.5' services: redis: container_name: redis image: redis command: redis-server --appendonly yes --requirepass $REDIS_PASSWORD ports: - "6379:6379" volumes: ... - [在 UmiJS 中打包与加载自定义字体](https://atlassc.net/2020/12/30/bundle-font-face-in-umijs.md): 使用 Webpack 打包字体文件的时候需要使用 file-loader 来处理打包文件,在 UmiJS 3 中可通过配置文件中的 chainWebpack 函数来自定义 Webpack 的配置。 当然首先你得先装上 file-loader npm install --save-dev file-loader 然后编辑 UmiJS 的配置文件 ./umirc.ts 中的 chainWebpa... - [Let's Encrypt Authority X3 证书在iOS上加载缓慢是因为某个特色](https://atlassc.net/2020/11/28/lets-encrypt-ssl-loading-speed-issue-on-ios.md): 最新有新的 WebApp 项目上线,发现在 Android 上打开速度很快,却在 iOS 上打开缓慢,调查下来发现是由于Let's Encrypt Authority X3证书的验证服务器域名被大防火墙认证了造成。 目前尝试下来是好的方案还是弃用Let's Encrypt Authority X3证书。 比如我到腾讯云白嫖了一个证书,顺利解决问题。腾讯云向每个账号免费颁发一定数量的二级证书,不支持... - [How Do You Center Things In A Div?](https://atlassc.net/2020/11/26/how-do-you-center-things-in-a-div.md): FlexBox .container{ display: flex; flex-direction: row; justify-content: center; // horizontal align-items: center; // vertical } ... - [Move Docker data-root](https://atlassc.net/2020/11/23/move-docker-data-root.md): Do you ever feel files in /var/lib/docker are taking so much space of your system partition's storage? That's because the directory is storing docker's images and containers' file-systems, and we all ... - [PowerShellGet Install-Mode 很慢怎么办?](https://atlassc.net/2020/11/20/pwsh-install-module-over-proxy.md): PowerShellGet 的 Install-Mode 可用来在 PowerShell 中安装 Module。它和很多其他的包管理器一样,并没有原生的中国CDN,你在中国用起来一定很难受,所以用它的时候一定要站得高一点: Install-Module -Name oh-my-posh -Proxy <proxy_uri> Install-Module man ... - [Powershell 美化教程](https://atlassc.net/2020/11/20/oh-my-posh-lets-go.md): macOS 和 Linux 上有令人羡慕的oh-my-zsh,它让开发者能在zsh定制炫酷的主题皮肤,在 Windows 上也有开发者开发出了Oh-My-Posh这个PowerShell的module,它配合posh-git使用时,也能对 PowerShell 的主题进行定制。 这个美化套装的主要功能是能在命令行中方便地观察到git的仓库的状态,如图所示: 预装环境 git Windows ... - [在 CentOS 上 通过阿里云源 安装 Docker](https://atlassc.net/2020/11/13/centos-install-docker-from-aliyun-source.md): 在天朝安装 Docker 可能要过五关斩六将,最大的敌人还是网络。感谢阿里云提供了 Docker 的源。 安装 docker-ce CentOS https://docs.docker.com/engine/install/centos/ 移除旧版本的 Docker sudo yum remove docker \ docker-client \ ... - [Docker 配置阿里云加速](https://atlassc.net/2020/11/13/docker-via-aliyun.md): 安装 Docker 并配置阿里云加速 安装 docker-ce CentOS https://docs.docker.com/engine/install/centos/ 移除旧版本的 Docker sudo yum remove docker \ docker-client \ docker-client-latest \ ... - [Indentation And Format Code In Vim](https://atlassc.net/2020/11/12/indentation-and-format-code-in-vim.md): indentation basics press v to enter selection mode, then... indent indent by default configuration: > indent 4 spaces: 4 > unindent unindent by default configuration: < unindent 4 spaces: ... - [How to Install Certbot with Nginx on Linux](https://atlassc.net/2020/11/10/install-certbot.md): Certbot is a handy command-line tool for Let's Encrypt, enabling you to set up and update SSL certificates effortlessly via straightforward commands. Though the official guide suggests using snapd for... - [Self-managed GitLab Cookbook](https://atlassc.net/2020/11/09/gitlab-self-host-cookbook.md): I've been maintaining self-managed GitLab instances for a few years. gitlab-ce is fully dockerized, you can easily deploy a GitLab container within a few minutes. Here's my cookbook. Prerequisites To ... - [Squash Your Commits](https://atlassc.net/2020/11/09/squash-your-commits.md): Do You Commit A Lot? When I work on a project, I used to commit every little progress, so that I can feel safe to move forward. But it makes my commit history a mess. However, git provides a few ways ... - [阿里云ECS通过快照恢复之后修复网卡](https://atlassc.net/2020/11/07/aliyun-ecs-snapshot-restore-network.md): 故障 阿里云ECS(Ubuntu操作系统)在使用快照或镜像重置/恢复之后,会出现无法访问网络的问题。外网无法ping通服务器,服务器内无法解析域名。 这是因为服务器的网卡配置被重置了。 修复 可在阿里云的ECS实例详情页面使用VNC方式远程连接服务器来重新配置网卡以修复网络。 重新配置网卡 检查网卡 运行以下命令看是否能找到正在运行的网卡 ifconfig | grep 'eth0' 检查和打开网... - [MySQL Out of Sort Memory](https://atlassc.net/2020/09/07/mysql-out-of-sort-memory.md): Error "1038 Out of sort memory, consider increasing server sort buffer size If you encountered this error when sorting over a million rows of data, you should consider adding an index to the column yo... - [Combine Your PDFs with Ease Using pdfunite](https://atlassc.net/2020/08/28/pdfunite.md): pdfunite is a handy command-line tool that allows you to merge PDFs directly on your macOS, Linux, or Windows Subsystem for Linux (WSL). - [Magick](https://atlassc.net/2020/08/19/magick.md): If you prefer command line tool, you don't need to find a online to for convert images. Magick is THE powerful tool you deserve. I'll collect a few scripts I used here as a note for myself, hope you c... - [Cut and Merge Videos Using FFmpeg: A Developer's Guide](https://atlassc.net/2020/08/18/cut-video-with-ffmpeg.md): A developer's guide to cutting and merging videos using FFmpeg. - [How to install Hydrogen/Oxygen OS 11 Developer Preview](https://atlassc.net/2020/08/13/hydrogen-oxygen-os-11-developer-preview.md): Your Data is Valuable Please make sure you had your data backup. There is a built-in backup app in OnePlus phone, see the official guide about how to back up your data. How to install HydrogenOS 11 De... - [MySQL Character Set And Collation Fast Note](https://atlassc.net/2020/07/23/mysql-character-set.md): MySQL Instance Character Set and Collation Config via docker-compose File version: '3.5' services: mysql: image: mysql container_name: mysql restart: always command: [ 'mysql... - [Detect Webapp Frameworks](https://atlassc.net/2020/07/03/detect-webapp-frameworks.md): Wappalyzer React Chrome Dev Extension Vue Chrome Dev Extension ... - [Resolving VLC Subtitle Display Issue During HDR Content Playback](https://atlassc.net/2020/06/24/fix-vlc-subtitle-issue-when-playing-hdr-content.md): By modifying or replacing subtitle files, you can enjoy your HDR videos without any hitches. - [Run Windows Terminal As Administrator From Commandline](https://atlassc.net/2020/06/11/run-windows-terminal-as-administrator-from-commandline.md): Run Windows Terminal as Administrator by Using Hotkey In the old method I tried to geek it out by run Windows Terminal as Administrator from command line, but I've found another way to fire it up more... - [Install Authy app to get Pornhub's 2-step authentication code and my thoughts on 2FA](https://atlassc.net/2020/05/30/install-authy-app-to-get-pornhub-2-step-auth-code.md): I can't get any SMS code at PornHub's 2-step authentication since last week. I am not sure if they had any issue on sending sms overseas during this unsettling time. So I opened a ticket asking for he... - [Reset Password on WSL2](https://atlassc.net/2020/05/21/wsl2-reset-password.md): It is tricky and easy to reset password on WSL2. To do that, first of all, you need to set login as root by default: ubuntu config --default-user root Then change your password as root: passwd <YOU... - [在公众号后台配置 WebApp 接入](https://atlassc.net/2020/05/10/config-wechat-official-account-for-webapp.md): AppID 与 AppSecret 开发 基本配置 AppID:获取 AppSecret:获取 IP白名单:填写 设置接口权限 开发 接口权限 功能服务 网页授权 网页授权获取用户基本信息 部署域名认证凭证到WebApp的public根目录 企业域名:部署 JS接口安全域名:设置 网页授权域名:设置 授权开发者工具 开发者工具 web开发者工具 绑定开发者微信... - [Note book across the world](https://atlassc.net/2020/03/08/notebook-across-the-world.md): Evernote已被大墙认证 很久不用Evernote了,听闻最近国际版已被大墙认证,无法直连和同步。 别慌,飞机里面加条规则就行了。 找到user-rule.txt文件,添加以下内容即可。 ! Evernote Start www.evernote.com ! Evernote End OneNote UWP 经常无法同步 之前切换到 OneNote,发现 Windows 上使用同步也是一件很麻... - [在 Ant Design Pro 工程中删除不用的国际化文件](https://atlassc.net/2020/02/28/ant-design-pro-remove-unused-locale.md): Ant Design Pro 的工程中内置一个npm run i18n-remove 的命令,能调用pro cli来完全移除i18n的功能。 但我们的需求通常是只移除不需要使用的Locale,而不是将i18n的功能完全移除,因为通过i18n的功能还可以实现文本的配置化,比如在打包的替换程序的显示名称。 如果只是要移除不用的Locale,那就把locales中非zh-CN(或者你要保留的语言)的文件... - [Get Real Client IP In FeathersJS](https://atlassc.net/2020/02/26/feathersjs-client-real-ip.md): IP Address In Request Headers Are Usually Set by Nginx Your Nginx reverse proxy config should be something like this: server { listen 80; server_name example.com; location / { prox... - [How I Automated Android Packaging](https://atlassc.net/2020/01/09/how-I-automated-android-packaging.md): Why not get automated in generating an apk? Though the official guide tells us how to generate our builds by clicking one and another menu options in Android Studio, but we don't always have to genera... - [阿里云的Maven镜像](https://atlassc.net/2020/01/06/aliyun-maven-mirror.md): 更新 阿里云镜像站上线了! 阿里的Maven镜像 在天朝开发Java怎么少得了使用阿里云的Maven镜像呢? buildscript { repositories { maven{ url 'https://maven.aliyun.com/repository/apache-snapshots'} maven{ url 'https://maven.ali... - [PUPPETEER_DOWNLOAD_HOST](https://atlassc.net/2020/01/02/puppeteer-download-host.md): puppeteer 是一个 NodeJS 的 Chrome headless API,安装的时候会 bundle 一个Chromium。如果你很不幸身在大中华局域网内,可能无法顺利下载Chromium。 所幸官方提供了环境变量配置,可以设置一个镜像地址来下载Chromium。 配置文件中添加变量 PUPPETEER_DOWNLOAD_HOST=https://storage.googleapis.... - [Privacy Policy](https://atlassc.net/2020/01/01/privacy-policy.md): Effective Date: 2020-01-01 1. Introduction Welcome to ShinChven's Blog ("we," "us," or "our"). This Privacy Policy is designed to help you understand how we collect, use, and safeguard the information... - [AirPods Pro is mostly working fine with Androids](https://atlassc.net/2019/12/03/airpods-pro-is-mostly-working-fine-with-androids.md): What is working and what is not Tl;Dr Most functions are working when you use a pair of AirPods Pro with Android, but you still need an iOS device to configure them. Details function working? Pa... - [Take All Persistable Uri Permissions At A Time If You Want Them To Last Over Reboot](https://atlassc.net/2019/11/26/take-all-persistable-uri-permissions-at-a-time-if-you-want-them-to-last-over-reboot.md): If I don't get it wrong, declaring for the android.permission.WRITE_EXTERNAL_STORAGE permission is bundled with android.permission.READ_EXTERNAL_STORAGE, so in old ways if I am a lazy guy, I just don'... - [@ant-design/pro-layout 移动模式下点击条目以后自动关闭菜单](https://atlassc.net/2019/11/18/ant-design-prolayout-hide-menu-drawer-automatically-in-mobile.md): 在Ant Design Pro工程中修改src/layouts/BasicLayout.jsx中的menuItemRender这个prop即可实现在移动模式下点击条目以后自动关闭菜单 // src/layouts/BasicLayout.jsx const BasicLayout = props => { return ( <ProLayout menuItem... - [Override Properties of a CSS Class](https://atlassc.net/2019/11/17/override-css-class.md): Third party components sometimes may just not fit in, we can override its perperties to fix it. .container { // My div to surround third party components :global .ant-form-item { // use :global syn... - [@ant-design/pro-layout icon 点击事件](https://atlassc.net/2019/11/17/ant-design-prolayout-icon-click.md): 在Ant Design Pro工程中修改src/layouts/BasicLayout.jsx中的logo和menuHeaderRender两个props即可实现icon的点击事件 // src/layouts/BasicLayout.jsx const BasicLayout = props => { return ( <ProLayout logo={<... - [Better Screenshot Tools](https://atlassc.net/2019/11/09/better-screenshot-tool.md): Taking screenshots and marking them to explain situations on your screen are quite essential and common skills in online chat. macOS and Windows have their own built-in screenshot tools, but none of ... - [Oracle Cloud 的羊毛](https://atlassc.net/2019/09/19/oracle-cloud-always-free-plan.md): 免费的羊毛刮不刮? 听闻 Oracle Cloud 出了 always free 的服务,还送300刀试用金,于是上去刮了刮羊毛。 配置 1/8个OCPU 1GB RAM 46GB HDD 直连可注册 注册地址; 填写你的信息和要注册的区域,我选的菲尼克斯; 填写手机号,接收验证码(支持全球号码,不需要与区域相同); 绑定一张外币信用卡:扣1美元授权费,之后会退还; 注册完成; 创建实例与... - [Bootstrap a GitLab pipeline in no time](https://atlassc.net/2019/09/17/bootstrap-a-gitlab-pipeline-in-no-time.md): Requirements A VPS or Linux machine with more than 4GB RAM; Docker and docker-compose installed; Linux OS; GitLab team officially stated the requirement for RAM is 2GB, but I am sure you really need... - [基于 GitLab 实现 DevOps](https://atlassc.net/2019/08/30/run-pipeline-w-gitlab.md): GitLab是我们团队的核心协作平台 在过去4年里,我们团队的整个软件开发流程(代码版本控制、开发任务管理、缺陷管理和自动化部署)都在私有部署的社区版 GitLab 上面进行,它是我们的核心协作平台。配合上 docker 和 cnpm 仓库,我们基本上实现了 JavaScript/NodeJS 全栈的自动化 DevOps。 使用 GitLab runner 实现自动化部署的 Pipeline Gi... - [Unraveling React Server-Side Rendering (SSR)](https://atlassc.net/2019/08/30/react-server-side-rendering.md): A closer look at React SSR and its benefits - [在微信小程序中解码与验证 JWT Payload](https://atlassc.net/2019/01/10/decode-jwt-payload-in-wechat-miniprogram.md): 如何在微信小程序中不依赖第三方库手动解码 JWT Payload 并验证有效性。 - [How to solve android download pending problem](https://atlassc.net/2019/01/02/android-download-pending.md): There is a built-in Download Manager in Android which was used by many system components and apps. For example, Google Play Store uses it to download and update apps, and Google play services uses it ... - [在微信小程序中使用FeathersJS的RESTful API](https://atlassc.net/2018/12/29/use-feathersjs-restful-api-in-wechat-miniprogram.md): 前言 最近在做微信小程序开发,为已有的一个Web应用程序提供微信小程序客户端。这个Web应用程序基于FeathersJS 开发,提供RESTful API,因此也想在小程序共用大部分API。 微信小程序中的HTTP请求 微信小程序开发中使用wx.request(Object object) 这个API进行http数据请求,且仅支持https证书加密访问。 JWT认证 微信小程序的容器并不是一个标准... - [Understand Community](https://atlassc.net/2018/12/09/understand-community.md): I didn't correctly understand the meaning of community until I took a close look at it. As far as I know, community is a new word in Chinese. I firstly met it when street offices' name in China were ... - [MySQL Schema Initialization Note](https://atlassc.net/2018/12/08/mysql-schema-initialization-note.md): Initiate MySQL Database Setting up a MySQL database for a new project, you basically have three things to do: Create a database Create a standalone database user for the database for security purpose... - [搬瓦工 VPS 速度慢?揭秘让网速满血复活的内核魔法](https://atlassc.net/2018/12/01/bandwagonhost-full-power-activated.md): 解决搬瓦工 VPS 手动搭建服务性能下降问题,揭秘官方一键脚本背后的内核优化魔法。 - [Print Commands in Bash Script](https://atlassc.net/2018/11/25/print-commands-in-bash-script.md): We can transcript and run multiple commands in one single bash script file, but it won't print the command you wrote in script by default. Whereas, printing commands in script is supported, it just n... - [在React中异步设置组件的默认值](https://atlassc.net/2018/11/09/load-default-value-asynchronously-in-react-component.md): 前提 在开发一个编辑功能的页面时,我们经常需要异步加载页面和待编辑的数据对象; 如果表单控件先以空数据加载好控件再异步加载异步IO的数据对象,那么像Checkbox(from antd)这样的基于状态的图形控件则无法文本输入控件一样重新初始化值(defaultChecked); 另外,如果将checked属性直接与数据对象的某个值绑定,会造成控件的状态无法变更问题,因为每次变更控件状态时,都会触... - [Use Ant Design Checkbox with getFieldDecorator](https://atlassc.net/2018/11/04/ant-design-checkbox-with-getfielddecorator.md): Error Form.getFieldDecorator is an Ant Design Form validation tool, it is used to wrapped input components and handle value and value validation. It is working fine with common component with a props ... - [Insert, Replace or Delete Element in a JavaScript Array with Array.prototype.splice() method](https://atlassc.net/2018/10/30/modify-items-in-a-javascript-array.md): The splice() method changes the contents of an array by removing or replacing existing elements and/or adding new elements in place. Insert An Item in An Array const arr = [1, 2, 3, 4, 5]; arr.spli... - [Dialog activity matching parent's width](https://atlassc.net/2018/09/23/dialog-activity-matching-parent-width.md): Extend your theme from .Dialog.Alert <style name="YOUR_THEME_NAME" parent="@style/Theme.AppCompat.Light.Dialog.Alert"> <!--your theme here--> </style> Do not extend your theme fr... - [Quick proxy in bash](https://atlassc.net/2018/09/23/quick-proxy-in-bash.md): Sometimes we need to use proxy in bash, but it is boring and inconvenient for us config and clear proxy for bash everytime when we need to use a proxy. Create a file which will be used as a command in... - [终端命令行如何穿越?](https://atlassc.net/2018/09/23/quick-proxy-in-terminal.md): 开发的时候经常遇到在命令行里访问GitHub和者某些篱笆外的资源不太方便的情况,于是写了一个简单的脚本来快捷实现命令行翻篱笆,原理很简单,就是套娃。 创建一个可执行文件作为命令使用 创建一个文件,保存到/usr/local/bin,这样之后它会被添加到path中,便可以在bash 中当作命令使用 vim /usr/local/bin/proxy 编写翻篱笆脚本 #!/usr/bin/env... - [用hexo重新搭建了博客](https://atlassc.net/2018/09/17/new-to-hexo.md): 为什么要搭建博客? 博客这种互联网2.0时代早期的产物,早在社交网络、移动互联网兴起的时候就已经褪去热度。现在自媒体平台大行其道,自媒体人肯定会选择一个流量平台,而不是自己搭建一个难以吸引到读者的独立博客。 而我还是选择自己动手搭建一个独立博客,无外乎有这样一些原因: 有技术上的可玩性,是实践和学习技术的好机会; 管理方便、统一归档和备份,不会因为平台突然关闭丢失资料; 不受平台审查限制,可以自由... - [如何为 Docker 扫地](https://atlassc.net/2018/07/11/clean-docker.md): docker system prune 使用docker system prune命令是目前最便捷的清理方式 清理未被使用的containers、networks、images,可选清理volumes # 为防止数据丢失,该命令**默认不清理volumes** docker system prune # 清理所有未被使用的资源,包括未被使用的volumes # 🚨 🚨 🚨 可能造成数据丢失... - [上手NAS](https://atlassc.net/2018/03/17/new-to-nas.md): 移动硬盘我大概有5、6个,容量加起来超过10TB。由于有两台电脑(一台坐着用、一台躺着用~),所以经常要插拔。我不是很喜欢Windows 的文件夹共享功能,尤其是Windows 10以后,时好时坏用着有脾气。 路由器是网件WNDR4300,买的时候听说功能很强大,路由器功能还行,但USB读写速度慢得感人,就不想用它挂硬盘共享文件了。也刷过OpenWRT,觉得路由器的配置总之还是低,玩起来没劲儿。 ... - [PowerDVD 17 Ultra 和蓝光区码](https://atlassc.net/2018/03/15/powerdvd-and-bluray-region-code.md): PowerDVD是老牌的电影光盘播放器,功能强大,解码能力一流,还能播放蓝光菜单,十多年前看DVD的时候我就着迷这个播放器软件。那个时候的正版软件的售价和我的消费能力还有着深刻的矛盾,一直没能舍得买个正版,而现在PowerDVD 17 Ultra 在疯狂打折,只需要44.95刀,于是果断剁了。 蓝光播放器一般设置了区码限制,在中国地区安装了PowerDVD以后,默认会设置成中国C区。要播放其他区蓝... - [Notify Item Removed Safely](https://atlassc.net/2017/05/23/notify-item-removed-safely.md): RecyclerView's adapter provides more powerful methods for developers to animate their list like you can easily run a remove animation on one particular item in the list by calling adapter.notifyItemRe... - [Setup An IP Whitelist With Nginx](https://atlassc.net/2017/03/11/ip-whitelist-with-nginx.md): Basic Configuration Define a common IP whitelist conf to be included Edit /etc/nginx/conf.d/shared/ipwhitelist.conf deny 192.168.1.1; # deny the actual IP address allow 127.0.0.1; # allow... - [Goodbye Google Reader](https://atlassc.net/2013/05/04/goodbye-google-reader.md): 已经不记得我是先用上 Twitter 还是 Google Reader,更不记得是从 Twtter 了解道 Google Reader 还是从 Google Reader 认识 Twitter的。我能记得是,我一定是从 Google Reader 开始成为 Google 重度用户的。 在这之前我对 Web 的了解就是网站,各种网站,即使是玩博客,那也只是把博客当作是一个由博客提供商托管的个人网站... - [攻壳机动队的进化预言](https://atlassc.net/2010/10/22/ghost-in-the-shell-20-revolution.md): 《攻壳机动队》是一部在视觉、听觉和思想上给人们带来了许多震撼的伟大科幻动画电影。《攻壳机动队2.0》,它不是一次复刻,它也不是一次重新剪辑,它是2.0,它是一次进化 。藉由现代先锋动画电影制作技术,将这部受限于赛璐璐时代技术的里程碑式科幻作品进行改造,使其伟大的想象力能够在13年以后得以解放。 素子:这真是方便呢。只要自己高兴就可以用装在体内的化学反应器,在十秒内将血液中的酒精分解,恢复清醒... - [Donate Me - 打赏我 😍](https://atlassc.net/2000/10/27/donate-me.md): Hi, I'm ShinChven the software engineer behind this blog. If you find my articles or other works useful, please consider donating to me. Below are the ways you can donate to me: 你好,我是开发者ShinChven,欢迎你...