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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure | |
| # configures the configuration version (we support older styles for | |
| # backwards compatibility). Please don't change it unless you know what | |
| # you're doing. | |
| Vagrant.configure("2") do |config| | |
| # The most common configuration options are documented and commented below. | |
| # For a complete reference, please see the online documentation at |
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
| {"lastUpload":"2022-03-05T13:56:10.268Z","extensionVersion":"v3.4.3"} |
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
| #!/bin/bash | |
| VLC="vlc -I dummy" | |
| TARGET_DIR="movies" | |
| THUMBNAIL_DIR="movies/thumbnails" | |
| THUMBNAIL_FMT="jpg" | |
| set -eux | |
| gen_options() { |
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
| #!/bin/bash | |
| # 初回のみ | |
| git clone --depth 1 https://github.com/matsuu/vagrant-isucon | |
| cd vagrant-isucon/isucon8-qualifier | |
| vagrant up bench | |
| # ホストアドレスをカンマ区切りで指定 | |
| IMAGE_HOST_IP="XXX.XXX.XXX.XXX,XXX.XXX.XXX.XXX" |
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 readline | |
| import sqlite3 | |
| def print_row(row): | |
| print('(' + ', '.join(str(_) for _ in row) + ')') | |
| conn = sqlite3.connect(':memory:') | |
| c = conn.cursor() | |
| while True: |
OlderNewer