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
| // ==UserScript== | |
| // @name Custom CSS for Twitter and X | |
| // @version 1.0 | |
| // @description Inject custom CSS styles to adjust scrollbar and element dimensions on pro.twitter.com and pro.x.com. | |
| // @match https://pro.twitter.com/* | |
| // @match https://pro.x.com/* | |
| // @run-at document-start | |
| // ==/UserScript== | |
| (function() { |
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
| ::-webkit-scrollbar{ | |
| width: 6px; | |
| height: 6px; | |
| } | |
| ::-webkit-scrollbar-track{ | |
| background-color: #ccc; | |
| border-radius: 5px; | |
| } | |
| ::-webkit-scrollbar-thumb{ | |
| background-color: #667785; |
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
| function parse_git_branch { | |
| git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| export PS1="\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$(parse_git_branch) \d \A \n\\$ \[\033[00m\]" |
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
| version: '3' | |
| volumes: | |
| postgres_data: | |
| driver: local | |
| certs: | |
| networks: | |
| backend: | |
| internal: true |
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
| # coding: utf-8 | |
| def synthesize_text(text, path): | |
| import os | |
| from google.cloud import texttospeech | |
| from pydub import AudioSegment | |
| import pathlib | |
| client = texttospeech.TextToSpeechClient() |
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
| # how to command ofbuilding rsyslog. | |
| # env: Ubuntu, 4.15.0-1027-gcp #28~16.04.1-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux | |
| # date: Fri Jan 18 10:10:51 UTC 2019 | |
| # cloning repo rsyslog | |
| git clone https://github.com/rsyslog/rsyslog | |
| cd ./rsyslog | |
| sudo apt update | |
| sudo apt install autoconf automake libtool |
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
| # please : git clone https://github.com/weseek/growi-docker-compose.git | |
| # special thanks : inductor | |
| #------------------------------------ | |
| version: '3' | |
| services: | |
| nginx: | |
| container_name: nginx | |
| image: jwilder/nginx-proxy | |
| restart: always | |
| ports: |