I hereby claim:
- I am ericek111 on github.
- I am ericek111 (https://keybase.io/ericek111) on keybase.
- I have a public key whose fingerprint is F94A DF63 B3B2 0183 A719 ACA7 F850 D032 0BA8 02C9
To claim this, I am signing this object:
/* | |
* Copyright (c) 2020 ericek111 <[email protected]>. | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, version 3. | |
* | |
* This program is distributed in the hope that it will be useful, but | |
* WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
#!/bin/bash | |
# https://gist.github.com/ericek111/7463aa1c2367683e51578789767a583a | |
# Check if SOX is installed | |
if ! hash "${SOX:-sox}" 2>/dev/null; then | |
echo "ERROR: SOX was not found in path ${SOX:-sox}" | |
echo "Run: sudo apt-get install sox libsox-fmt-mp3" | |
exit 1 | |
fi |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <time.h> | |
int find_median(int* arr, size_t count); | |
size_t median_count(int* arr, size_t count, int median); | |
int find_median(int* arr, size_t count) { | |
int sum = 0; |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
/* Linked list entry */ | |
typedef struct llEntry { | |
struct llEntry* prev; | |
struct llEntry* next; | |
void* data; | |
} llEntry; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<script src="./browser/bundle.js"></script> | |
</head> | |
<body> |
// ent_fire first_script runscriptfile first_map/first.nut;ent_fire first_script callscriptfunction ButtonPressed | |
// http://devernay.free.fr/hacks/chip8/C8TECH10.HTM | |
::toHex <- function (val) { | |
return format("%04X", val); | |
} | |
DoIncludeScript("first_map/data.nut", this) | |
class CPU { | |
scope = null; | |
stack = null; |
#!/usr/bin/perl | |
use bigint; | |
die "Usage: $0 (steamID64)\n" if @ARGV < 1; | |
# https://developer.valvesoftware.com/wiki/SteamID | |
my $sid = @ARGV[0]; | |
my $up = ($sid >> 32) & (2**32 - 1); |
javascript: (function(e, s) { | |
e.src = s; | |
e.onload = function() { | |
jQuery.noConflict(); | |
$ = jQuery; | |
doStuff(); | |
}; | |
document.head.appendChild(e); | |
})(document.createElement('script'), '//code.jquery.com/jquery-latest.min.js') |
I hereby claim:
To claim this, I am signing this object:
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
<name>bigsur</name> | |
<uuid>d46a7bcc-ddb1-4c8f-b334-4645460724d0</uuid> | |
<memory unit='KiB'>4194304</memory> | |
<currentMemory unit='KiB'>4194304</currentMemory> | |
<vcpu placement='static'>12</vcpu> | |
<vcpus> | |
<vcpu id='0' enabled='yes' hotpluggable='no' order='1'/> | |
<vcpu id='1' enabled='yes' hotpluggable='yes' order='2'/> | |
<vcpu id='2' enabled='yes' hotpluggable='yes' order='3'/> |