Skip to content

Instantly share code, notes, and snippets.

@Quarezz
Quarezz / file.md
Created September 19, 2024 08:42
SwiftUI

Resources

Cheat sheet: fuckingswiftui.com

Commands

Run local server to test on mobile device:

flutter run -d web-server --web-port 8080 --web-hostname 0.0.0.0
@Quarezz
Quarezz / easyiossymbolication
Created January 27, 2023 08:47 — forked from fbeeper/easyiossymbolication
Looking for an easy way to symbolicate crashes?
#!/bin/bash
#
# Fool'n'Lazy-Proof iOS .crash Symbolication
#
# Just run this script on a folder with your `.ipa`, the corresponding `.dSYM`,
# and (1+) `.crash` files. Will output symbolicated `sym-*.crash`es for you.
#
# Copyright (c) 2016 Ferran Poveda (@fbeeper)
# Provided under MIT License (MIT): http://choosealicense.com/licenses/mit/
@Quarezz
Quarezz / bootstrap.sh
Last active January 10, 2020 08:26
macOS bootstrap
#! /usr/bin/env
cd ~/Downloads
# RVM
if [ -d "$HOME/.rvm" ]
then
curl -sSL https://get.rvm.io | bash -s stable
fi
rvm install 2.5.5
@Quarezz
Quarezz / The Technical Interview Cheat Sheet.md
Created December 10, 2017 13:28 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@Quarezz
Quarezz / iterm2-solarized.md
Created November 17, 2017 13:04 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@Quarezz
Quarezz / shell.txt
Last active August 29, 2017 10:26
Crash symbolication
xcrun atos -o (App file from xcarchive eg AppName.app/AppName) -arch (arch from logfile) -l (2 adresses from log file in reversed order)
@Quarezz
Quarezz / build_framework.sh
Created February 1, 2017 11:59 — forked from madhikarma/build_framework.sh
Script to build a framework for multiple architectures
# Merge Script
# http://code.hootsuite.com/an-introduction-to-creating-and-distributing-embedded-frameworks-in-ios/
# 1
# Set bash script to exit immediately if any commands fail.
set -e
# 2
# Setup some constants for use later on.
@Quarezz
Quarezz / gist:3515bffb498160166351527cde2e99a0
Created April 12, 2016 10:31 — forked from snikch/gist:3661188
Find the current top view controller for your iOS application
- (UIViewController *)topViewController{
return [self topViewController:[UIApplication sharedApplication].keyWindow.rootViewController];
}
- (UIViewController *)topViewController:(UIViewController *)rootViewController
{
if (rootViewController.presentedViewController == nil) {
return rootViewController;
}
@Quarezz
Quarezz / FRP iOS Learning resources.md
Created February 12, 2016 13:20 — forked from JaviLorbada/FRP iOS Learning resources.md
The best FRP iOS resources.

Videos