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/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| ╔══════════════════════════════════════════════════════════╗ | |
| ║ 🏦 PROFESSIONAL CRYPTO SCREENER — FUND MANAGER GRADE ║ | |
| ║ Binance Futures | Multi-TF | SMC | Anti-Fakeout ║ | |
| ║ Backtesting | Confluence Engine | Telegram Alerts ║ | |
| ╚══════════════════════════════════════════════════════════╝ | |
| """ |
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 wmi | |
| import requests | |
| def get_motherboard_serial(): | |
| c = wmi.WMI() | |
| return next(iter(board.SerialNumber for board in c.Win32_BaseBoard()), None) | |
| def generate_serial_code(serial): | |
| return serial |
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 wmi | |
| def get_motherboard_serial(): | |
| c = wmi.WMI() | |
| return next(iter(board.SerialNumber for board in c.Win32_BaseBoard()), None) | |
| def generate_serial_code(serial): | |
| return serial | |
| motherboard_serial = get_motherboard_serial() |
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
| <?php | |
| defined('BASEPATH') OR exit('No direct script access allowed'); | |
| class Dashboard extends CI_Controller { | |
| function __construct(){ | |
| parent::__construct(); | |
| if(empty($this->session->userdata('login'))){ | |
| echo "<script>alert('No Session Detected');document.location='".base_url('login')."';</script>"; | |
| } |
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
| <!-- Begin Page Content --> | |
| <div class="container-fluid"> | |
| <h1 class="h3 mb-2 text-gray-800">Edit Stok Barang</h1> | |
| <?php echo form_open_multipart('dashboard/updateStok') ?> | |
| <div class="card shadow mb-4"> | |
| <div class="card-body"> | |
| <div class="form-group"> | |
| <?php foreach($stok as $s) : ?> |
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
| public function update() | |
| { | |
| $id = $this->input->post('id_news'); | |
| $title = $this->input->post('title'); | |
| $meta_desc = $this->input->post('meta_desc'); | |
| $content = $this->input->post('content'); | |
| $date = $this->input->post('date'); | |
| $author = $this->input->post('author'); | |
| $category = $this->input->post('category'); |
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, time, os | |
| import json | |
| # from dotenv import load_dotenv | |
| from pathlib import Path | |
| # load_dotenv() | |
| key = os.environ.get("KEY") | |
| def reQ(url): |