Advanced Search
Search Results
22 total results found
RPA
Windows
One's bag
Electronics, outdoors, hobbies
Python
notes only, nothing you can't google better version of.
Podcasts
Mostly audio dramas and D&D to be fair.
Blue Prism
Outdoors
Files
Interact backup
Every component of BP interact has its own, local, config file. E.g.: Interact has: "..\Blue Prism\Interact\web.config" "..\Blue Prism\Interact\appsettings.json" Authentication Server has: "..\Blue Prism\Authentication Server\web.config" "..\Bl...
Telia televizija, bet nuosavas maršrutizatorius
Kodėl? Telia priedėlis, tiesiog prijungtas prie tinklo, neveiks. Tikėtina, kad Telia supportas negalės to sutvarkyti - visgi įranga ne jų, negali žinoti kiekvieno maršrutizatoriaus konfigūracijos, ypač neturint nuotolinės prieigos. Kaip? Vienam iš LAN por...
Is this batch script running with admin privileges?
Why? Obvious - how to know if .bat script was executed with administrative permissions? Does your colleague swear script doesn't work, but "sure I ran it as admin"? ;) Batch does not have native way to check it, but simple workaround is to execute command wh...
Notepad++
What I use daily. Add character in the beginning or end Open Find->Replace (CTRL+H) and set Search Mode to Regular expression. To add character at the beginning: search for ^: To add character at the end: search for $: Replace new line with chara...
7/10 Write or Create file
<..> Both write and create uses same open() with 3 main flags: a - append to existing file (or create if doesn't exist) w - write to file (or overwrite if it exists) x - create only (error if file exists) If encoding is not defined it would change dep...
5/10 Filesystem
<..> Search for files in particular directory Glob Let's say I want to find path to all .csv files in specific directory: import glob #glob is included in standard Python # Determine path to search directory. This case it's same directory as script cs...
3/10 Read file
<..> Reading is mostly straightforward with r flag. You may need to define encoding, e.g. for utf-8 encoding="utf-8" Read Ideally it's something like this: with open('filename.txt', 'r', encoding="utf-8") as f: for line in f: print(line) or ...
Files: read/write/create
Read Reading is mostly straightforward with r flag. You may need to define encoding, e.g. for utf-8 encoding="utf-8" Code Ideally it's something like this: with open('filename.txt', 'r', encoding="utf-8") as f: for line in f: print(line) or ...
Podcast name
<description> What I liked Other Links
New Page
<description> What I liked Other {{tags}} Links
Install packages offline
<..> any reason you could think of - server with restricted internet access, strict firewalls, something literally offline? How Ideally - take requirements file (pip freeze > requirements.txt) and copy it to separate folder. Then (on internet connected m...
Install packages offline
How to install python (pip) packages offline or with limited connectivity to internet: Create requirements.txt it should contain all packages you wish to download. Either create it manually: charset-normalizer==2.1.1 click==8.1.3 colorama==0.4.6 fastapi=...
Kill unstoppable service
Basic problem - windows server is "Stopping" or "Starting", but actually crashed. To kill it: Find service PID:sc queryex service_name Run CMD as administrator and kill service:taskkill /f /pid [PID]
Wrong time in windows after dual-booting linux?
The problem - you have dual boot setup. All is good, but after booting up windows you always have UTC time, instead of your local time. I thought about complicated workarounds (e.g. force time check on startup), until stumbled upon article, explaining that by...