This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32 | |
global start | |
section .text | |
start: | |
push dword msg.len | |
push dword msg | |
push dword 1 | |
mov eax, 4 |
Data Down / Actions Up
Plain JSBin's
Ember Version Base JSBin's
// Components :: Panels | |
// Panels | |
// | |
// Panels are one the more versatile component within the Fly framework. They are used to provide visual sectioning for content. Panels provid a subtle border, and content placed within a ``.fly-panel-body`` is provided with padding. | |
// | |
// Styleguide 3.25 | |
// Basic Panel | |
// |
// fly-components/addon/components/fly-panel.js | |
import Ember from 'ember'; | |
import layout from '../templates/components/fly-panel'; | |
export default Ember.Component.extend({ | |
tagName: 'div', | |
classNames: ['fly-panel'], | |
layout: layout, | |
header: null, | |
subHeader: null, |
Author: Chris Lattner
// macOS x86_64 syscall works as follows: | |
// Syscall id is moved into rax | |
// 1st argument is moved into rdi | |
// 2nd argument is moved into rsi | |
// 3rd argument is moved into rdx | |
// ... plus some more | |
// Return value is stored in rax (where we put syscall value) | |
// Mac syscall enum that contains the value to correctly call it | |
enum Syscall: Int { |
Just a quick brain dump of "first steps" to move Swift/C++ interoperability forward. While there are many big and interesting design questions for a good interoperability story, there are also a large number of implementation tasks that can proceed independently of those design discussions (and often in parallel). This list focuses on those implementation tasks:
-enable-cxx-interop
to the frontend, and have it enable (Objective-)C++ mode in the Clang importer.-enable-cxx-interop
for the full Swift testsuite and fix all of the issues that prevent (Objective-)C code from being imported correctly when it's compiled as C++. The testsuite will likely need a lot of extern "C"
annotations throughout it's headers---those fixes can be committed to the testsuite behind appropriate #ifdefs.# IDA (disassembler) and Hex-Rays (decompiler) plugin for Apple AMX | |
# | |
# WIP research. (This was edited to add more info after someone posted it to | |
# Hacker News. Click "Revisions" to see full changes.) | |
# | |
# Copyright (c) 2020 dougallj | |
# Based on Python port of VMX intrinsics plugin: | |
# Copyright (c) 2019 w4kfu - Synacktiv |