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
// Before running this code, please make sure to configure your browser settings to allow automatic downloads. | |
// Define the base URL and set the initial number | |
let baseUrl = 'https://images.mangafreak.net/downloads/One_Piece_'; | |
let startNumber = 1; // You can change this to any specific number set by the user | |
for (let i = startNumber; i <= 1083; i++) { // Change the end number to 1083 or any specific number set by the user | |
setTimeout(() => { | |
// Format the number with leading zeros | |
let num = i; |
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
########## upgrade_script.py - start ########## | |
import argparse | |
parser = argparse.ArgumentParser(description='A simple script to help with netbox upgrades') | |
parser.add_argument("-f",help="Version of netbox you're looking to upgrade FROM 'ex 2.7.8'") | |
parser.add_argument("-t",help="Version of netbox you're looking to upgrade TO 'ex 2.7.9'") | |
args = parser.parse_args() | |
goFrom = str(args.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
var itemurl=`https://cdn.hxmanga.com/file/majekayoo/record-of-ragnarok/Chapter-68/` | |
for(let i=1; i<=42; i++){ | |
setTimeout(() => { | |
//let num = i < 10 ? '0' + i : i; | |
//if less than 100 add 1 zeros to the left and if less than 10 add 2 zeros to the left | |
let num = i.toString().padStart(3, '0'); | |
fetch(itemurl+`${num}.jpg`) | |
.then(resp => resp.blob()) | |
.then(blob => { |
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
<?php | |
include('zklib/ZKLib.php'); | |
$users = []; | |
//Main device | |
$zk = new ZKLib('192.168.1.100'); | |
$ret = $zk->connect(); | |
if ($ret) { | |
$zk->disableDevice(); | |
//Get users |
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 | |
title Activate Office 365 ProPlus for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products: Office 365 ProPlus (x86-x64)&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo ============================================================================&echo Activating your Office...&c |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<body> | |
<!--button onclick function--> |
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 dataTable = $('#example').DataTable({ | |
"processing": true, | |
"serverSide": true, | |
"ajax": { | |
url: "folder1/subfolder1/datatable.php", | |
type: "POST", | |
success: function(response) { | |
console.log(response); | |
}, | |
error: function(response) { |
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
<?php | |
$genpath = "../fileshere/"; | |
$category = "Folder Test 1"; | |
$folder = scandir($genpath . $category); | |
$files = array_diff($folder, array( | |
'.', | |
'..', | |
'.metadata' | |
)); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<bookstore> | |
<book category="cooking"> | |
<title lang="en">Everyday Italian</title> | |
<author>Giada De Laurentiis</author> | |
<year>2005</year> | |
<price>30.00</price> </book> | |
<book category="children"> | |
<title lang="en">Harry Potter</title> |
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
<?xml version='1.0' encoding='utf-8'?> | |
<tomcat-users> | |
<role rolename="admin-gui"/> | |
<role rolename="admin-script"/> | |
<role rolename="manager-gui"/> | |
<role rolename="manager-script"/> | |
<role rolename="manager-jmx"/> | |
<role rolename="manager-status"/> | |
<user username="username" password="yourpasswordhere" roles="admin-gui,manager-gui"/> |
NewerOlder