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
class Converters { | |
@TypeConverter | |
fun fromBitmap(bitmap: Bitmap): ByteArray { | |
val outputStream = ByteArrayOutputStream() | |
bitmap.compress(Bitmap.CompressFormat.PNG, 100, outputStream) | |
return outputStream.toByteArray() | |
} | |
@TypeConverter |
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
## Unlimited User License Sublime Text Alpha 4107 Windows | |
Download & Install Sublime Text 4 Alpha 4107 | |
Visit https://hexed.it/ | |
Open file select sublime_text.exe | |
Go to Address: 80 38 00 and Change to FE 00 90 | |
Export File and save it to location you want | |
Backup sublime_text.exe file (just rename) | |
Copy sublime_text.exe modified to directory Sublime Text 4 (i.e C:\Program Files\Sublime Text) |
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
const TonWeb = require("tonweb"); | |
const utils = require("tonweb/src/utils"); | |
const NftUtils = require("tonweb/src/contract/token/nft/NftUtils"); | |
const Cell = TonWeb.boc.Cell; | |
const { JettonMinter, JettonWallet } = TonWeb.token.jetton; | |
const jettonContentUri = 'https://files.raevskyschool.ru/coin.json'; | |
async function doit() { | |
const tonweb = new TonWeb(new TonWeb.HttpProvider('https://testnet.toncenter.com/api/v2/jsonRPC', { apiKey: "get here: https://t.me/tontestnetapibot" })); | |
const WalletClass = tonweb.wallet.all['v3R2']; |
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
class MainActivity : ComponentActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
WindowCompat.setDecorFitsSystemWindows(window, false) | |
super.onCreate(savedInstanceState) | |
setContent { | |
ColorPickerTheme { | |
Surface( | |
modifier = Modifier.fillMaxSize(), | |
color = MaterialTheme.colorScheme.background | |
) { |
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
/local.properties |
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
// | |
// MatrixEffect.swift | |
// | |
// Created by J.T on 9/8/24. | |
// | |
import SwiftUI | |
import Combine | |
class MatrixEffectModel: ObservableObject { |
OlderNewer