Skip to content

Instantly share code, notes, and snippets.

View archfear's full-sized avatar

Dan Dofter archfear

  • BrightHire
  • San Francisco, CA
View GitHub Profile
@archfear
archfear / PlaceholderTextView
Created April 9, 2015 21:10
Subclass of UITextView that allows placeholder text
import UIKit
class PlaceholderTextView: UITextView {
var placeholder: String {
get {
return placeholderTextView.text
}
set {
placeholderTextView.text = newValue
### Keybase proof
I hereby claim:
* I am archfear on github.
* I am archfear (https://keybase.io/archfear) on keybase.
* I have a public key whose fingerprint is 4971 2540 1735 0EE3 24F6 AF55 4AB2 E7ED 0F99 713C
To claim this, I am signing this object:
@archfear
archfear / install-wget2
Last active March 18, 2023 20:37 — forked from davdenic/install-wget2
Install wget2 on macos
git clone https://gitlab.com/gnuwget/wget2.git
cd wget2
git checkout v2.0.1
brew install automake brotli doxygen gettext gettext gnutls gpgme libidn2 libmicrohttpd libpsl libtool lzlib nettle nghttp2 pandoc pcre pkg-config texinfo xz zstd
./configure --with-bzip2 --with-lzma --without-libhsts
make
make check
make install