sudo apt purge nvidia*
sudo apt remove nvidia-*
sudo rm /etc/apt/sources.list.d/cuda*
This script is used to update MSVC and Windows SDK environment variables on Windows systems, simplifying the C++ configuration of Visual Studio Code.
It performs the following tasks:
-
Check for Administrator Privileges: The script first checks if it is running with administrator privileges. If not, it prompts the user to run the script as an administrator and exits.
-
Get Latest Version Path: It scans the specified base paths to find the latest version of MSVC and Windows SDK installations.
-
Update Environment Variables:
/** | |
* Convert standard camera intrinsic and extrinsic parameters to a vtkCamera instance for rendering | |
* Assume square pixels and 0 skew (for now). | |
* | |
* focal_len : camera focal length (units pixels) | |
* nx,ny : image dimensions in pixels | |
* principal_pt: camera principal point, | |
* i.e. the intersection of the principal ray with the image plane (units pixels) | |
* camera_rot, camera_trans : rotation, translation matrix mapping world points to camera coordinates | |
* depth_min, depth_max : needed to set the clipping range |
If you want a code to run continuously in the background, you will need to change the file extension
from .py in .pyw
Before running the script you need to do the following:
From the CMD (command prompt) console, run the command: pip install pythonw
// | |
// Created by Harold on 2023/7/14. | |
// | |
#include "member_visitor.h" | |
#include <cstdint> | |
#include <string> | |
#include <iostream> |
#include <cstdio>
#include <limits>
int foo(int a, int b)
{
Add language resource to App.axml
:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceInclude Source="avares://MyAssembly/Assets/Languages/Lang.ENG.xaml"></ResourceInclude>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
#!/bin/sh | |
git filter-branch -f --env-filter ' | |
OLD_EMAIL="OLD EMAIL" | |
CORRECT_NAME="YOUR NAME" | |
CORRECT_EMAIL="YOUR EMAIL" | |
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] |
// ------------------------------------------------------------------------ | |
// Benchmark LGCG Time LTO Time Iterations LTCG Build LTO Build | |
// ------------------------------------------------------------------------ | |
// regex_boost 317 ns 69.1 ns 2133333 00:02.720 00:08.70 | |
// regex_ctre 248 ns 4.79 ns 2800000 05:08.755 00:04.78 | |
// regex_hyperscan 96.7 ns n/a 7466667 00:52.487 n/a | |
// regex_re2 186 ns 3.97 ns 4072727 00:03.353 00:05.94 | |
// regex_spirit 44.3 ns 0.644 ns 15448276 00:03.487 00:05.25 | |
// regex_std 2371 ns 67.2 ns 280000 00:02.442 00:05.54 | |
// regex_xpressive 552 ns 273 ns 1000000 00:05.369 00:11.52 |