Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / gist:4346273
Created December 20, 2012 16:13
Transifex (https://www.transifex.com) is looking for a support engineer to join
our team.
As part of the support team, you will be providing first-class service to our
customers, like Dropbox and Pinterest, as well as ensuring any feedback gets
integrated back to the product.
Transifex (https://www.transifex.com) is looking for a support engineer to join
our team.
As part of the support team, you will be providing first-class service to our
@yorkxin
yorkxin / README.md
Last active October 27, 2020 12:17
Amazon S3 Redirect Rules Generator

Amazon S3 Redirect Rules Generator

A Ruby script to generate simple Amazon S3 Redirection Rules XML file.

Update: There is an app for that now! Use Amazon S3 Redirector (Web app) and you can generate the XML without any knowledge about Ruby. Thanks to @rainforestapp. BTW, It's open source too.

Dependencies

  • Nokogiri
@mendelgusmao
mendelgusmao / btsync
Last active March 4, 2021 15:37
init.d script for btsync (based on another script built to run dropbox)
#!/bin/sh
### BEGIN INIT INFO
# Provides: btsync
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Multi-user daemonized version of btsync.
@Daniel15
Daniel15 / 1_README.md
Last active February 12, 2024 19:14
Complete Google Drive File Picker example

Google Drive File Picker Example

This is an example of how to use the Google Drive file picker and Google Drive API to retrieve files from Google Drive using pure JavaScript. At the time of writing (14th July 2013), Google have good examples for using these two APIs separately, but no documentation on using them together.

Note that this is just sample code, designed to be concise to demonstrate the API. In a production environment, you should include more error handling.

See a demo at http://stuff.dan.cx/js/filepicker/google/

@vrypan
vrypan / dayone-to-b3.py
Last active December 24, 2015 06:29
Quick'n'dirty script to generate bucket3 posts from DayOne journal entries. Only entries with tag 'blog' will be published, the rest are ignored.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Usage:
dayone-to-b3.py [options]
Options:
-p, --path=<path> top directory of your blog. [default: .]
"""
@kgabis
kgabis / dropboxpro.md
Last active May 18, 2016 22:03
Weird pricing of Dropbox Pro

Last week Dropbox introduced Dropbox Pro with 1TB storage space (and some other cool features) for $99/year (or $9,99/month), which is a pretty good deal (Google Drive 1TB also costs $99,99/year). The problem: it's not $99/year, but $130/year (or $13/month) if you happen to live in Europe. Instead of converting prices from dollars to euros, they just changed $ to €.

pricing

But that's not the best part. You can buy it cheaper if you use Dropbox app on iOS.

pricing on iOS

Now it's only $118/year or $10/month, which is much cheaper than through their website (and they still have to give 30% of that to apple!). I guess we should thank apple for not allowing different pricing in different regions. So if you plan to upgrade to Dropbox Pro, do it through their mobile app.

@jackbaty
jackbaty / webmentions.js
Last active December 4, 2018 14:27
webmentions.js
!function() {
var t = "https://webmention.io/api/mentions",
a = $("hr.full");
if (1 === a.length) {
var e = $.ajax(t, {
data: {
target: "https://www.baty.blog" + location.pathname
}
}),
n = function(t) {