- Get book(s)
GET: https://isbn.perpusnas.go.id/Account/GetBuku
params:
offset: int32 (required)
limits: int32 (required)
kd1: enum(judul, ISBN, Penerbit, Pengarang) (required)| import * as htmlparser2 from 'htmlparser2'; | |
| import type { | |
| ParseChildNode, | |
| ParserExtractFunc, | |
| ParserFunctions, | |
| ParserOptions, | |
| } from '@/types/parser.js'; | |
| /** | |
| * @class Parser |
| [ | |
| { | |
| "university_id": "422", | |
| "name": "POLITEKNIK NEGERI MEDIA KREATIF", | |
| "province": "Prov. D.K.I. Jakarta" | |
| }, | |
| { | |
| "university_id": "721", | |
| "name": "UNIVERSITAS SAM RATULANGI", | |
| "province": "Prov. Sulawesi Utara" |
| def howmuchtarget(rangenum: int, target: int): | |
| results = [] | |
| for i in range(1, rangenum+1): | |
| for n in range(1, rangenum+1): | |
| c = i+n | |
| if c % target == 0: | |
| results.append((i, n)) | |
| return results |
| # UIN Datokarama PALU to Zulfikar Bustamin | |
| # Returnnya adalah int | |
| def tanyaUangJajan(): | |
| # validation | |
| try: | |
| uangJajan = input("Uang jajanmu berapa? ") | |
| return int(uangJajan) | |
| except: | |
| return tanyaUangJajan() |
| package types | |
| import ( | |
| "fmt" | |
| "net/url" | |
| "strconv" | |
| "strings" | |
| "time" | |
| ) |
| import glob | |
| from os import popen | |
| files = ['.' + f for f in glob.glob('./application/**/*.php')] | |
| for file in files: | |
| code = popen(f"cd PHPDeobfuscator && php index.php -f {file}").read() | |
| f = open(file[1:], "w+") | |
| f.write(code) |
| #include <cstring> | |
| #include <iostream> | |
| #include <algorithm> | |
| #include <cstdlib> | |
| static const char chars[26][2] = { | |
| "a", | |
| "b", | |
| "c", | |
| "d", |
| function sortIndonesiaDays(days: string[]): string[] { | |
| return days.sort((a, b) => { | |
| a = a.toLowerCase(); | |
| b = b.toLowerCase(); | |
| if (a === 'sabtu' || b === 'sabtu') { | |
| return a === 'sabtu' ? 1 : -1; | |
| } else if (a < b) { | |
| return 1; | |
| } |
| generator client { | |
| provider = "prisma-client-js" | |
| } | |
| datasource db { | |
| provider = "mysql" | |
| url = env("DATABASE_URL") | |
| } | |
| model BrainlyAttachment { |