Skip to content

Instantly share code, notes, and snippets.

@lessthanyouthink
lessthanyouthink / CJProperRotationNavigationController.h
Created October 5, 2012 20:27
A simple UINavigationController subclass to handle iOS 6's orientation changes better.
//
// CJProperRotationNavigationController.h
//
// Created by Charles Joseph on 2012-10-01.
//
#import <UIKit/UIKit.h>
@interface CJProperRotationNavigationController : UINavigationController
@plentz
plentz / nginx.conf
Last active July 30, 2024 17:13
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@1337hero
1337hero / Monokai-Dark-Soda-Slack.md
Created July 4, 2018 18:15
Slack Theme - Monokai Dark Soda

Customize Slack Theme

  1. Open Slack Preferences
  2. Select Sidebar Themes
  3. Click the link customize your theme and share it with others
  4. In the text field below the color pickers, paste this code
#222222,#2F2F2F,#F92772,#f8f8f2,#2f2f2f,#c1c1c1,#a6e22e,#66D9EF