-
GitHub Repositories:
- Botocore: https://github.com/boto/botocore
- Boto3: https://github.com/boto/boto3
- Smithy: https://github.com/awslabs/smithy
-
SDK Documentation
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 python | |
import pyudev | |
import subprocess | |
import sys | |
def is_cd_event(device): | |
if device.properties.get('ID_TYPE') != 'cd': | |
return False | |
if device.properties.get('ID_MODEL') != 'DVDRAM_GP65NB60': | |
return False |
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
fdt_high=0xffffffffffffffff | |
initrd_high=0xffffffffffffffff | |
scriptaddr=0x88100000 | |
script_offset_f=0x1fff000 | |
script_size_f=0x1000 | |
kernel_addr_r=0x84000000 | |
kernel_comp_addr_r=0x90000000 | |
kernel_comp_size=0x10000000 |
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
struct ProgressBar { | |
max: usize, | |
current: usize, | |
last: Instant, | |
wait: Duration, | |
} | |
impl ProgressBar { | |
fn default(max: usize) -> ProgressBar { | |
ProgressBar { |
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 shutil | |
import botocore.session | |
s = botocore.session.Session() | |
loader = s.get_component('data_loader') | |
services = s.get_available_services() | |
to_delete = {} |
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
# Server list generated by rankmirrors on 2017-04-02 | |
## | |
## Arch Linux repository mirrorlist | |
## Filtered by mirror score from mirror status page | |
## Generated on 2017-04-01 | |
## | |
## Macedonia | |
## Canada | |
## South Korea | |
## Lithuania |
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
#lab times: 9, 11, 1, 3, 5, 7 | |
def getLines(path): | |
with open(path) as f: | |
return f.readlines() | |
def parseDuration(timestamp): | |
hoursString, minsString = timestamp[9:14].split(":") | |
hours = int(hoursString) | |
length = int(minsString) |
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
/****************************************************** | |
* Tester file to test basic functionality of your code | |
* ****************************************************/ | |
#include "baseboggleplayer.h" | |
#include "boggleplayer.h" | |
#include <iostream> | |
#include <sstream> | |
#include <fstream> | |
#include <vector> |