This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var BACKUP_FOLDER_ID = 'INSERT_FOLDER_ID_HERE'; | |
var NATIVE_MIME_TYPES = {}; | |
NATIVE_MIME_TYPES[MimeType.GOOGLE_DOCS] = MimeType.MICROSOFT_WORD; | |
NATIVE_MIME_TYPES[MimeType.GOOGLE_SHEETS] = MimeType.MICROSOFT_EXCEL; | |
NATIVE_MIME_TYPES[MimeType.GOOGLE_SLIDES] = MimeType.MICROSOFT_POWERPOINT; | |
var NATIVE_EXTENSIONS = {}; | |
NATIVE_EXTENSIONS[MimeType.GOOGLE_DOCS] = '.docx'; | |
NATIVE_EXTENSIONS[MimeType.GOOGLE_SHEETS] = '.xlsx'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## manullay find frame in which caption should change | |
# mkdir frames_s01 | |
# convert -coalesce source_01.gif frames_s01/out%05d.gif | |
mkdir tmp/ | |
convert source_01.gif[0-50] tmp/tm01.gif | |
convert source_01.gif[51-100] tmp/tm02.gif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import resource | |
from scipy.stats import rv_continuous | |
class Rv(rv_continuous): | |
def __init__(self, x): | |
rv_continuous.__init__(self, a=0, b=1) | |
self.x = x | |
def _pdf(self, y): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# video demo at: http://www.youtube.com/watch?v=90xoathBYfk | |
# written by "mhwombat": https://bbs.archlinux.org/viewtopic.php?id=71938&p=2 | |
# Based on "snippy" by "sessy" | |
# (https://bbs.archlinux.org/viewtopic.php?id=71938) | |
# | |
# You will also need "dmenu", "xsel" and "xdotool". Get them from your linux | |
# distro in the usual way. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.aux | |
*.glo | |
*.idx | |
*.log | |
*.toc | |
*.ist | |
*.acn | |
*.acr | |
*.alg | |
*.bbl |