dwarfdump -u cod.dSYM
atos -o cod.dSYM/Contents/Resources/DWARF/cod --fullPath -printHeader -l 0x0000000100f00000 0x0000000106176be4 0x0000000106117d38 0x0000000106512884 0x0000000106512fe8 0x00000001065113f0 0x00000001065c1878 0x0000000100f1bac4 0x00000001070a03d8 0x0000000100f06288
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
#!/usr/bin/env python3 | |
from argparse import ArgumentParser | |
from cmath import sin | |
from random import random | |
import sys, math | |
def main(): | |
arguments = ArgumentParser() | |
arguments.add_argument('--width', '-w', default=1024, type=int, help='svg canvas width') |
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
#!/usr/bin/env python3 | |
import argparse | |
import os | |
import re | |
import sys | |
from PIL import Image | |
def main(): | |
arguments = argparse.ArgumentParser() |
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
$("#pullDownDate option").map((_,option)=>option.value).toArray().join(";") | |
$("#pullDownDate option").map((_,o)=>`downloadSelectPDF("The Wall Street Journal Magazine_${o.value}","wallstreetjournal-xp-wallstreetjournalmag","0@/wallstreetjournalmag/${o.value}/page.pdf","0",1);`).toArray().join("\n") |
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.cpp | |
// imat | |
// | |
// Created by LARRYHOU on 2021/11/1. | |
// | |
#include <iostream> | |
using Float = float; |
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.cpp | |
// vptr | |
// | |
// Created by LARRYHOU on 2021/9/10. | |
// | |
#include <iostream> | |
#include <typeinfo> |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import json | |
import lxml.etree as etree | |
def parse(item): # type: (etree.Element)->any | |
keys = list(item.keys()) |
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
LOCAL_PATH :=$(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := alignperf | |
LOCAL_SRC_FILES := alignperf.cpp | |
include $(BUILD_EXECUTABLE) |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
from PIL import Image | |
import re | |
def main(): | |
import sys | |
for filename in sys.argv[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
#!/usr/bin/env bash | |
set -xe | |
# RS_CONF example | |
# CFBundleShortVersionString 1.9.20 | |
# CFBundleVersion 888 | |
: ${RS_UUID:='2ecad13d-4cc9-4f96-88cc-a8f1c693c663'} | |
RS_IPA_FILE=${1} |