This guide ensures that new VMs (Ubuntu/Debian) are optimized for Blockchain/AI workloads by limiting log bloat and clearing unnecessary system data.
By default, Ubuntu allows logs to take up to 4GB. This caps it at 500MB.
| [ | |
| { | |
| "id": 1, | |
| "city": "Port Blair", | |
| "district": "South Andaman", | |
| "std-code": 3192, | |
| "state": "Andaman and Nicobar Islands", | |
| "gst-state-code": "AN", | |
| "iso_3166-2": "IN-AN", | |
| "population": 108058, |
This guide ensures that new VMs (Ubuntu/Debian) are optimized for Blockchain/AI workloads by limiting log bloat and clearing unnecessary system data.
By default, Ubuntu allows logs to take up to 4GB. This caps it at 500MB.
| #!/usr/bin/env bash | |
| # | |
| # gh-export-issues.sh | |
| # | |
| # A portable shell script that exports GitHub repository data | |
| # (labels, milestones, open issues, closed issues) | |
| # using the authenticated GitHub CLI session (gh auth login). | |
| # | |
| # Output: | |
| # ISSUE_STATUS.json — machine-friendly full dataset |
| # Import MongoDB public GPG key | |
| curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor | |
| # Add MongoDB repository | |
| echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list | |
| # Update and install | |
| sudo apt-get update | |
| sudo apt-get install -y mongodb-org |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 -y
sudo apt install wget unzip openjdk-21-jdk -y
sudo snap install android-studio --classic
android-studio| Privacy Policy | |
| Effective Date: July 3, 2025 | |
| This Privacy Policy describes how [Your App Name, e.g., Wishlist App] ("the App") collects, uses, and protects your information. | |
| 1. Data Collection | |
| The Wishlist App is designed with your privacy in mind. We **do not collect, store, or transmit any personal data** from your device. All your wishes, including titles, descriptions, and their fulfillment status, are stored **locally on your device only**. This means your data is never uploaded to our servers or shared with any third parties. |
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity ^0.8.0; | |
| import "@openzeppelin/contracts@4.8.0/token/ERC20/IERC20.sol"; | |
| import "@openzeppelin/contracts@4.8.0/token/ERC20/utils/SafeERC20.sol"; | |
| interface VerifierWithdrawInterface { | |
| function verifyProof( | |
| uint256[2] calldata proofA, | |
| uint256[2][2] calldata proofB, |
| //SPDX-License-Identifier:MIT | |
| pragma solidity ^0.8.0; | |
| library Address { | |
| function isContract(address account) internal view returns (bool) { | |
| return account.code.length > 0; | |
| } | |
| function sendValue(address payable recipient, uint256 amount) internal { | |
| require(address(this).balance >= amount, "Address: insufficient balance"); |
| //SPDX-License-Identifier:MIT | |
| pragma solidity ^0.8.0; | |
| library Address { | |
| function isContract(address account) internal view returns (bool) { | |
| return account.code.length > 0; | |
| } |
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.9; | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| import "@openzeppelin/contracts/utils/Counters.sol"; | |
| contract MyToken is ERC721, ERC721URIStorage, Ownable { | |
| using Counters for Counters.Counter; |