sudo pacman -Rsc libxxf86dga libdmx
正在检查依赖关系...
:: audacious-plugins可选依赖于lirc: LIRC
:: cmus可选依赖于libmp4v2: for mp4 input plugin support
:: compton可选依赖于xorg-xwininfo: For compton-trans
:: compton可选依赖于xorg-xprop: For compton-trans
:: gnupg可选依赖于libusb-compat: scdaemon
:: inxi可选依赖于xorg-xdpyinfo: inxi -G multi screen resolution
:: inxi可选依赖于xorg-xprop: inxi -S desktop data
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/perl -w | |
## | |
## | |
## | |
use 5.012; | |
$| = 1; | |
use POSIX qw(strftime); | |
chdir '/home/odps/ods_ac_serverconfig/'; |
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
/* acoustid_compare.c */ | |
#include <math.h> | |
#include "postgres.h" | |
#include "fmgr.h" | |
#include "utils/array.h" | |
#include "catalog/pg_type.h" | |
#include "popcount.h" | |
/* fingerprint matcher settings */ |
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
/* acoustid_compare.c */ | |
#include <math.h> | |
#include "postgres.h" | |
#include "fmgr.h" | |
#include "utils/array.h" | |
#include "catalog/pg_type.h" | |
#include "popcount.h" | |
/* fingerprint matcher settings */ |
https://github.com/acoustid/chromaprint/releases/download/v1.4.3/chromaprint-1.4.3.tar.gz
修改./audio/ffmpeg_audio_reader.h和./audio/ffmpeg_audio_processor.h
g++ cmd/fpcalc.cpp -lm -lavcodec -lavutil -lswresample -lavformat -L. -I. -lchromaprint
$LD_LIBRARY_PATH=. ./a.out /tmp/半兽人.flac
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
==> 继续安装 amdgpu-pro-installer ? [Y/n] | |
==> [v]查看包的内容 [c]用 namcap 检查 | |
==> ------------------------ | |
==> y | |
正在加载软件包... | |
正在解析依赖关系... | |
警告:无法解决 "lib32-libx11","lib32-amdgpu-pro-libgl" 的一个依赖关系 | |
警告:无法解决 "lib32-libxcb","lib32-amdgpu-pro-libgl" 的一个依赖关系 | |
警告:无法解决 "lib32-libxdamage","lib32-amdgpu-pro-libgl" 的一个依赖关系 |
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
路由表使用cidrmerge进行合并 | |
cat route.txt| cidrmerge > route_merged.txt | |
https://github.com/karlpilkington/cidrmerge | |
ChinaRoute ipv4路由表 | |
wget -O- 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | awk -F\| '/CN\|ipv4/ { printf("%s/%d\n", $4, 32-log($5)/log(2)) }' > /tmp/route.txt | |
Adblock_china_easylist去广告: | |
wget -4 --no-check-certificate -O - https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt | grep -E '^\|\|[^\*]*\^$' | sed -e 's:||:address\=\/:' -e 's:\^:/127\.0\.0\.1:' | sort | uniq > /tmp/adblock.conf |
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
#include <stdio.h> | |
#include <curl/curl.h> | |
int main(void) | |
{ | |
CURL *curl; | |
CURLcode res; | |
curl = curl_easy_init(); | |
if(curl) { |
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
#EXTM3U name="北京联通IPTV(RTP)” | |
#EXTINF:-1,CCTV-1高清(1) | |
rtp://239.2.1.129:8000 | |
#EXTINF:-1,CCTV-2高清(2) | |
rtp://239.2.1.60:8084 | |
#EXTINF:-1,CCTV-4高清(4) | |
rtp://239.2.1.105:8092 | |
#EXTINF:-1,CCTV-7高清(7) | |
rtp://239.2.1.61:8104 | |
#EXTINF:-1,CCTV-9高清(9) |
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/perl -w | |
use 5.010; | |
use POSIX qw(strftime); | |
my $day_cnt = shift || 7; |
NewerOlder