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
PS1='\[\033]0;$PWD\007\]' # set window title | |
PS1="$PS1"'\[\033[32m\]' # change to green | |
PS1="$PS1"'\u@\h ' # user@host<space> | |
PS1="$PS1"'\[\033[33m\]' # change to brownish yellow | |
PS1="$PS1"'\w ' # current working directory<space> | |
PS1="$PS1"'\[\033[92m\]' # change to brownish yellow | |
PS1="$PS1"'\t' # the current time in 24-hour HH:MM:SS format | |
if test -z "$WINELOADERNOEXEC" | |
then | |
GIT_EXEC_PATH="$(git --exec-path 2>/dev/null)" |
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
<NotepadPlus> | |
<UserLang name="Dockerfile" ext="Dockerfile" udlVersion="2.1"> | |
<Settings> | |
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> | |
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Comments">00# 01 02 03 04</Keywords> | |
<Keywords name="Numbers, prefix1"></Keywords> | |
<Keywords name="Numbers, prefix2"></Keywords> |
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
import subprocess | |
data = ( | |
subprocess.check_output(["netsh", "wlan", "show", "profiles"]) | |
.decode("ISO-8859-1") | |
.split("\n") | |
) | |
profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i] | |
for i in profiles: | |
results = ( |
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
local_pg={"host":"localhost","port": 5432,"database":"local_pg","user":"local_pg","password":"local_pg"} |
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
import sys | |
import os | |
from PySide6.QtWidgets import QApplication, QMessageBox | |
from PySide6.QtUiTools import loadUiType | |
from PySide6.QtGui import QCloseEvent | |
CWD = os.path.dirname(__file__) |
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
services: | |
postgres: | |
image: postgres:13.2 | |
container_name: postgres | |
restart: unless-stopped | |
environment: | |
- POSTGRES_USER=local_pg | |
- POSTGRES_PASSWORD=local_pg | |
- POSTGRES_DB=local_pg | |
ports: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.