Posts

Showing posts with the label debian

Checkout a specific revision of a folder in Subversion using the command line

  mkdir my_project cd my_project svn checkout -r1 file://$HOME/.svnrepos/myproject/trunk ./ This will checkout to revision 1. Omit the -r1 flag to checkout the latest revision.

Setting up a local SVN repository

 You can create a Subversion repository on your computer and use file:// scheme to interact with it locally. This approach can help you use Subversion locally to track personal files and single-person projects. The following procedure creates a minimal environment for an existing project. It converts a directory with a project into a working copy of a newly-created local Subversion repository. As result you can modify the files in the working copy and track the changes in your local repository. On Unix: Create a parent directory .svnrepos where you will place your SVN repositories: $ mkdir -p $HOME/.svnrepos/ Create a new repository MyRepo under .svnrepos: $ svnadmin create ~/.svnrepos/MyRepo Create a recommended project layout in the new repository: $ svn mkdir -m "Create directory structure." \  file://$HOME/.svnrepos/MyRepo/trunk \  file://$HOME/.svnrepos/MyRepo/branches \  file://$HOME/.svnrepos/MyRepo/tags Change directory to ./MyProject where your un...

Docker LAMP

Mar, 2023 Install Docker apt install docker docker-compose apt-utils docker --version docker run hello-world Create a folder on desktop cd ~/Desktop mkdir docker-app cd docker-app Manage Docker as a non-root user otherwise you have to use sudo # 1. Create the docker group. $ sudo groupadd docker # 2. Add your user to the docker group. $ sudo usermod -aG docker $USER # 3. Log out and log back in so that your group membership is re-evaluated. # 4. Verify that you can run docker commands without sudo. $ docker run hello-world Now: git clone https://github.com/sprintcube/docker-compose-lamp.git cd docker-compose-lamp cp sample.env .env // modify sample.env as needed docker-compose up -d // visit localhost Now Wait! Restart apache service: sudo systemctl restart apache2.service Edit .env file and change ports (I set apache port to 8000. Goto: localhost:8000 You should be greeted with the LAMP STACK page. Create a test.php file inside the www folder within the docker-compose-lamp directory ...

VSCodium (Codium) - Change editor font size zoom

 May, 2023 In the Settings/Preferences dialog, search 'zoom'. Make sure that the setting Change font size (Zoom) with Ctrl+MouseWheel is enabled.