Skip to content

Instantly share code, notes, and snippets.

View jigi-33's full-sized avatar
👨‍💻
done!

ilya shaburov jigi-33

👨‍💻
done!
  • ITC of NSR
  • Novosibirsk, Russia
  • 10:10 (UTC +07:00)
View GitHub Profile

There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions. Last automated update occurred on 2018-10-20.

Condition Explanation
-- Report pseudo allocation traces. Pseudo traces are derived from currently active trace events.
--/prefetch:1 /prefetch:# arguments to use when launching various process types. It has been observed that when file reads are consistent for 3 process launches with the same /prefetch:# argument, the Windows prefetcher starts issuing reads in batch at process launch. Because reads depend on the process type, the prefetcher wouldn't be able to observe consistent reads if no /prefetch:# arguments were used. Note that the browser process has no /prefetch:# argument; as such a
@jigi-33
jigi-33 / proxy.md
Created April 5, 2023 17:15 — forked from yougg/proxy.md
complete ways to set http/socks/ssh proxy environment variables

set http or socks proxy environment variables

# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT

# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT

# set http proxy with user and password (with special characters)
@jigi-33
jigi-33 / freelance_sites_for_juniors.MD
Last active February 26, 2023 10:34
Сайты по фрилансу, актуальные в 2022
@jigi-33
jigi-33 / bash-guide-1.md
Created January 8, 2023 05:32
BASH Master Guide

Бесплатная книга-сайт на русском, полный гайд
Advanced Bash-Scripting Guide

Введение

BASH — Bourne-Again SHell (что может переводится как «перерожденный шел», или «Снова шел Борна(создатель sh)»), самый популярный командный интерпретатор в юниксоподобных системах, в особенности в GNU/Linux. Ниже приведу ряд встроенных команд, которые мы будем использовать для создания своих скриптов.

>break выход из цикла for, while или until

@jigi-33
jigi-33 / vs_ce_code_linux.txt
Created July 26, 2022 16:50
VStudio free serial
VS-L-6WJ47DAE69Q3EDKY-5SPL9AAL81UM5GL9-DF3N9JL5AT46EML4-AK7PNN3XDAA31U14 Valentina Studio Free: New Linux
@jigi-33
jigi-33 / deal_python3_basics_cheat_sheet.py
Created February 7, 2022 11:39
Cheat Sheet of Python3 basics (standard lib) w/ atomic examples
# User input - common syntax
input("Please enter the string you want to be printed out: ")
#Saving the input to a variable
user_says = input("Please enter the string you want to be printed out: ")
#Defining a Variable
my_var = 10 #type - integer
@jigi-33
jigi-33 / pyqt5_stub_with_ui_gen_scr.MD
Last active February 21, 2022 14:09
Рыба (эталон) главного скрипта при подключении внешнего UI, сгенеренного QtDesigner'ом

The Standard way in main script with external UI

(previously generated by QT Designer / Creator)

NEW: MDI (Multi-dialog interface) is supported [inside 2nd comment]

# -*- coding: utf-8 -*-

import sys
from PyQt5.QtWidgets import QApplication, QWidget
from my_app_ui import Ui_Form
@jigi-33
jigi-33 / pycharm_json_formatting_feature.MD
Created November 2, 2021 13:15
[trick] JSON pretty formatting in PyCharm and other IntelliJ IDEA products

JSON auto-formatting in PyCharm Community edition

Q:

When I create a .json file in PyCharm and put in some JSON, I'm expecting it to format it as per the format shown under File-> Settings-> Editor-> Code Style-> JSON.

But instead, my code stays as it is - e.g. more than one JSON key value pair on the same line, like this:

@jigi-33
jigi-33 / asyncio_code_debugging_tricks.py
Created October 31, 2021 17:43
asyncio code DEBUGGING tricks
import asyncio
import os
import logging, warnings
os.environ["PYTHONASYNCIODEBUG"] = "1"
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("asyncio").setLevel(logging.DEBUG)
warnings.resetwarnings()