Skip to content

Instantly share code, notes, and snippets.

View vadixidav's full-sized avatar
🦀
Rust ❤️

Geordon Worley vadixidav

🦀
Rust ❤️
  • Austin, TX
  • 20:20 (UTC -05:00)
View GitHub Profile
#!/bin/bash
pactl set-sink-mute @DEFAULT_SINK@ toggle
#!/bin/bash
pactl set-sink-mute @DEFAULT_SINK@ false
pactl set-sink-volume @DEFAULT_SINK@ +1%
#!/bin/bash
pactl set-sink-mute @DEFAULT_SINK@ false
pactl set-sink-volume @DEFAULT_SINK@ -1%
extern crate glowygraph as gg;
extern crate glium;
extern crate rand;
use rand::{Rng, SeedableRng, Isaac64Rng};
use gg::render2::*;
const TOTAL_BEZIERS: usize = 512;
fn main() {
X Error: BadAccess (attempt to access private resource denied) 10
Extension: 130 (MIT-SHM)
Minor opcode: 1 (X_ShmAttach)
Resource id: 0x2400002
X Error: BadShmSeg (invalid shared segment parameter) 128
Extension: 130 (MIT-SHM)
Minor opcode: 5 (X_ShmCreatePixmap)
Resource id: 0xf6
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
void divide_zero_error() {
exit(1);
}
typedef struct {
uint32_t q, r;
0000000000400554 <divide>:
400554: 55 push rbp
400555: 48 89 e5 mov rbp,rsp
400558: 48 83 ec 20 sub rsp,0x20
40055c: 89 7d ec mov DWORD PTR [rbp-0x14],edi
40055f: 89 75 e8 mov DWORD PTR [rbp-0x18],esi
400562: 83 7d e8 00 cmp DWORD PTR [rbp-0x18],0x0
400566: 75 0a jne 400572 <divide+0x1e>
400568: b8 00 00 00 00 mov eax,0x0
40056d: e8 d4 ff ff ff call 400546 <divide_zero_error>
00000000004005d0 <divide>:
4005d0: a9bd7bfd stp x29, x30, [sp,#-48]!
4005d4: 910003fd mov x29, sp
4005d8: b9001fa0 str w0, [x29,#28]
4005dc: b9001ba1 str w1, [x29,#24]
4005e0: b9401ba0 ldr w0, [x29,#24]
4005e4: 7100001f cmp w0, #0x0
4005e8: 54000041 b.ne 4005f0 <divide+0x20>
4005ec: 97fffff5 bl 4005c0 <divide_zero_error>
4005f0: b90023bf str wzr, [x29,#32]
cargo.exe!_libssh2_wincng_bignum_bits() C
cargo.exe!_libssh2_kex_exchange() C
cargo.exe!libssh2_base64_decode() C
cargo.exe!_libssh2_kex_exchange() C
cargo.exe!libssh2_session_startup() C
cargo.exe!libssh2_session_startup() C
cargo.exe!git_smart_subtransport_git() C
cargo.exe!git_smart_subtransport_git() C
cargo.exe!git_transport_unregister() C
cargo.exe!git_remote_connect() C
'cargo.exe' (Win32): Loaded 'C:\Users\vadix\cargo\target\debug\cargo.exe'. Symbols loaded.
'cargo.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'cargo.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'cargo.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'cargo.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'cargo.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'cargo.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'cargo.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'cargo.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'cargo.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Cannot find or open the PDB file.