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
<?xml version="1.0" encoding="UTF-8"?> | |
<Response> | |
<Say voice="woman">This is a test of AlertMedia voice.</Say> | |
</Response> |
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
calculator = HuurCalc( | |
room_studio_sqm=0, # C4 | |
total_shared_area_sqm=0, # D4 | |
shared_living_room=False, # e4 | |
shared_kitchen=False, # F4 | |
shared_shower=False, # G4 | |
shared_toilet=False, # H4 | |
total_residents=1, # | |
# advanced calc values | |
move_in_year=2023, # K5 |
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
variables | |
{ | |
global: | |
0: boss_upper | |
1: boss_lower | |
2: boss_phase | |
3: for_count | |
4: begin | |
5: cutscene | |
6: cam_pos |
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 twitter | |
from PIL import Image | |
api = twitter.Api(consumer_key="REPLACE_ME", | |
consumer_secret="REPLACE_ME", | |
access_token_key="REPLACE_ME", | |
access_token_secret="REPLACE_ME") | |
api.UpdateBanner(image='twitter_header_image.png') | |
api.UpdateImage(image='twitter_profile_image.png') |
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
1 - https://worldcup.playoverwatch.com/en-gb/endorse/87b705b927d710fe20411bd0 | |
2 - https://worldcup.playoverwatch.com/endorse/b6acaedf8f490fe71219136c | |
3 - https://worldcup.playoverwatch.com/endorse/5bd6ed01fcbfbaa988d16772 | |
4 - https://worldcup.playoverwatch.com/endorse/3b97e3c23fce987ebbaeb514 | |
5 - https://worldcup.playoverwatch.com/endorse/221856b4c7782f2a1004854f | |
6 - https://worldcup.playoverwatch.com/endorse/f0cec3a8627294b62a24b1f4 | |
7 - https://worldcup.playoverwatch.com/en-us/endorse/01c68dd6e23a3943e97be9c9 | |
8 - https://worldcup.playoverwatch.com/endorse/81a6639e4c4730aed66c1ec8 | |
9 - https://worldcup.playoverwatch.com/endorse/eba0109ee98e3a3b66201c2d | |
10 - https://worldcup.playoverwatch.com/endorse/af341b0e997c63dbb85c3f11 |
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
links = ["https://worldcup.playoverwatch.com/endorse/f0cec3a8627294b62a24b1f4","https://worldcup.playoverwatch.com/endorse/b6acaedf8f490fe71219136c","https://worldcup.playoverwatch.com/endorse/5bd6ed01fcbfbaa988d16772","https://worldcup.playoverwatch.com/endorse/3b97e3c23fce987ebbaeb514","https://worldcup.playoverwatch.com/endorse/221856b4c7782f2a1004854f","https://worldcup.playoverwatch.com/en-gb/endorse/87b705b927d710fe20411bd0","https://worldcup.playoverwatch.com/en-us/endorse/01c68dd6e23a3943e97be9c9","https://worldcup.playoverwatch.com/endorse/81a6639e4c4730aed66c1ec8","https://worldcup.playoverwatch.com/endorse/eba0109ee98e3a3b66201c2d","https://worldcup.playoverwatch.com/endorse/af341b0e997c63dbb85c3f11","https://worldcup.playoverwatch.com/endorse/0093a80d8f663c6f3cb13711","https://worldcup.playoverwatch.com/endorse/565fae555a6c8fd8fa8796cc","https://worldcup.playoverwatch.com/endorse/60d603fcf7fea73fa130771c","https://worldcup.playoverwatch.com/endorse/21eecf12c415e0053499fad5","https://worldcup.playo |
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
if size < MIN_PNG_SIZE: | |
raise errors.ClientException('`image` is not a valid image') | |
if size > MAX_IMAGE_SIZE: | |
raise errors.ClientException('`image` is too big. Max: {0} ' | |
'bytes'.format(MAX_IMAGE_SIZE)) | |
first_bytes = image.read(MIN_PNG_SIZE) | |
image.seek(0) | |
if first_bytes.startswith(PNG_HEADER): | |
image_type = 'png' | |
elif first_bytes.startswith(JPEG_HEADER): |
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
first_bytes = image.read(MIN_PNG_SIZE) | |
image.seek(0) | |
if first_bytes.startswith(PNG_HEADER): | |
image_type = 'png' | |
elif first_bytes.startswith(JPEG_HEADER): | |
image_type = 'jpg' | |
else: | |
raise errors.ClientException('`image` must be either jpg or ' | |
'png.') |
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
function retry(retries, assertion, timeout, callbackSuccess, callbackFailure){ | |
var i = 0; | |
function _retry() { | |
i++; | |
if (assertion) { | |
callbackSuccess(); | |
} else { | |
if (i < retries) { | |
setTimeout(_retry, timeout); |
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
{u'updated_at': u'2015-07-12T23:19:07Z', u'video_banner': u'http://static-cdn.jtvnw.net/jtv_user_pictures/gamesacademy-channel_offline_image-e62eab4afa58c273-640x360.png', u'logo': u'http://static-cdn.jtvnw.net/jtv_user_pictures/gamesacademy-profile_image-2ea2fa5f1cda6753-300x300.png', u'partner': True, u'display_name': u'GamesAcademy', u'delay': 0, u'followers': 29309, u'_links': {u'videos': u'https://api.twitch.tv/kraken/channels/gamesacademy/videos', u'features': u'https://api.twitch.tv/kraken/channels/gamesacademy/features', u'stream_key': u'https://api.twitch.tv/kraken/channels/gamesacademy/stream_key', u'subscriptions': u'https://api.twitch.tv/kraken/channels/gamesacademy/subscriptions', u'follows': u'https://api.twitch.tv/kraken/channels/gamesacademy/follows', u'self': u'https://api.twitch.tv/kraken/channels/gamesacademy', u'commercial': u'https://api.twitch.tv/kraken/channels/gamesacademy/commercial', u'editors': u'https://api.twitch.tv/kraken/channels/gamesacademy/editors', u'teams': u'https://api.tw |
NewerOlder