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"?> | |
<root> | |
<!-- ============================================================ --> | |
<!-- appdef for microsoft remote desktop --> | |
<appdef> | |
<appname>MSREMOTEDESKTOP</appname> | |
<equal>com.microsoft.rdc.mac</equal> | |
</appdef> | |
<item> |
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 ruby | |
out = File.open('/tmp/iTunes Music Library.xml', 'w') | |
in_path = 'iTunes/iTunes Music Library.xml' | |
regex_rating = /<key>Album Rating<\/key><integer>\d+<\/integer>/ | |
regex_rating_computed_true = /<key>Album Rating Computed<\/key><true\/>/ | |
regex_rating_computed_false = /<key>Album Rating Computed<\/key><false\/>/ | |
regex_last_line = /<\/plist>/ | |
rate_computed = " <key>Album Rating Computed</key><true/>\n" |
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 ruby | |
seed = '三徳' + | |
'新' + | |
'禄介' + | |
'雄一朗' + | |
'崇' | |
name = seed.split('') | |
.select { rand > 0.8 } | |
.shuffle |
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
HOge | fuga | |
----- | ----- | |
hoge | fuga |
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
<html> | |
<head> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> | |
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> | |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> | |
<script src="https://cdn.jsdelivr.net/npm/bs-custom-file-input/dist/bs-custom-file-input.min.js" crossorigin="anonymous"></script> | |
</head> | |
<body> | |
<div class="container-fluid pt-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/zsh | |
{ | |
echo '"' ; | |
date +%s ; | |
echo '",' ; | |
speedtest --progress=no --format=csv; | |
result=$?; | |
while (( $result )) | |
do | |
sleep 10 |
OlderNewer