Advanced Search
Search Results
50 total results found
Linux
Linux content will go here
Coding
General coding information
General
General knowledge that may not fit into other categories
Linux general
Fedora
Git
Git versioning software
PHP
PHP programming language
Shell
Shell script
Tools
Must have tools
VMWare
VMWare related content with Linux
Java
Java programming language
Template
Test Template for BookStack
Docker
Docker knowledge goes here
AWS
Tmux
React-Native
Emulating Mac OSX
Visual Studio editor
Summary
Table of content
Installation
Useful links
Useful links
Useful Tools
Must have tools
CLI
Cheat sheet
Change branch to "develop": git checkout develop Add new file to branch: git add <file> git add <directory> Commit change locally: git add * git commit Commit removed files/folders: git add -u git commit Push commit to remote branch: ...
Fedora 30 to 31 upgrade
Update software and back up your system Before you do start the upgrade process, make sure you have the latest software for Fedora 30. This is particularly important if you have modular software installed; the latest versions of dnf and GNOME Software include...
Simple Guide
Create a new repository Create a new directory, open it and perform a git init to create a new git repository. Checkout a repository Create a working copy of a local repository by running the command git clone /path/to/repository When using a remote ser...
Download links
Tool Description URL Cmder Terminal emulator for Windows https://cmder.net/ Postman API test. Good for REST test. https://www.postman.com/
Mounting a shared folder
When the mount actions fail and you want to mount a shared host folder via command-line: sudo vmhgfs-fuse .host:/<host_folder> /mnt -o allow_other Note: VMWare tools must be installed anyway in the VM.
Content
Header Large Header Medium Header Small Header Tiny Paragraph Block Quote
Installing Docker on Fedora 31
Uninstall old versionsOlder versions of Docker were called docker or docker-engine. If these are installed, uninstall them, along with associated dependencies. $ sudo dnf remove docker docker-client docker-client-latest docker-common docker-latest docker-late...
Cheat sheet
URL Description https://devhints.io/ Several cheat sheets available
Must have tools
Tool Description Installation TMUX Multiple terminals in a single session dnf install tmux apt-get install tmux asdf Manages different compiler versions https://asdf-vm.com/#/core-manage-asdf-vm Terminator Multipe terminals in a single X window ...
Install Flat-Remix theme
Requires gnome-tweaks sudo dnf install gnome-tweaks git clone https://github.com/daniruiz/flat-remix git clone https://github.com/daniruiz/flat-remix-gtk mkdir -p ~/.icons && mkdir -p ~/.themes cp -r flat-remix/Flat-Remix* ~/.icons/ && cp ...
Enable RPM Fusion repos
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm Source: https://rpmfusion.org/Configuration
Connection setting
1 - Create Access Key at the IAM console 2 - Download key and use the content on credential file in <user_folder>\.aws\ [default] aws_access_key_id=xxxxx aws_secret_access_key=yyyyyyyy 3 - Update file <user_folder>\.aws\config [default] regi...
EC2 Snapshots
Find Snapshots older than an specific date. Won't work if AWS CLI is running on Windows: $ aws ec2 describe-snapshots --region us-west-2 --query 'Snapshots[?StartTime <= `2017-08-30`].{id:SnapshotId}' --owner-ids 721933253214 Find Snapshots older than an ...
Cheat sheet
tmux $ tmux new $ tmux new-session : new Start a new session $ tmux new -s mysession : new -s mysession Start a new session with the name mysession $ tmux kill-ses -t mysession $ tmux kill-session -t mysession kill/delete session mysession $ tmux ki...
Cheat Sheet
docker pull <image> -> Download image on its latest version from docker hubdocker images -> Lists imagesdocker run <image> -> Starts container attached. If local image not found, it downloads itdocker run -d <image> -> Starts container detacheddocker run <imag...
Force "git pull" and reset local branch from origin
First, run a fetch to update all origin/<branch> refs to latest: git fetch --all Backup your current branch: git checkout -b backup-master Then, you have two options: git reset --hard origin/master OR If you are on some other branch: git reset --hard...
Install extra Fedora Environment group
sudo dnf update dnf grouplist -v Output: Available Environment Groups: Fedora Custom Operating System (custom-environment) Minimal Install (minimal-environment) Fedora Server Edition (server-product-environment) Fedora Cloud Server (cloud...
Installation in a Mac
References: https://reactnative.dev/docs/environment-setup To emulate Mac OS in Linux, follow http://wiki.rribeiro.cloud/books/emulating-mac-osx 1 - Install Xcode 1.1 - At Xcode Preferences, go to Locations and pick latest Command Line Tools 2 - install No...
New project
From Terminal, run: npx react-native init <ProjectName>
Running Project in XCode emulator
Disabling Flipper in case of: event 2/event-config.h' file not found At <ProjectFolder>/ios/Podman comment Flipper blocks, like: #use_flipper! #post_install do |installer| # flipper_post_install(installer) #end Then, at <ProjectFolder>/ios/ run: po...