- April 2015 servicing stack update for Windows 7 and Windows Server 2008 R2
- Required for rollup package installer
- Detail
- Download Page
This file contains hidden or 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
static const char *BASE64STR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; | |
int getBase64Length(int len) | |
{ | |
return (len+2)/3*4; | |
} | |
static void b64(char in1, char in2, char in3, char *out) | |
{ |
This file contains hidden or 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
#define begin { | |
#define end } |
This file contains hidden or 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 datetime import datetime | |
from urllib.parse import quote | |
from xml.etree import ElementTree | |
import json | |
import base64 | |
import os | |
import os.path | |
import re |
This file contains hidden or 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"?> | |
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> | |
<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" MenuName="Add to Image Watch"/> | |
<Type Name="TComPicYuv"> | |
<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" /> | |
</Type> | |
<Type Name="TComPicYuv"> | |
<DisplayString Condition="m_chromaFormatIDC == CHROMA_400">{{TComPicYuv YUV400 {m_iPicWidth} x {m_iPicHeight} x {m_chromaFormatIDC}}}</DisplayString> |
This file contains hidden or 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 datetime import datetime, timedelta | |
from datetime import time | |
from copy import deepcopy | |
# settings | |
start_date = datetime(2016, 9, 20, 15, 00, 00) | |
boost_date = datetime(2016, 9, 23, 15, 00, 00) | |
end_date = datetime(2016, 9, 26, 21, 00, 00) | |
now_date = deepcopy(start_date) |
This file contains hidden or 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 os | |
import os.path as path | |
import re | |
from PIL import Image | |
IMAGE_EXTENSION = ['.jpg', '.jpeg', '.png', '.gif'] | |
CAPTURE_SIZE = [(2048, 1536), (1136, 640)] | |
SCREEN_RATIO = [w/h if w > h else h/w for w, h in CAPTURE_SIZE] |
On some Display Manager events (login, screen-lock, etc) screen resolution changes to 800x600 forcefully, even though user setting is different.
LightDM's display-setup-script
or .config/autostart
methods does not fix this problem.
These methods changes resolution after specified events by executing xrandr
command,
but other events (escpecially screen-lock) reset resolution to 800x600 and annoy me.
This file contains hidden or 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 python3 | |
import argparse | |
from pytube import YouTube | |
def download(url): | |
def progress_callback(stream, chunk, file_handle, bytes_remaining): | |
# this function is called by download process... do not call directly! | |
total_size = stream.filesize | |
downloaded_size = total_size - bytes_remaining |
OlderNewer