This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tongDonHang = 0; | |
var tongTienTietKiem=0; | |
var tongtienhang = 0; | |
var tongtienhangchuagiam = 0; | |
var tongSanPhamDaMua = 0; | |
var trangThaiDonHangConKhong = true; | |
var offset = 0; | |
var si = 20; | |
function xemBaoCaoThongKe() { | |
var orders = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Please note that this script will modify your directory, You must back up your directory by yourself!" | |
#pause | |
$currentLocation = Get-Item -Path "" | |
# Create Grouped By Extension directory | |
$parentOfCurrentLocation = Split-Path -Parent $currentLocation | |
$groupedByExtensionLocation = Join-Path -Path $parentOfCurrentLocation -ChildPath "Grouped By Extension" | |
New-Item -Force -ItemType Directory $groupedByExtensionLocation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$locationToRemove = Get-Item -Path "" | |
Get-ChildItem -Path $locationToRemove -Force | ForEach-Object { | |
Remove-Item -Force -Recurse -Path $_.FullName | |
"Removed $_" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Goto "Settings" -> "Clear browsing data" -> Click on "Choose what to clear". | |
2. Choose "Time range": "All time". | |
3. Tick on all the browsing data except "Passwords" and "Autofill form data (includes forms and cards)" | |
4. Click on "Clear now". | |
5. Restart the Microsoft Edge. | |
6. Repeat from step 1 to step 5 one more time. | |
7. Check if the login issue on the Microsoft Edge was resolved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GPG | |
• Export GPG details | |
1. Running command to get secret key in base64 format: | |
## gpg -a --export-secret-keys <your-email-address> | base64 -w 0 | |
1. Running command to get ownertrust in base64 format: | |
## gpg --export-ownertrust | base64 -w 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir OpenCV | |
cd OpenCV | |
git clone https://github.com/opencv/opencv.git | |
git clone https://github.com/opencv/opencv_contrib.git | |
mkdir build | |
cd build | |
cmake -G "Visual Studio 16 2019" -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_SHARED_LIBS=OFF -D BUILD_FAT_JAVA_LIB=ON -D OPENCV_ENABLE_NONFREE=ON -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules -D BUILD_EXAMPLES=OFF -D BUILD_opencv_apps=OFF -D BUILD_DOCS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_TESTS=OFF ../opencv | |
cmake --build . --config release | |
cmake --build . --target install --config release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.Create folder that name "windows.old" in Local disk C | |
2.Drag the files or folder that cannot be deleted into Windows.old | |
3.run Disk cleanup | |
4.choose Disk C | |
5.then click Cleanup System Files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Put config folder into the same folder with this script file" | |
Pause | |
# Files and directories need removing | |
$directoriesToRemove = "codestyles", "event-log-whitelist", "extensions", "jdbc-drivers", "mdn", "tasks", "workspace", "terminal" | |
$filesInConfigToRemove = "idea.properties", "idea64.exe.vmoptions", "user.web.token" | |
$filesInOptionsToRemove = "acceptedLanguageLevels.xml", "baseRefactoring.xml", "colors.scheme.xml", "databaseDrivers.xml", "debugger.xml", "dimensions.xml", "equalsHashCodeTemplates.xml", "extensionsRootType.xml", "file.template.settings.xml", "filetypes.xml", "find.xml", "images.support.xml", "jdk.table.xml", "markdown.xml", "other.xml", "laf.xml", "path.macros.xml", "profilerRunConfigurations.xml", "recentProjects.xml", "runner.layout.xml", "studioFlags.xml", "textmate_os.xml", "updates.xml", "usage.statistics.xml", "vcs.xml", "window.state.xml", "window.manager.xml", "wsl.distributions.xml" | |
# The total number of files/directories to remove | |
$totalDirs = $directoriesToRemove.Length | |
$totalFil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Azure Active Directory | Devices | Enterprise State Roaming |
NewerOlder