Skip to content

Instantly share code, notes, and snippets.

View chozen-lev's full-sized avatar

Lev Bazylskyi chozen-lev

View GitHub Profile
@chozen-lev
chozen-lev / iccp_check.cpp
Last active January 22, 2021 01:46
Fix warning "libpng warning: iCCP: known incorrect sRGB profile"
#include <QImage>
#include <QFile>
#include <QDebug>
const QString incorrectICCPMessage = "libpng warning: iCCP: known incorrect sRGB profile";
int main(int argc, char *argv[])
{
if (argc <= 1) {
qWarning() << "no parameters";
@chozen-lev
chozen-lev / .bashrc
Last active December 19, 2020 21:33
# Colors ----------------------------------------------------------
export TERM=xterm-color
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
export CLICOLOR=1
# alias ls='ls -G' # OS-X SPECIFIC - the -G command in OS-X is for colors, in Linux it's no groups
alias ls='ls -la --color=auto' # For linux, etc
alias ll='ll --color=auto'