Skip to content

Instantly share code, notes, and snippets.

View clear.sh
#!/bin/bash
# Script: sauber
# Object: Cleans up your Linux file system after a
# session with AppleTalk and Finder.
# Etymologie: sauber means clean in German
# Author: originally by Christian Imhorst [http://www.datenteiler.de/what-is-2eds_store/]
# modified by Gordon Davisson
# Test number of arguments here
if (( $# < 1 )) ; then
@beh
beh / gist:4052761
Created Nov 10, 2012
Apple early iPhone subsidy?
View gist:4052761
When I say subsidised what I mean is that money was flowing from the customer trough the
carrier ending up at 1 Infinite Loop.
My basis for this "conspiracy" stems from the following:
1. The price of the iPhone increased when it went world wide. Likely to make up for lost income from AT&T.
2. Think that the normal Apple MSRP margins are not reflected by the $499 / $599 price point it was originally sold on.
3. The infamous price drop of 2007 to $399 without any change in the contract terms from AT&T underpins your claim that there
was no subsidy of the device from AT&T towards customer end price.
4. The GAAP subscription accounting model also hints that Apple will get paid per user over time.
View gist:3762959
.site-footer {
color: #839496;
}
.site-footer, pre, .prettyprint {
background-color: #002b36;
}
.site-footer a {
color: #657b83;
@beh
beh / gist:3549933
Created Aug 31, 2012
Add bookmark to pinbord.in with predefined tag, without user intervention
View gist:3549933
javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://pinboard.in/add?later=yes&noui=yes&jump=close&tags=TAGS GO HERE&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=100,height=100'));
// Copy and paste the above into a new bookmark. Replace "TAGS GO HERE" with your tags. Presto!
You can’t perform that action at this time.