Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
echo "
----------------------
NODE & NPM
----------------------
"
# add nodejs 10 ppa (personal package archive) from nodesource
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
/*Font Imports*/
@import url(https://fonts.googleapis.com/css?family=Press+Start+2P);
/*Keyframes*/
@-webkit-keyframes messagefade {
0% {
opacity: 1;
}
75% {
opacity: 1;
@skram
skram / squid.conf
Last active November 9, 2019 13:31
squid test conf
# General
http_port 3128
visible_hostname Proxy
forwarded_for delete
via off
# Log
logformat squid %tg.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt
@skram
skram / UIImage+Cache.h
Created June 6, 2012 06:16
UIImage extension, with custom cache control.
//
// UIImage+Cache.m
//
// Created by Mark on 6/6/12.
// Copyright (c) 2012 skram devs LLC. All rights reserved.
// http://skr.am
#import <UIKit/UIKit.h>
@skram
skram / ARCHelper.h
Created April 27, 2012 03:04 — forked from nicklockwood/ARCHelper.h
ARC Helper
//
// ARC Helper
//
// Version 1.3
//
// Created by Nick Lockwood on 05/01/2012.
// Copyright 2012 Charcoal Design
//
// Distributed under the permissive zlib license
// Get the latest version from here:
@skram
skram / RoundedRectLabel.h
Created March 30, 2012 09:01 — forked from digerata/RoundedRectLabel.h
Create a UILabel with a rounded rect background like in the iPhone Mail app. (Much faster than using UILabel.layer.cornerRadius)
//
// RoundedRectLabel.h
//
#import <UIKit/UIKit.h>
@interface CountLabel : UILabel {
NSInteger cornerRadius;
UIColor *rectColor;
}