Skip to content

Instantly share code, notes, and snippets.

# ~/.lldbinit-Xcode
# Apple private methods
command regex ivars 's/(.+)/po [%1 _ivarDescription]/'
command regex methods 's/(.+)/po [%1 _methodDescription]/'
command regex shortmethods 's/(.+)/po [%1 _shortMethodDescription]/'
command regex nextviewcontroller 's/(.+)/po [%1 _nextViewControllerInResponderChain]/'
command alias nextvc nextviewcontroller
# Convenience
@Quar
Quar / Makefile
Created March 15, 2018 16:21 — forked from nano-yang/Makefile
spark dependency with Makefile
#### config packages ####
PACKAGES := \
net.liftweb:lift-json:2.0 \
datastax:spark-cassandra-connector:1.6.10-s_2.11 \
#### main part ####
null :=
space := $(null) #
@Quar
Quar / logging_yaml_config.py
Last active March 23, 2017 21:12 — forked from glenfant/logging_yaml_config.py
A example of logging medium complex configuration using YAML on Python 3.6.0
# -*- coding: utf-8
"""\
A simple demo of logging configuration with YAML (Python 3.6.0)
=============================================================
Requires PyYAML -> "pip3 install PyYAML"
See the recipes for configuring logging with dicts and YAML
- https://docs.python.org/3.6/howto/logging-cookbook.html
- http://stackoverflow.com/questions/10519392/python2-7-logging-configuration-with-yaml
@Quar
Quar / 0_reuse_code.js
Last active August 29, 2015 14:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console