Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
#!/bin/bash | |
# Install Latest XRDP with XORGXRDP and GFX/Glamor server-side acceleration | |
# Tested on Ubuntu 22.04 LTS | |
BUILD_DIR=/tmp/xrdpbuild | |
echo "-> preparing $BUILD_DIR" | |
rm -f -r $BUILD_DIR | |
mkdir -p $BUILD_DIR | |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
# answer1.py | |
import re | |
def answer_1(dictionary: list): | |
max_words = 0 | |
longest_str = "" | |
pattern = r'[a-z][A-Z]' | |
for string in Dictionary: |
Learning Rust
The following is a list of resources for learning Rust as well as tips and tricks for learning the language faster.
Warning
Rust is not C or C++ so the way your accustomed to do things in those languages might not work in Rust. The best way to learn Rust is to embrace its best practices and see where that takes you.
The generally recommended path is to start by reading the books, and doing small coding exercises until the rules around borrow checking become intuitive. Once this happens, then you can expand to more real world projects. If you find yourself struggling hard with the borrow checker, seek help. It very well could be that you're trying to solve your problem in a way that goes against how Rust wants you to work.
{ | |
// miscellaneous | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"diffEditor.ignoreTrimWhitespace": false, | |
// window | |
"window.title": "🦙⚡🫡 – ${activeEditorShort}${separator}${rootName} – 🫡⚡🦙", | |
"window.clickThroughInactive": false, |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
function isEthiopianMobileNumber(telNumber){ | |
return /^(0|251|\+251)(9|7)[0-9]{8}$/.test(telNumber) | |
} |
Picking the right architecture = Picking the right battles + Managing trade-offs
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
cd /d %ProgramFiles%\Microsoft Office\Office16