Skip to content

Instantly share code, notes, and snippets.

@kripul
kripul / eco-server-order-on-ovhcloud-api.md
Created November 20, 2024 13:34 — forked from adns44/eco-server-order-on-ovhcloud-api.md
Eco server order process with OVHcloud API step-by-step

OVH - How to use the API to order any server? The answer is here!

I ASK YOU IN FIRST

This process is automateable. I'll write the know-how, how to do it. I kindly ask you! Do NOT ABUSE it! Please keep the oportunity to order limited edition servers for other ones!

How the OVH API works?

First of all, OVH provides API libraries to access the API. And for this too, they have an API console where you can try it. For now, we'll see the API console. We'll place an older. Lets go!

@kripul
kripul / cara pakai.md
Last active December 20, 2022 06:57
Custom RDP Port.
  • Jalankan script ini di RDP
  • Restart RDP
  • Login ke RDP dengan IP:5050
@ECHO OFF
cd.>%windir%\GetAdmin
if exist %windir%\GetAdmin (del /f /q "%windir%\GetAdmin") else (
echo CreateObject^("Shell.Application"^).ShellExecute "%~s0", "%*", "", "runas", 1 >> "%temp%\Admin.vbs"
"%temp%\Admin.vbs"
del /f /q "%temp%\Admin.vbs"
exit /b 2)
rem set PORT=30120
set /p PORT= what port do you want to add? :
#!/bin/sh
echo "First port used for proxy? Example 10000 "
read FIRST_PORT
echo "How many proxy do you want to create? Example 500"
read COUNT
IP4=$(curl -4 -s icanhazip.com)
IP6=$(curl -6 -s ip.nixpoin.com | cut -f1-7 -d':')
@kripul
kripul / digi.sh
Last active September 15, 2022 07:52
#!/bin/bash
#
# CREATED By NIXPOIN.COM
#
while :
do
echo "Apa yang ingin anda lakukan"
echo " 1) auth init"
echo " 2) auth switch"
@kripul
kripul / cekstl.sh
Last active November 26, 2021 14:58
#!/bin/bash
for i in 1 2 3 4 5
do
test="$(curl -m 6 icanhazip.com)"
if [[ -n $test ]]; then
logger "Koneksi normal"
else
logger "Koneksi hilang, merestart STL"
#!/bin/bash
#read -p "link file GZ : " linkgz
read -p "IP : " serverip
read -p "GATEWAY : " servergw
cat >/tmp/net.bat<<EOF
@ECHO OFF
cd.>%windir%\GetAdmin
#!/bin/sh
echo "First port used for proxy? Example 10000 "
read FIRST_PORT
echo "How many proxy do you want to create? Example 500"
read COUNT
IP4=$(curl -4 -s icanhazip.com)
IP6=$(curl -6 -s icanhazip.com | cut -f1-4 -d':')
This file has been truncated, but you can view the full file.
SET FOREIGN_KEY_CHECKS=0;
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
DROP TABLE IF EXISTS `db_province_data`;
DROP TABLE IF EXISTS `db_postal_code_data`;
-- --------------------------------------------------------
-- Table structure for `db_province_data`
-- --------------------------------------------------------
@kripul
kripul / ubuntuvnc.sh
Last active February 28, 2018 08:11
ubuntuvnc.sh
#!/bin/bash
DEBIAN_FRONTEND=noninteractive sudo apt-get update
DEBIAN_FRONTEND=noninteractive sudo apt-get upgrade -y
DEBIAN_FRONTEND=noninteractive sudo apt-get install --no-install-recommends ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal unzip -y
DEBIAN_FRONTEND=noninteractive sudo apt-get install ubuntu-restricted-extras -y
DEBIAN_FRONTEND=noninteractive sudo apt-get install vnc4server -y
vncserver :1