This guide explains how to set up and use direnv
on a Windows system, particularly with Git Bash, for managing project-specific environment variables. 🚀
- 🖥️ Windows operating system
- 🛠️ Git Bash installed
# Life Online | |
* voteforme | |
James tweets about Barack Obama who belongs to the "Democratic Party". | |
FLAG=Democratic Party | |
* growingup | |
James tweets about what3words and on his twitter bio he wrote his Birthplace and city using what3words | |
"///push.asking.barn" which is in "Yorkshire" according to Google Maps. | |
FLAG=Yorkshire |
/.vs |
Ref: https://bbs.archlinux.org/viewtopic.php?id=65508 | |
1/ Method 1 | |
# First, create a new Linux group which has permission to use promiscuous mode, and add yourself to the group. | |
$ groupadd promiscuous | |
$ usermod -a -G promiscuous <your_user_id> | |
# Update the group ownership and access permission of /dev/vmnet* | |
$ chgrp promiscuous /dev/vmnet* | |
$ chmod g+rw /dev/vmnet* |
This is Python's http.server that has been bundled to an .exe using PyInstaller. You can use it as a local web server for testing. | |
Run the local server | |
1. Copy the server.exe into the folder you want to serve and then double click it to start the local server. | |
2. A window will pop up letting you know the server is running on port 8000. | |
3. Open http://localhost:8000/ in your web browser. | |
4. When you are done, simply close the server.exe window to stop the local server. | |
If you have another service running on port 8000, you can run on a different port like so: | |
1. Open Command Prompt |
@echo off | |
setlocal EnableDelayedExpansion | |
set BUILD_CACHE=%~dp0\_build_cache.cmd | |
if exist "!BUILD_CACHE!" ( | |
rem cache file exists, so call it to set env variables very fast | |
call "!BUILD_CACHE!" | |
) else ( | |
if not exist "%VS2019INSTALLDIR%\VC\Auxiliary\Build\vcvarsall.bat" ( |
# mihomo (Clash Meta) 懒人配置 | |
# 版本 V1.15-241205 | |
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33 | |
# https://obdo.cc/meta | |
# 作者: 笨蛋ovo (bdovo.cc) | |
# Telegram: https://t.me/baka_not_baka | |
# 关注我的 Telegram 频道谢谢喵 https://t.me/s/BDovo_Channel | |
# 修改自官方示例规则 https://wiki.metacubex.one/example/#meta | |
# 转载请保留此注释 | |
# 尽量添加了较为详尽的注释,不理解的地方建议对照 虚空终端 (Clash Meta) Docs 进行理解 |
import { getContext, setContext } from "svelte"; | |
/** | |
* The context object. | |
*/ | |
export interface Context<T> { | |
get: () => T; | |
set: (ctx: T) => T; | |
} |
Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.
Rubric: Software Engineering : Factual Claims : Defect Cost Increase : Pressman Ratios
See previous note on the IBM Systems Sciences Institute