layout | title | permalink |
---|---|---|
checklist_page |
The Side Project Marketing Checklist |
/marketing-checklist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Bucket | |
type = "2" | |
version = "2.0"> | |
<Breakpoints> | |
<!-- All Exceptions --> | |
<BreakpointProxy | |
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint"> | |
<BreakpointContent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check this: https://developer.apple.com/library/content/qa/qa1663/_index.html | |
Boolean IsAACHardwareEncoderAvailable(void) | |
{ | |
Boolean isAvailable = false; | |
OSStatus error; | |
// get an array of AudioClassDescriptions for all installed encoders for the given format | |
// the specifier is the format that we are interested in - this is 'aac ' in our case | |
UInt32 encoderSpecifier = kAudioFormatMPEG4AAC; | |
UInt32 size; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.2.2) | |
function(PARSE_CMAKEJS_PROPERTIES) | |
function(GET_VARIABLE INPUT_STRING VARIABLE_TO_SELECT OUTPUT_VARIABLE) | |
set(SEARCH_STRING "${VARIABLE_TO_SELECT}=\"") | |
string(LENGTH "${SEARCH_STRING}" SEARCH_STRING_LENGTH) | |
string(LENGTH "${INPUT_STRING}" INPUT_STRING_LENGTH) | |
string(FIND "${INPUT_STRING}" "${VARIABLE_TO_SELECT}=\"" SEARCH_STRING_INDEX) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib, urllib2 | |
def demangle(symbol): | |
r = urllib2.Request('http://demangler.com/raw', urllib.urlencode({'input': symbol})) | |
response = urllib2.urlopen(r) | |
return response.read() | |
def main(): | |
doc = Document.getCurrentDocument() | |
current = doc.getCurrentAddress() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.m | |
// antidebugging | |
// | |
// Created by Vincent Tan on 7/8/15. | |
// Copyright (c) 2015 Vincent Tan. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import "AppDelegate.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile for zlib | |
# Copyright (C) 1995-2010 Jean-loup Gailly. | |
# For conditions of distribution and use, see copyright notice in zlib.h | |
# To compile and test, type: | |
# ./configure; make test | |
# Normally configure builds both a static and a shared library. | |
# If you want to build just a static library, use: ./configure --static | |
# To use the asm code, type: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Break on Objective-C 's method using its address' | |
''' | |
import shlex | |
import lldb | |
import re | |
def breakonmethod(debugger, command, exe_ctx,result, internal_dict): | |
args=shlex.split(command) | |
Class=args[0] | |
Method=args[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Download realtek r8168 linux driver from official site [http://www.realtek.com/downloads/downloadsView.aspx?PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3] | |
#Unpack source file | |
#Replace orginal Makefile with this file | |
#Put this source to 'package' folder of OpenWRT/LEDE SDK | |
#Build(make menuconfig, make defconfig, make) | |
include $(TOPDIR)/rules.mk | |
include $(INCLUDE_DIR)/kernel.mk | |
PKG_NAME:=r8168 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* C++ sockets on Unix and Windows | |
* Copyright (C) 2002 | |
* | |
* 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; either version 2 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, |