We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 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
https://dl.dnanex.us/F/D/JG9xJ05b9zYBpqJzjyXpkpZ4f8p6gBf05z2fGjKZ/Hep3B_1_ChIP.raw.srt.bam | |
https://dl.dnanex.us/F/D/3BBGKJZVZpJg42b6zzB1j2bB9x7Pz3PG99gY8v8F/Hep3B_1_ChIP.raw.srt.bam.flagstat.qc | |
https://dl.dnanex.us/F/D/ZQbGzgQ5zvpQF7K3YKKf638P8X3xpbQf9v65g08K/Hep3B_1_ChIP.raw.srt.dup.qc | |
https://dl.dnanex.us/F/D/j6Y0f1gQJ381F5j767fZGB9J3YV1K5GQjXjP861y/Hep3B_1_ChIP.raw.srt.filt.nodup.srt.bam | |
https://dl.dnanex.us/F/D/5X9x0FYZ2QZ9fgqQPvQ5YK7BQqqzPb2ZXBFGXy12/Hep3B_1_ChIP.raw.srt.filt.nodup.srt.bam.bai | |
https://dl.dnanex.us/F/D/p5x02gkK927yV0F9PJ6kQb7Q2jFjq417q58xzQY8/Hep3B_1_ChIP.raw.srt.filt.nodup.srt.filt.nodup.sample.15.SE.tagAlign.gz.cc.plot.pdf | |
https://dl.dnanex.us/F/D/y1jXQBZ58JqVq1pQg52x7K43zBGYX6qZX9zQXB6Z/Hep3B_1_ChIP.raw.srt.filt.nodup.srt.filt.nodup.sample.15.SE.tagAlign.gz.cc.qc | |
https://dl.dnanex.us/F/D/P3Y3QY6x6PqQ1yx9gVj4f8g8QbJfy0VQVQ9z38Y0/Hep3B_1_ChIP.raw.srt.filt.nodup.srt.flagstat.qc | |
https://dl.dnanex.us/F/D/qfgPjJpF7q0Kzkq2VBGVZ199g37q20yjf2Bq95FX/Hep3B_1_ChIP.raw.srt.filt.nodup.srt.pbc.qc | |
htt |
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
# .bash_profile | |
# Get the aliases and functions | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi | |
# User specific environment and startup programs | |
PATH=$PATH:$HOME/.local/bin:$HOME/bin |
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
tell application "System Preferences" to ¬ | |
reveal anchor "output" of pane id "com.apple.preference.sound" | |
tell application "System Events" | |
tell application process "System Preferences" | |
repeat until exists tab group 1 of window "Sound" | |
delay 1.0E-3 | |
end repeat | |
tell tab group 1 of window "Sound" | |
if (selected of row 4 of table 1 of scroll area 1) then |
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
# TODO: Add wild card support for video files extration | |
# TODO: Add conditional argument for subtitle files | |
# Here its a complete implementation | |
# https://askubuntu.com/questions/939821/script-to-merge-video-and-subs-then-delete-the-existing-files-non-recursive | |
# Here see about the problems of spaces in the filename | |
# https://unix.stackexchange.com/questions/9496/looping-through-files-with-spaces-in-the-names | |
FILES=*mp4 |
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
// ==UserScript== | |
// @name Open Twitter App | |
// @version 1.0.0 | |
// @author wyq977 | |
// @match *://*.twitter.com/* | |
// @downloadURL https://gist.github.com/wyq977/c57a3aea6d115987e2f246a8cd983dab/raw/ | |
// @updateURL https://gist.github.com/wyq977/c57a3aea6d115987e2f246a8cd983dab/raw/ | |
// @homepage https://gist.github.com/wyq977/c57a3aea6d115987e2f246a8cd983dab/ | |
// ==/UserScript== | |
window.location.href = `twitter://${window.location.pathname.slice(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
#!/usr/bin/env python3 | |
# -*- coding:utf-8 -*- | |
# ref: https://lxmymjr.github.io/contents/%E4%B8%BB%E6%B5%81%E8%A7%86%E9%A2%91%E7%BD%91%E7%AB%99%E5%BC%B9%E5%B9%95%E4%B8%8B%E8%BD%BD.html | |
import io | |
import json | |
import sys | |
import urllib.request |
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
#!/bin/bash | |
cid=9ryv0hiwni3r1ck | |
vid=s0030np0g44 | |
json_url='http://h5vv.video.qq.com/getinfo?otype=json&cid='"${cid}"'&vids='"${vid}"'' | |
echo $json_url | |
str="$(curl -s $json_url)" | |
trim="${str::-1}" # remove 'QZOutputJson=' and ';' | |
cat $trim > video.json |