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
/* ==UserStyle== | |
@name chatgpt.com | |
@namespace https://github.com/badpenguin | |
@version 1.0.0 | |
@description Allow to print chatgpt chat | |
@author Antonio Gallo | |
==/UserStyle== */ | |
@-moz-document domain("chatgpt.com") { | |
@media print { |
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
@-moz-document domain("claude.ai") { | |
body { | |
background: white !important; | |
--font-system: Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | |
--font-tiempos: Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | |
--font-styrene-b: Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | |
} | |
/* box above the answer */ |
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
OPT="-c:a aac -ar 48000 -c:v libx264 -profile:v main -preset veryfast -tune fastdecode -crf 21 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 6 -hls_playlist_type vod -hls_flags independent_segments -hls_segment_type mpegts -hls_list_size 0" | |
ffmpeg \ | |
-hide_banner -loglevel warning -stats \ | |
-threads 8 -hwaccel vdpau \ | |
-y -i "$IFILE" \ | |
$OPT \ | |
-map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 \ | |
-filter:v:0 scale=w=640:h=360:force_original_aspect_ratio=decrease:force_divisible_by=2 -b:v:0 800k -maxrate:v:0 856k -bufsize:v:0 1200k -b:a:0 96k \ | |
-filter:v:1 scale=w=842:h=480:force_original_aspect_ratio=decrease:force_divisible_by=2 -b:v:1 1400k -maxrate:v:1 1498k -bufsize:v:1 2100k -b:a:1 128k \ |
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
subprojects { | |
afterEvaluate {project -> | |
if (project.hasProperty("android") && VersionNumber.parse(project.property("android").buildToolsVersion) < VersionNumber.parse("28.0.2")) { | |
def oldver = VersionNumber.parse(project.property("android").buildToolsVersion) | |
println "" | |
println "(*) UPGRADING $project.name from $oldver ..." | |
println "" | |
android { | |
compileSdkVersion 28 |
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
set $cicciopasticcio 0; | |
if ($request_uri ~* "/wp-admin|/wp-login.php") { | |
set $cicciopasticcio 1; | |
} | |
if ($request_uri ~* "/wp-admin/admin-ajax.php") { | |
set $cicciopasticcio 0; | |
} | |
if ($cookie_cicciopasticcio != "nginx") { | |
set $cicciopasticcio "${cicciopasticcio}1"; | |
} |
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
org.gradle.parallel=true | |
org.gradle.daemon=true | |
org.gradle.jvmargs=-Xms512m -Xmx1024m |
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
/* | |
* Antonio Gallo - https://www.antoniogallo.it - http://www.badpenguin.org/ | |
* simple replacement for angular1 $log service | |
*/ | |
// makes TS compiler happy | |
import {jStringify} from "./helpers"; | |
import {Observable} from "rxjs"; | |
declare let console: any; |
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
" CORE | |
set nocompatible | |
set enc=utf-8 | |
" GUI | |
syntax on | |
colorscheme pablo | |
" Formatting / Indent |
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 bash | |
# Space/Tab separated list of cryptocurrencies to query | |
CRYPTO="BTC ETH ZEC PPC" | |
# Fiat separated by comma | |
#FIAT="EUR,USD" | |
#FIAT="USD" | |
FIAT="EUR" |
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
// https://css-tricks.com/snippets/css/a-guide-to-flexbox/ | |
.flexbox-container-block { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
} |
NewerOlder