Pinned Loading
-
change dns
change dns 1#!/bin/bash
23filename="/etc/resolv.conf"
45sudo chmod 777 $filename
-
debounce
debounce 1function debounce(func, timeout = 300){
2let timer;
3return (...args) => {
4clearTimeout(timer);
5timer = setTimeout(() => { func.apply(this, args); }, timeout);
-
cindex.js
cindex.js 1function insertSpaces(input) {
2const rawValue = input.value.replace(/\D/g, '');
3const formattedValue = rawValue.replace(/(.{4})/g, '$1 ');
4input.value = formattedValue.trim();
5}
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.