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
type GeneralCollaboratorType = "all" | "none"; | |
type SpecificCollaboratorType = "inclusion" | "exclusion"; | |
type NonAuthenticatedCollaborator = { | |
type: "anonymous"; | |
}; | |
type CollaboratorList = { | |
type: SpecificCollaboratorType, | |
company_ids: number[] |
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
# 80 ----> |
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
from os import path, environ | |
import datetime | |
import json | |
import sys | |
appdata = environ['APPDATA'] | |
sublime_path = 'Sublime Text 2' | |
settings_path = 'Packages\User\Preferences.sublime-settings' | |
day_profile = 'Packages/Color Scheme - Default/Solarized (Light).tmTheme' | |
night_profile = 'Packages/Color Scheme - Default/Solarized (Dark).tmTheme' |
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
[Registry] | |
Root: HKCR; Subkey: "giffile\shell\Copy image to clipboard\command"; Flags: uninsdeletekey; ValueType: string; ValueData: """{app}\copytoclipboard.exe"" ""%1""" | |
Root: HKCR; Subkey: "jpegfile\shell\Copy image to clipboard\command"; Flags: uninsdeletekey; ValueType: string; ValueData: """{app}\copytoclipboard.exe"" ""%1""" | |
Root: HKCR; Subkey: "Paint.Picture\shell\Copy image to clipboard\command"; Flags: uninsdeletekey; ValueType: string; ValueData: """{app}\copytoclipboard.exe"" ""%1""" | |
Root: HKCR; Subkey: "pngfile\shell\Copy image to clipboard\command"; Flags: uninsdeletekey; ValueType: string; ValueData: """{app}\copytoclipboard.exe"" ""%1""" | |
Root: HKCR; Subkey: "TIFImage.Document\shell\Copy image to clipboard\command"; Flags: uninsdeletekey; ValueType: string; ValueData: """{app}\copytoclipboard.exe"" ""%1""" |
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 win32api, sys | |
import Image | |
import win32clipboard | |
from cStringIO import StringIO | |
def send_to_clipboard(clip_type, data): | |
win32clipboard.OpenClipboard() | |
win32clipboard.EmptyClipboard() | |
win32clipboard.SetClipboardData(clip_type, data) | |
win32clipboard.CloseClipboard() |