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
if __name__ == '__main__': | |
try: | |
for i in range(10000000000): | |
tmp = i | |
counts = [0,0,0,0,0,0,0,0,0,0] | |
numbers = [] | |
for x in range(10): | |
n = tmp % 10 | |
numbers.append(n) | |
counts[n] += 1 |
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
from asyncssh.packet import * | |
from base64 import b64encode | |
SSH_AGENTC_REQUEST_IDENTITIES = 11 | |
SSH_AGENT_IDENTITIES_ANSWER = 12 | |
def main(): | |
f = open(r"\\.\pipe\openssh-ssh-agent", 'r+b', 0) | |
payload = Byte(SSH_AGENTC_REQUEST_IDENTITIES) | |
f.write(UInt32(len(payload)) + payload) |
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
[entry] | |
fn main() -> ! { | |
let p = cortex_m::Peripherals::take().unwrap(); | |
let interrupts = Interrupts::new(p.NVIC); | |
let a: u32 = 5; | |
let b: u32 = 6; | |
let c: u32 = 7; |
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
#![no_main] | |
#![no_std] | |
extern crate cortex_m_rt as rt; | |
extern crate panic_halt; | |
use rt::entry; | |
use stm32f4::stm32f429; | |