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
tar -xOf $1 data.tar.xz |tar -tv |
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
Open Source License List (not included at https://www.swisscom.ch/en/residential/help/device/open-source.html) | |
<div class="base-content"> | |
<div class="text description"> <span class="translation-string">Swisscom adopts a careful approach to the open source software used in its products. Use the links below to access the websites of the open source software components used. For more information and open source contact details of the Internet-Box software suppliers go to <a href="http://www.swisscom.ch/opensource">here</a>.</span> </div> | |
<div class="license-container"> | |
<div class="license-name"> <a href="/static/licenses/AP/stargatev2/avahi-LICENSE.txt" target="_blank">avahi</a> </div> | |
<div class="license-site"> <a href="https://github.com/lathiat/avahi/releases/tag/v0.6.32" target="_blank">https://github.com/lathiat/avahi/releases/tag/v0.6.32</a> </div> | |
</div> | |
<div class="license-container"> | |
<div class="license-name"> <a href="/static/licenses/AP/stargatev2/dbus-COPYING.t |
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
sleep 5; while read -r line; do clear; echo $line; echo "$line" | pbcopy; sleep 1; done < "feed_commands_for_seoul_ap-northeast-2.txt" |
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 perl | |
use bignum; | |
$a=1; | |
for(0..64){ | |
printf "%2s%21s\n", $_, $a; | |
$a<<=1; | |
} | |
# (perl)$ perl -Mbignum -E '$a=1;for(0..64){say" "x($_<10).$_." "x(21-length($a)).$a;$a<<=1}' | |
# (perl)$ perl -Mbignum -E '$a=1;for(0..64){printf"%2s%21s\n",$_,$a;$a<<=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
""" | |
n-gram of a string by characters (not by words) | |
takes all args as input unless the first two args are numbers which are in | |
order, then it assume these are min and max length. Default min max is 2 - 60 | |
""" | |
def ngram(inp='', mn=2, mx=60): | |
""" |
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
# Licensed to the Apache Software Foundation (ASF) under one | |
# or more contributor license agreements. See the NOTICE file | |
# distributed with this work for additional information | |
# regarding copyright ownership. The ASF licenses this file | |
# to you under the Apache License, Version 2.0 (the | |
# "License"); you may not use this file except in compliance | |
# with the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
# Licensed to the Apache Software Foundation (ASF) under one | |
# or more contributor license agreements. See the NOTICE file | |
# distributed with this work for additional information | |
# regarding copyright ownership. The ASF licenses this file | |
# to you under the Apache License, Version 2.0 (the | |
# "License"); you may not use this file except in compliance | |
# with the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
""" | |
This module contains four methods for muting file descriptors. | |
You can mute the standard file descriptors: | |
with mute_stdout(): | |
... | |
with mute_stderr(): | |
... | |
with mute_stdout_stderr(): | |
... | |
Or mute a list of known file descriptors: |
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 python3 | |
# vim: et sw=4 ai | |
""" | |
This script takes in files named in presumed yaml format and OVERWRITES them | |
with all their keys sorted by the key name. It does not preserve comments. I've | |
not tested it with lists. | |
Using '-' as a filename opens and consumes stdin in addition to other files. | |
stdin is written to stdout with the same processing. |
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
refmt | mentions | EG | |
---|---|---|---|
detab | 468 | Fixed crash when detabbing with zero spaces per tab. | |
entab | 88 | Add C functions to centralize entab processing | |
reindent | 6311 | lang_css: reindented parser_css.mly |
OlderNewer