Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
import usb.core | |
import usb.util | |
import array | |
import time | |
import random | |
import math | |
import webcolors | |
import random | |
from collections import OrderedDict, namedtuple | |
from sys import exit |
#!/bin/bash | |
# | |
# Usage: asm-diff [options] file1 file2 [-- diff options] | |
# Return the difference in the objudmp parsing of files | |
# | |
# OPTIONS: | |
# -o,--objdump CMD --- specify objdump command to use | |
# -j,--section NAME -- section to compare | |
# (default: .text) | |
# -c,--clean --------- specify whether to clean addresses |
find $d -type f | rev | sort | rev | tar -c -T /dev/stdin -f - | pv -pterb -B 10m -s $(du -ms $d | cut -f1)m -W -i 10 | bzip2 -6 > $d.tar.bz2; |
probe module("scsi_mod").function("scsi_command_normalize_sense") { | |
printf("CDB:"); | |
for (i = 0; i < $cmd->cmd_len; i++) { | |
printf(" %02X", $cmd->cmnd[i]); | |
} | |
printf(" | SENSE:"); | |
for (i = 0; i < 32; i++) { | |
printf(" %02X", $cmd->sense_buffer[i]); | |
} | |
printf("\n"); |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
#include <ev.h> | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <netdb.h> | |
#include <memory.h> | |
typedef struct net_client_t { | |
ev_signal resolv_watcher; | |
char hostname[64]; |