Version:
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix
This was made with commands:
| ''' | |
| INSTALLING | |
| curl --create-dirs -o ~/.lldb/cfdata.py https://gist.githubusercontent.com/ikonst/364af37c44e5f549b722/raw/cfdata.py \ | |
| && echo 'command script import ~/.lldb/cfdata.py' >> ~/.lldbinit | |
| USING | |
| (lldb) cfdata_save some_cfdata /Users/john/foo | |
| (lldb) cfdata_save some_nsdata /Users/john/bar |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <fcntl.h> | |
| #include <sys/mman.h> | |
| /* For supporting Linux and other systems that don't have mach-o headers */ |
| #include <cstdio> | |
| struct Foo | |
| { | |
| Foo() | |
| { | |
| puts("Hello, "); | |
| } | |
| }; |
| #! /bin/bash | |
| # | |
| # Diffusion youtube avec ffmpeg | |
| # Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
| VBR="2500k" # Bitrate de la vidéo en sortie | |
| FPS="30" # FPS de la vidéo en sortie | |
| QUAL="medium" # Preset de qualité FFMPEG | |
| YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
| #include "base94.h" | |
| void base94_encode(const unsigned char *plain, unsigned char *code) { | |
| // high * 2^64 | low | |
| unsigned long long value | |
| = ((unsigned long long)plain[1] << 56) | ((unsigned long long)plain[2] << 48) | |
| | ((unsigned long long)plain[3] << 40) | ((unsigned long long)plain[4] << 32) |