In terminal.app, install ffmpeg through homebrew
brew install ffmpeg
Validate the installation:
| /** | |
| * MAKE ELECTRON APP FEEL MORE NATIVE | |
| * | |
| * * Prevent dragging all HTML elements, specially: | |
| * - images | |
| * - links (anchors) | |
| * | |
| * * Prevent text selection | |
| */ |
| // Use OpenGL 3.0+, but don't use GLU | |
| #define GLFW_INCLUDE_GL3 | |
| #define GLFW_NO_GLU | |
| #include <GL/glfw.h> | |
| #include <glm/glm.hpp> | |
| #include <glm/gtc/matrix_transform.hpp> | |
| #include <glm/gtc/type_ptr.hpp> | |
| extern "C" { |
| /** | |
| * A simple sample of Boost DLL | |
| */ | |
| #include <iostream> | |
| #include "boost/shared_ptr.hpp" | |
| #include "boost/function.hpp" | |
| #include "boost/dll/import.hpp" | |
| #include "1_plugin.hxx" |
| # COPYRIGHT (C) Florian Wolters 2014 | |
| # | |
| # Author: Florian Wolters <wolters.fl@gmail.com> | |
| cmake_minimum_required (VERSION 2.8.12.2 FATAL_ERROR) | |
| # Set options for this project. | |
| set (PROJECT_NAME "hello_boost_with_cmake" CXX) | |
| project (${PROJECT_NAME}) | |
| set (PROJECT_SOURCE_DECLARATION_DIRECTORY ${PROJECT_SOURCE_DIR}/include) |
| import idaapi, idc, idautils | |
| class DecryptorError(Exception): | |
| pass | |
| def rc4crypt(key, data): | |
| x = 0 | |
| box = range(256) |