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
// | |
// VirtualControllerView.swift | |
// emuThreeDS | |
// | |
// Created by Jarrod Norwell on 21/9/2023. | |
// | |
import Foundation | |
import UIKit |
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
let virtualControllerView = VirtualControllerView() | |
virtualControllerView.translatesAutoresizingMaskIntoConstraints = false | |
view.addSubview(virtualControllerView) | |
view.addConstraints([ | |
virtualControllerView.leadingAnchor.constraint(equalTo: view.leadingAnchor), | |
virtualControllerView.bottomAnchor.constraint(equalTo: view.bottomAnchor), | |
virtualControllerView.trailingAnchor.constraint(equalTo: view.trailingAnchor) | |
]) | |
virtualControllerView.addAButton { _ in |
This file has been truncated, but you can view the full file.
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
{ | |
"children": [ | |
{ | |
"children": [ | |
{ | |
"children": [ | |
{ | |
"children": [ | |
{ | |
"children": [], |
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 SwiftUI | |
struct DeIncrementView: View { | |
@State var value: Int = 0 | |
var body: some View { | |
HStack { | |
Button { | |
value -= 1 | |
}, label: { |
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
// | |
// MinimalRoundedTextField.swift | |
// AppNameHere | |
// | |
// Created by Antique on 4/7/2023. | |
// | |
import Foundation | |
import UIKit |
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 MetalView : UIView { | |
override var layerClass: AnyClass { | |
return CAMetalLayer.class | |
} | |
} | |
let metalView = MetalView(frame: view.bounds) | |
view.addSubview(metalView) | |
let wrapper = Wrapper() |
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
enum Mode : uint32_t { | |
USER, | |
FIQ, | |
IRQ, | |
SUPERVISOR, | |
ABORT, | |
SYSTEM, | |
UNDEFINED | |
}; |
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
from argparse import ArgumentParser | |
from glob import glob | |
from os import mkdir, path, sep, walk | |
from subprocess import call | |
from sys import version_info | |
PY_EXT = 'py' | |
PYC_EXT = 'pyc' | |
class Colors: |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<FileZilla3 version="3.61.0" platform="windows"> | |
<Servers> | |
<Server> | |
<Host>us1.storj.io</Host> | |
<Port>7777</Port> | |
<Protocol>21</Protocol> | |
<User /> | |
<Pass encoding="base64">MTR5TDZvTmhrUlZIbmhuMWRtcHg5WWJocFNSWTdpWG9HcXF4ekFKMjdQc2VWOTN5VjdlbTZ1dFFzakczNzF2N0x2NmZXWmNNZWJQcmhxM1pFdHVrcDdOVExzYUF6Qmo2TWQxUmhERzZkUzZzd0FWS3daZVBnMlpQSEpzcDl5U3ZwcVMyMTk4QW1wRDJ2TmJtUlJ2M3Z6Yno3cXVyZnlnVENTMkJNTWhpSDVlRUVtMVlqS0s2RVExYTJocUVmbnBTdTk5cEpjQmVMWmRTdVh4NnVOYzc5TWtveVdiMzlvVmNYM0xYSzlOandYSkVud2t2UVBETjhHUW94cUgxM2gzektCa3FjaDlqSGUzcVF2cG8xaw==</Pass> | |
<Logontype>1</Logontype> |
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
from bs4 import BeautifulSoup | |
import json, os, requests | |
def device() -> dict: | |
response = requests.get('https://www.myfakeinfo.com/mobile/get-android-device-information.php') | |
soup = BeautifulSoup(response.text, 'html.parser') | |
container = soup.find('div', class_='container') | |
rows = container.find_all('div', class_='row') | |