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
// ==UserScript== | |
// @name theNextCuteVOZ | |
// @namespace theNextCuteVOZ | |
// @description Utilize for vOz. Lưu ý rằng mình không phải là idmresettrial, mình chỉ sử dụng code của thím ấy! | |
// @author idmresettrial | |
// @homepage voz.vn | |
// @run-at document-start | |
// @version 0.20201028020217 | |
// ==/UserScript== | |
(function() {var css = ""; |
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
public class QuickSort { | |
public static void main(String[] args) { | |
int[] x = {6, 2, 3, 4, 5, 9, 1}; | |
printArray(x); | |
int left = 0; | |
int right = x.length - 1; | |
quickSort(x, left, right); | |
printArray(x); |
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
@echo off | |
echo Setting JAVA_HOME | |
setx -m JAVA_HOME "C:\Program Files\Java\jdk1.8.0_212" | |
echo JAVA_HOME: %JAVA_HOME% | |
echo setting PATH | |
setx -m PATH "%Path%;%JAVA_HOME%\bin" | |
echo PATH: %PATH% | |
echo Display java version | |
java -version | |
pause |
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
Param ( | |
[Parameter(Mandatory=$True)][String]$SourcePath | |
) | |
Get-ChildItem $SourcePath\* -recurse -Include *.json,*.html,*.xml,*.js,*.txt,*.css | ForEach-Object { | |
$content = $_ | Get-Content | |
Set-Content -PassThru $_.Fullname $content -Encoding UTF8 -Force} |
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
Show hidden characters
{ | |
"cmd": ["vcvars32.bat", "&", "cl", "/EHsc", "${file}"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c, source.cpp, source.c++", | |
// By default cl is not in your PATH, so add it to your path (preferably) | |
// or uncomment "path" and check that it has correct value | |
//"path": "path:/to/folder/where/cl.exe/located", | |
// this also will set path for vcvars32.bat | |
"shell": true, // Without this sublime has hard times to parse "&" in out command line |