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
<script src="https://cdn.tiny.cloud/1/3kubek8r1p1mz4kvit7hc1z2mxd8wgg551cbeu82qkmenprf/tinymce/5/tinymce.min.js" | |
referrerpolicy="origin"></script> | |
<script> | |
tinymce.init({ | |
selector: "textarea", | |
height : "480", | |
plugins: "nonbreaking", | |
nonbreaking_force_tab: true, | |
toolbar: "nonbreaking", | |
relative_urls: 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
<?php | |
class Terbilang | |
{ | |
function penyebut($nilai) { | |
$nilai = abs($nilai); | |
$huruf = array("", "satu", "dua", "tiga", "empat", "lima", "enam", "tujuh", "delapan", "sembilan", "sepuluh", "sebelas"); | |
$temp = ""; | |
if ($nilai < 12) { |
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
from PIL import Image | |
img = Image.open("test_image.jpg") | |
img = img.convert("RGB") | |
datas = img.getdata() | |
new_image_data = [] | |
for item in datas: | |
# change all white (also shades of whites) pixels to yellow |
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
Online kms host address: | |
-------- | |
kms.digiboy.ir | |
54.223.212.31 | |
kms.cnlic.com | |
kms.chinancce.com | |
kms.ddns.net | |
franklv.ddns.net | |
k.zpale.com | |
m.zpale.com |
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
function handleSubmit(event) { | |
event.preventDefault(); | |
Inertia.post(route('siswa.simpan'), values, { | |
onSuccess: () => { | |
toast.success("Data berhasil disimpan"); | |
}, | |
onError: (error) => { | |
toast.error(error); | |
} | |
}); |
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
::-webkit-scrollbar-thumb { | |
background-color: #727272; | |
border-radius: 10px; | |
} | |
::-webkit-scrollbar { | |
height: 10px; | |
width: 8px; | |
border: 1px solid #ededed; | |
border-radius: 10px; |
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
/** membuat navbar transparan **/ | |
.svq-header-section .navbar-container { | |
padding-top: 1 | |
rem | |
; | |
padding-bottom: 1 | |
rem | |
; | |
box-shadow: 0 0 1px rgb(0 0 0 / 8%); | |
-ms-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); |
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 | |
return [ | |
"accepted" => ":Attribute harus diterima.", | |
"accepted_if" => ":Attribute harus diterima ketika :other berisi :value.", | |
"active_url" => ":Attribute bukan URL yang valid.", | |
"after" => ":Attribute harus berisi tanggal setelah :date.", | |
"after_or_equal" => ":Attribute harus berisi tanggal setelah atau sama dengan :date.", | |
"alpha" => ":Attribute hanya boleh berisi huruf.", | |
"alpha_dash" => ":Attribute hanya boleh berisi huruf, angka, strip, dan garis bawah.", |
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
@push('scripts') | |
<script> | |
var total_pembayaran = document.getElementById('total_pembayaran'); | |
total_pembayaran.addEventListener('keyup', (event) => { | |
var value = total_pembayaran.value.replace(/[^\d,]/g, ''); | |
@this.set('total_pembayaran', total_pembayaran); | |
total_pembayaran.value = rupiah(value) | |
}) | |
Livewire.onLoad(() => { |
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
let curXPos = 0, | |
curDown = false, | |
scrollLeft = 0; | |
const dragable = document.querySelector('.table'); | |
dragable.addEventListener('mousemove', function(e) { | |
if (curDown === true) { | |
const walk = (curXPos - e.pageX); | |
scrollLeft = scrollLeft + walk; |
OlderNewer