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
#include <stdio.h> | |
#include <unistd.h> | |
int main(void) { | |
int a; | |
int c; | |
for(c=1;c<=64;c++) { | |
a=c; | |
printf("\r"); | |
fflush(stdout); | |
printf("%d",a); |
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
#include<iostream> | |
#include<sstream> | |
using namespace std; | |
bool myisdigit(string str) | |
{ | |
for(int i=0;i<str.size();i++) | |
{ | |
if ((str.at(i)>'9') || (str.at(i)<'0') ) | |
{ | |
return false; |
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
using Microsoft.Win32; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace SetMPath | |
{ | |
internal class Program |
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
FOR /F %%I IN ('dir /B "C:\Program Files (x86)\Microsoft\Edge\Application" ^| findstr [0-9]') DO set a=%%I | |
echo find is %a% | |
set b="C:\Program Files (x86)\Microsoft\Edge\Application\%a%\Installer\setup.exe" | |
%b% --uninstall --force-uninstall --system-level --delete-profile | |
rmdir /s /q "C:\Program Files (x86)\Microsoft\Edge" | |
for /f "tokens=8 delims=\" %%T in ('reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages" ^| findstr "Microsoft-Windows-Internet-Browser-Package" ^| findstr "~~"') do (set "edge_legacy_package_version=%%T") | |
if defined edge_legacy_package_version ( | |
echo Removing %edge_legacy_package_version%... | |
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%edge_legacy_package_version%" /v Visibility /t REG_DWORD /d 1 /f | |
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%edge_legacy_package_version%\Owners" /va /f |
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
#!/bin/sh | |
PFL1="-mllvm -polly=true -mllvm -polly-run-inliner=true -mllvm -polly-run-dce=true -mllvm -polly-vectorizer=stripmine -mllvm -polly-detect-profitability-min-per-loop-insts=56 -mllvm -polly-2nd-level-tiling=true -mllvm -polly-opt-max-coefficient=31 -mllvm -polly-opt-max-constant-term=31" | |
PFLF="-Wno-unused-command-line-argument" | |
PFL2="-mllvm --hot-cold-split=true" | |
SKIP=false | |
O=-O0 | |
for i in "$@"; do | |
if [ "$i" = "-m32" ] || [ "$i" = "-m64" ] || [ "$i" = "-D__ASSEMBLY__" ] || [ "$i" = "-D_LIBC=1" ]; then | |
SKIP=true |
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
#!/bin/sh | |
echo 4 > /sys/devices/system/cpu/cpu0/power/energy_perf_bias | |
echo 4 > /sys/devices/system/cpu/cpu32/power/energy_perf_bias | |
echo 8 > /sys/devices/system/cpu/cpu30/power/energy_perf_bias | |
echo 8 > /sys/devices/system/cpu/cpu62/power/energy_perf_bias | |
for a in $(seq 2 4 29) | |
do | |
echo 5 > /sys/devices/system/cpu/cpu$a/power/energy_perf_bias |
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
/* SPDX-License-Identifier: Apache-2.0 */ | |
/* Created & Support: [email protected] */ | |
/* Donate: https://buymeacoffee.com/bbktto */ | |
#include <stdio.h> | |
#include <sys/prctl.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <errno.h> |