Programming Leftovers
-
Proposing internship project ideas - Felipe Borges
GNOME yearly participates in both Outreachy and Google Summer of Code. These internship programs basically consist on having new contributors working on a well-scoped project alongside an experienced mentor.
Defining project ideas is not as easy as it might sound. One needs to consider the perspective of a newcomer approaching the project for the first time, having a schedule where they are expected to onboard, work, and produce contributions that benefit the project.
-
Announcement: Project Hub is evolving | Arduino Blog
Encouraging people to share projects and tutorials has always been central to Arduino’s mission of democratizing technology. Learning from the work of others is very important as we always felt that most makers like to start from an existing project and evolve from their own creation. If you’ve been following Arduino for a while you know we went through a few tools in our history, from “Playground” to “Scuola” arriving at our current “Project Hub” in search of always simpler and better ways to share.
In 2014, we collaborated with Hackster.io to establish “Project Hub”, based on the Hackster platform. Together we grew a space that hosts thousands of well-documented projects submitted by all of you. Although this partnership is very important to us, Arduino will move Project Hub in-house. Building our own project sharing platform allows us to further integrate with Arduino Cloud and better align with our new features.
-
How to migrate your code from PHP 7.4 to 8.1
The end-of-life (EOL) for PHP 7.4 was Monday, November 28, 2022. If you’re like me, that date snuck up much faster than anticipated. While your PHP 7.4 code isn’t going to immediately stop working, you do need to begin making plans for the future of this codebase.
-
Bash Error Detection and Handling: Tips and Tricks - TecAdmin
To detect and handle errors in a bash script, you can use the `set -e` and `trap` commands, as well as the `if` and `case` statements and the `||` and `&&` operators.
You can use the set -e command at the beginning of your script to enable this behavior, or you can use it before individual commands to enable it only for those commands.
It’s important to note that the `set -e` command only affects the exit status of individual commands. It does not catch errors caused by syntax errors or other issues in the script itself. To catch these types of errors, you can use the `set -o` errexit option instead.
-
rsync command examples - buildVirtual
The rsync command is a utility that is used to synchronize files and directories between two locations. It is a powerful tool that is commonly used for backups, data synchronization, and transferring files between servers. rsync is particularly useful because it only transfers the differences between files, rather than transferring the entire file. This makes it much faster than other file transfer utilities such as cp or scp.
-
SCP Command Examples - buildVirtual
The SCP (Secure Copy) command is a powerful tool that allows you to securely copy files between servers or between a local machine and a server. It is similar to the cp command, but it uses Secure Shell (SSH) to transfer the files, which means that the data is encrypted and secure during the transfer.
In this blog post, we’ll take a look at the basic syntax of the SCP command and some examples of how to use it.