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
<!DOCTYPE html> | |
<html lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>Quote Explorer</title> | |
<link href="style.css" rel="stylesheet" type="text/css" /> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> |
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
console.log("Script started"); | |
let quotesArray = [ | |
{ | |
"quote": "Banyak bicara, banyak bekerja", | |
"author": "Bung Karno" | |
}, | |
{ | |
"quote": "Habis gelap terbitlah terang", | |
"author": "R.A Kartini" |
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
import pandas as pd | |
import base64 | |
# Buat DataFrame kosong | |
df = pd.DataFrame(columns=['Image']) | |
# Contoh gambar-gambar dengan "5 digit letter-number sequence" | |
gambar1 = 'abcde.png' | |
gambar2 = 'fghij.png' |
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
import scrapy | |
from bs4 import BeautifulSoup | |
class MySpider(scrapy.Spider): | |
name = 'my_spider' | |
start_urls = ['https://example.com'] | |
def parse(self, response): | |
# Parse the HTML content with BeautifulSoup | |
soup = BeautifulSoup(response.text, 'html.parser') | |
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
# regex_soup.py | |
import re | |
from urllib.request import urlopen | |
url = "http://olympus.realpython.org/profiles/dionysus" | |
page = urlopen(url) | |
html = page.read().decode("utf-8") | |
pattern = "<title.*?>.*?</title.*?>" |
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
print("Hello World!") |
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
Jumlah Saham Dibeli | Harga Persaham | Biaya Pembelian | Profit Dividen / Lembar Saham | Total Profit (pertahun) | Total Profit (perbulan) | |
---|---|---|---|---|---|---|
633005 | Rp. 8061 | Rp. 5.102.495.054 | Rp. 120 | Rp. 75.960.600 | Rp. 6.330.050 | |
1861 | Rp. 8061 | Rp. 15.001.056 | Rp. 120 | Rp. 223.320 | Rp. 18.610 |
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
Holder, Real Cash, Share Valuasi 1M, MOVED TO NEW SYSTEM | |
EKO,-, 8.60%, - | |
WG,-, 8.00%, - | |
NAF,-, 5.00%, - | |
SSB,-, 5.00%, - | |
MFA,-, 4.80%, - | |
ALX,-, 5.00%, - | |
DAL,-, 5.00%, - | |
YOS,-, 5.00%, - | |
FWK,-, 4.50%, - |
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
Nama | Jumlah | |
---|---|---|
WG | Rp45.000.000 | |
Doni* | Rp5.000.000 | |
Nafis | Rp25.000.000 | |
Faisal Wira Kusuma | Rp25.000.000 | |
Iqbal Pria Fadhilah** | Rp12.500.000 | |
SS | Rp25.000.000 | |
PAN | Rp25.000.000 | |
AR | Rp25.000.000 | |
PUR | Rp20.000.000 |
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
Holder | Share | |
---|---|---|
EKO | 8.60% | |
WG | 8.00% | |
NAF | 5.00% | |
SSB | 5.00% | |
MFA | 4.80% | |
ALX | 5.00% | |
DAL | 5.00% | |
YOS | 5.00% | |
FWK | 4.50% |
NewerOlder