This should work conceptually on any Linux OS with PulseAudio but these particular instructions are for Ubuntu.
There are two major reasons for using simultaneous output. The first is self-evident - we can output to say a bluetooth
headset and wired headphones at the same time to enable two people to watch a movie with headphones on a single computer.
The second reason is a sort of a convenience for setup. We know the simultaneous sink name so the default.pa
config
would work without modification so long as simultaneous output is enabled. If we were to set this up without that,
we'd have to customize the config with our specific device sink name. That's totally doable but personally I always
setup simultaneous output. That's why I haven't described the alternative in this gist.
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
*://*.036izu.net/* | |
*://*.2ch.sc/* | |
*://*.2nn.jp/* | |
*://*.5chmap.com/* | |
*://*.access01.com/* | |
*://*.ailbainpro.com/* | |
*://*.airmore.com/* | |
*://*.altema.jp/* | |
*://*.annneme.net/* | |
*://*.apowersoft.jp/* |
モヒカンslackのチャネルリスト(毎日 AM 5:00 自動更新)
詳細はQiita:究極のIT系最新技術情報収集用Slackチーム公開 - モヒカンSlack -を参照。
参加は
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
--- ./guest_network.rb.orig 2015-01-06 13:42:26.000000000 +0900 | |
+++ ./guest_network.rb 2015-01-21 11:40:38.341846700 +0900 | |
@@ -40,8 +40,8 @@ | |
def configure_dhcp_interface(nic_index, net_connection_id) | |
@logger.info("Configuring NIC #{net_connection_id} for DHCP") | |
if !is_dhcp_enabled(nic_index) | |
- netsh = "netsh interface ip set address \"#{net_connection_id}\" dhcp" | |
- @communicator.execute(netsh) | |
+ command = "&{exit (Get-WMiObject Win32_NetworkAdapterConfiguration -Filter \"Index=#{nic_index}\").EnableDHCP().ReturnValue}" | |
+ @communicator.execute(command) |
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule
クレジットカード番号には法則があり、先頭6桁でカードの種類を識別、分類することができる。
詳細はISO/IEC 7812で規定されている。
ISO/IEC 7812 - Wikipedia https://ja.wikipedia.org/wiki/ISO/IEC_7812
先頭の6桁を銀行識別番号(Bank Identification Number、略称:BIN)ないしは発行者識別番号(Issuer Identification Number、略称:IIN)と呼び、この先頭6桁でカード発行会社(イシュア、issuer)が判るようになっている。
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
def parse_datetime(d): | |
""" | |
Datetime parser | |
Creates datetimes from input into format yyyy-mm-dd hh:mm:ss | |
Needs proper validation! | |
Should accept following: | |
yyyy |