Skip to content

Instantly share code, notes, and snippets.

Avatar

Panayotis Vryonis vrypan

View GitHub Profile
@jackbaty
jackbaty / webmentions.js
Last active Dec 4, 2018
webmentions.js
View 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) {
@kgabis
kgabis / dropboxpro.md
Last active May 18, 2016
Weird pricing of Dropbox Pro
View dropboxpro.md

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.

@vrypan
vrypan / dayone-to-b3.py
Last active Dec 24, 2015
Quick'n'dirty script to generate bucket3 posts from DayOne journal entries. Only entries with tag 'blog' will be published, the rest are ignored.
View dayone-to-b3.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Usage:
dayone-to-b3.py [options]
Options:
-p, --path=<path> top directory of your blog. [default: .]
"""
@Daniel15
Daniel15 / 1_README.md
Last active Sep 17, 2021
Complete Google Drive File Picker example
View 1_README.md

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/

@mendelgusmao
mendelgusmao / btsync
Last active Mar 4, 2021
init.d script for btsync (based on another script built to run dropbox)
View btsync
#!/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.
@yorkxin
yorkxin / README.md
Last active Oct 27, 2020
Amazon S3 Redirect Rules Generator
View README.md

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
View gist:4346273
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