![]() $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" VERSION_CODENAME=stretch ID=raspbian ID_LIKE=debian HOME_URL=" Read more → GitLab on Raspberry Pi not updating Verify, if this version is not already installed on the Raspberry using cat /etc/os-release command. The main actions to perform to install latest version of Raspbian are: I just want to add few comments, that affected my installation. Howto, raspberry, linux, shellThe process of system upgrade is very easy and was already described here. Read more → HowTo: OS upgrade on Raspberry Pi 4 Although there is an easy way to revert it back to bash (as its package is still part of the OS distribution) by invoking following command in terminal:Ĭhsh -s /bin/bash My hope was, maybe this small update will inevitably influence my usage comfort, performance and maybe, maybe improve my daily routines (as I spend most of the day working in command-line mode). Macbook, zsh, shellProbably first thing you noticed after installing macOS Catalina is that the default shell changed from bash to zsh. Read more → Customized ZSH prompt with Git info To :phofman/xyz_project.git - What is even more beautiful in this syntax is that it also works for remote tags! Git push origin -delete Response will look like following: Now, it’s as easy as passing -delete parameter along with pushing changes to the server. At least in the context of removing remote branches. Howto, git, shellThings has been simplified over time and my old guide about Git Commands has been improved a bit. Read more → HowTo: Remove GiT remote branch Test_results_path - describes the path, where to store test outcomes (.xcresult bundle). $ xcodebuild -resultBundlePath "$test_results_path" -workspace "$workspace_path" -scheme "$scheme_name" -sdk "$sdk_version" -destination '$destination' -testPlan "$plan_name" -only-testing:'$single_test_path' test Where: On the first look the command looks simple, it’s just a call to xcodebuild with a bunch of parameters. Howto, ios, simulator, jq, shellOne thing was always a dilemma for me - running iOS automated unit-test from a command line. Read more → HowTo: Select running iOS simulator while automating testing Xcode 12.5 Build version 12E262 As an improvement I could use sed to simply extract the number from a line with the Xcode prefix: $ xcodebuild -version That produces output like: Here is the recipe on how to obtain this information in a clean manner. Howto, ios, xcode, shellSometimes knowing the current version of Xcode used to build the stuff from command line becomes a useful intel. Read more → HowTo: Get currently active version of Xcode ![]() #!/bin/bash cpu=$( $((cpu / 1000))'C" echo "GPU => $(vcgencmd measure_temp | cut -d'=' -f 2)" It will print the current temperature values of the CPU and GPU separately. Howto, raspberry, temperature, shellOne of the useful scripts I use to regularly check the temperature on my Raspberry Pi farm is following:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |