Skip to content

Instantly share code, notes, and snippets.

@4np
4np / SwiftyFrameworks.md
Last active December 24, 2018 18:58
Useful Frameworks, most of them developed in Swift

A list of Swifty Frameworks

Below you will find a list of interesting (primarily) Swift frameworks. This not at all a complete list, merely a list of frameworks I like and am thinking of using.

Alamofire

octicon An HTTP networking library written in Swift. Also see the Networking library mentioned below.

pod 'Alamofire', '~> 4.0'
@snoby
snoby / OS X network optimize.txt
Last active February 21, 2025 02:06
OSX Sierra Network Performance Tweaks
#
# Reboot into recovery mode (cmd +r ) and in the terminal
#
nvram boot-args="serverperfmode=1 ncl=262144"
#reboot
#
# In regular mode
@lyoshenka
lyoshenka / coding_maxims.md
Last active August 23, 2023 21:18
Keep this in mind
@rmateu
rmateu / rm_quix.txt
Last active October 18, 2019 17:24
Quix Command File for rmateu
> TITLE: rm_quix.txt
> MORE: https://quixapp.com
> UPDATED: 2018-07-06 / w27
> SYNTAX FILE: https://gist.githubusercontent.com/rmateu/37af5055e821fdd1f655e8440e4a010e/raw/rm_quix.txt
#kill-defaults
@ Quix
edit https://gist.github.com/rmateu/37af5055e821fdd1f655e8440e4a010e/edit Edit my Quix Commands
host http://quixapp.com/host/%d/%s Host info for the current domain.
myip http://quixapp.com/ip/ Your current IP & homepage.
@arkadiusjonczek
arkadiusjonczek / gist:8836e724a53ddd55362644745cf8ca4c
Created December 31, 2016 01:30
Start Chrome in App Mode on Mac OS X
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --app="http://www.google.de"
@haifengkao
haifengkao / open_finder_tab.sh
Last active October 24, 2023 19:04
A shell script function to open a Finder tab from terminal
# open the current folder in Finder's tab
function oft() {
local folder_name=$1
if ! [[ -d $1 ]]; then
# it is a file, get the enclosing folder
folder_name="$(dirname "$1")"
fi
# if no arguments are given, we use the current folder

macOS 10.12 Sierra Setup

Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your o

@hartmut-co-uk
hartmut-co-uk / toggle_chrome.sh
Last active October 4, 2021 18:49
Script to Toggle Chrome Process-State (STOP|CONT)
#!/bin/bash
# Copyright 2016 Hartmut Armbruster <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@codingChewie
codingChewie / zip-to-folder.scpt
Last active March 26, 2021 16:42
AppleScript that takes a zip archive or other type set with the fileExt variable and moves it to a directory with the same name as the file.
(*
Date: 16-12-15
Developer: codingChewie
Purpose: Takes archives and creates folder archive and moves files into it.
Version: 1.0
Name: zip-to-folder.scpt
Site: http://programmingmonkeys.com/
*)
on displayMessage(theMessage, scriptTitle)
@staltz
staltz / music.md
Last active November 23, 2024 22:31
coding music

Not for everyone. Each programmer has their own appreciation of what is good coding music.

For when I need to think deep, debug something, or design

(From most influential to least)