This file contains hidden or 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
# | |
# These groups are read by MariaDB server. | |
# Use it for options that only the server (but not clients) should see | |
# this is read by the standalone daemon and embedded servers | |
[server] | |
# this is only for the mysqld standalone daemon | |
[mysqld] |
This file contains hidden or 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
import os | |
# Fungsi untuk memotong file log menjadi file-file yang lebih kecil dengan ukuran tertentu | |
def potong_file_log(input_file_path, output_directory, max_file_size_bytes): | |
try: | |
os.makedirs(output_directory, exist_ok=True) | |
with open(input_file_path, 'rb') as input_file: | |
part_num = 1 | |
while True: | |
output_file_path = os.path.join(output_directory, f'access_part_{part_num}.log') |
This file contains hidden or 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
Innal hamdalillaahi nahmaduhu wanasta’inuhu wanastaghfiruh, | |
wana’udzubillahi min syuruuri anfusinaa, | |
wa min sayyi ati a’malina, | |
man yahdihillahu fala mudhillallah, | |
wa man yudhlilfalaa haadiya lah. | |
Wa asyhadu alla ilaha illallah, wahdahu la syarikalah, wa asyhadu anna Muhammadan ‘abduhu wa Rasuluh, la nabiya ba’dah. | |
Allahumma shalli wasalim alaa muhammadu wa alihi wa ashabihi wamanit taba‘ahum bi ihsanin ilaa yaumiddin. |
This file contains hidden or 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
#!/usr/bin/python | |
# Coded By izocin | |
# Turkey | |
import requests, re, urllib2, os, sys, codecs,binascii, json | |
from multiprocessing.dummy import Pool | |
from time import time as timer | |
import time | |
from random import sample as rand |
This file contains hidden or 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
import requests, sys, os, re | |
from multiprocessing import Pool | |
from multiprocessing.dummy import Pool as ThreadPool | |
from time import time as timer | |
from platform import system | |
from colorama import Fore | |
from colorama import Style | |
from pprint import pprint | |
from colorama import init |
This file contains hidden or 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
<html> | |
<div id="selesai" style="display:block;"> | |
<h1 class="text-center" style="font-family: Cambria;"><b>PILIH JALUR PENDAFTARAN</b></h1> | |
<div class="row"> | |
<div class="col-md-4"> | |
<a href="http://ppdbmin.com/jalur_afirmasi/beranda/69726697"> | |
<div class="box box-solid" style="border-radius: 5px;"> | |
<div class="box-body text-center" style="border-radius: 5px;padding: 30px;background: #37991e;"> | |
<img src="https://min1kotapky.com/asset/dist/img/logo_afirmasi.png"> |
This file contains hidden or 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
<main class="content"> | |
<h1>How to use JavaScript for Text to Speech</h1> | |
<p>You start by defining the content.</p> | |
<p>Then you pass this into the API.</p> | |
</main> | |
<select name="voices" id="voices"> | |
</select> |
This file contains hidden or 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
import mysql.connector | |
def fetch_table_data(table_name): | |
# The connect() constructor creates a connection to the MySQL server and returns a MySQLConnection object. | |
cnx = mysql.connector.connect( | |
host='localhost', | |
database='schema', | |
user='user', | |
password='password' |
This file contains hidden or 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> | |
<br/><input type='hidden' id='id' name='id' size='30' value='anon'></input> | |
<script src="https://meet.jit.si/external_api.js"></script> | |
<div class="col-lg-9 col-md-8"> | |
<div class="company-title2"> | |
<h3><i class="fa fa-camera"></i> VCall - Room </h3> | |
</div> | |
<div class="posts-section"> | |
<div class="post-bar"> |
This file contains hidden or 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/bash | |
# | |
# setup mysql replication. | |
# run this script parallel on both servers as we need log file name and position on the other node | |
# | |
# | |
ROOT_PASS="rootP@ssw0rd" | |
REPLI_PASS="replicationP@ssw0rd" | |
SIBLING_IP="1.2.3.4" |
NewerOlder