Skip to content

Instantly share code, notes, and snippets.

View SohamG's full-sized avatar
🎯
Focusing

Soham Gumaste SohamG

🎯
Focusing
  • India
View GitHub Profile
@SohamG
SohamG / fonts.conf
Last active March 13, 2024 13:09
Fix emoji in Linux and get color emoji in Discord! Place this fontconfig file in ~/.config/fontconfig/fonts.conf
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- REQUIRES Noto fonts (along with Noto Color Emoji)
run `fc-list | grep -i -e "noto sans" -e "noto serif" -e "noto color emoji"` to confirm
-->
<!-- Change the string in the family tag to whatever font -->
<family>serif</family>
<prefer><family>Noto Serif</family></prefer>
</alias>
P:2540; T:0x140605522686400 16:08:55.037 [pkcs15-init] ctx.c:847:sc_context_create: ===================================
P:2540; T:0x140605522686400 16:08:55.037 [pkcs15-init] ctx.c:848:sc_context_create: opensc version: 0.19.0
P:2540; T:0x140605522686400 16:08:55.037 [pkcs15-init] reader-pcsc.c:846:pcsc_init: PC/SC options: connect_exclusive=0 disconnect_action=0 transaction_end_action=0 reconnect_action=0 enable_pinpad=1 enable_pace=1
P:2540; T:0x140605522686400 16:08:55.038 [pkcs15-init] reader-pcsc.c:1328:pcsc_detect_readers: called
P:2540; T:0x140605522686400 16:08:55.038 [pkcs15-init] reader-pcsc.c:1341:pcsc_detect_readers: Probing PC/SC readers
P:2540; T:0x140605522686400 16:08:55.038 [pkcs15-init] reader-pcsc.c:1392:pcsc_detect_readers: Establish PC/SC context
P:2540; T:0x140605522686400 16:08:55.039 [pkcs15-init] reader-pcsc.c:1277:pcsc_add_reader: Adding new PC/SC reader 'FT ePass2003Auto 00 00'
P:2540; T:0x140605522686400 16:08:55.039 [pkcs15-init] reader-pcsc.c:321:refresh_attributes: FT ePass2003A
P:13250; T:0x140060154393024 14:29:34.458 [pkcs15-init] ctx.c:847:sc_context_create: ===================================
P:13250; T:0x140060154393024 14:29:34.458 [pkcs15-init] ctx.c:848:sc_context_create: opensc version: 0.19.0
P:13250; T:0x140060154393024 14:29:34.458 [pkcs15-init] reader-pcsc.c:846:pcsc_init: PC/SC options: connect_exclusive=0 disconnect_action=0 transaction_end_action=0 reconnect_action=0 enable_pinpad=1 enable_pace=1
P:13250; T:0x140060154393024 14:29:34.459 [pkcs15-init] reader-pcsc.c:1328:pcsc_detect_readers: called
P:13250; T:0x140060154393024 14:29:34.459 [pkcs15-init] reader-pcsc.c:1341:pcsc_detect_readers: Probing PC/SC readers
P:13250; T:0x140060154393024 14:29:34.459 [pkcs15-init] reader-pcsc.c:1392:pcsc_detect_readers: Establish PC/SC context
P:13250; T:0x140060154393024 14:29:34.460 [pkcs15-init] reader-pcsc.c:1277:pcsc_add_reader: Adding new PC/SC reader 'FT ePass2003Auto 00 00'
P:13250; T:0x140060154393024 14:29:34.460 [pkcs15-init] reader-pcsc.c:321:refresh_attributes: FT eP
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] ctx.c:847:sc_context_create: ===================================
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] ctx.c:848:sc_context_create: opensc version: 0.19.0
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] reader-pcsc.c:846:pcsc_init: PC/SC options: connect_exclusive=0 disconnect_action=0 transaction_end_action=0 reconnect_action=0 enable_pinpad=1 enable_pace=1
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] reader-pcsc.c:1328:pcsc_detect_readers: called
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] reader-pcsc.c:1341:pcsc_detect_readers: Probing PC/SC readers
P:12707; T:0x140447128830400 14:02:17.328 [pkcs15-init] reader-pcsc.c:1392:pcsc_detect_readers: Establish PC/SC context
P:12707; T:0x140447128830400 14:02:17.418 [pkcs15-init] reader-pcsc.c:1277:pcsc_add_reader: Adding new PC/SC reader 'FT ePass2003Auto 00 00'
P:12707; T:0x140447128830400 14:02:17.418 [pkcs15-init] reader-pcsc.c:321:refresh_attributes: FT eP
Sep 10 16:20:50 sohamg-vps python[27437]: 2018-09-10 16:20:50,077 - twisted - 131 - ERROR - - twisted.internet.error.CannotListenError: Couldn't listen on 127.0.0.1:8448: [Errno 98] Address already in use.
Sep 10 16:20:50 sohamg-vps systemd[1]: matrix-synapse.service: Main process exited, code=exited, status=1/FAILURE
Sep 10 16:20:50 sohamg-vps systemd[1]: matrix-synapse.service: Failed with result 'exit-code'.
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex
Subsystem: ASUSTeK Computer Inc. Device 8526
Flags: bus master, 66MHz, medium devsel, latency 0
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: fd000000-fe0fffff
Prefetchable memory behind bridge: 00000000e0000000-00000000f1ffffff
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 14)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@SohamsPC-Linux:/home/soham/Desktop# apt-get install aptitude
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
(Reading database ... 250315 files and directories currently installed.)
Preparing to unpack vagrant_1.7.1_x86_64.deb ...
Unpacking vagrant (1:1.7.1) over (1.4.3-1) ...
dpkg-deb (subprocess): cannot copy archive member from 'vagrant_1.7.1_x86_64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb: error: subprocess paste returned error exit status 2
dpkg: error processing archive vagrant_1.7.1_x86_64.deb (--install):
cannot copy extracted data for './opt/vagrant/embedded/lib/libruby.so.2.0' to '/opt/vagrant/embedded/lib/libruby.so.2.0.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
vagrant_1.7.1_x86_64.deb
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<ul id = '#nav'>
<li><a href="#">Home</a></li>