Skip to content

Instantly share code, notes, and snippets.

View nikolaDrljaca's full-sized avatar

Nikola Drljaca nikolaDrljaca

  • Datasys GmbH.
  • Vienna, Austria
  • 10:58 (UTC +02:00)
View GitHub Profile
@nikolaDrljaca
nikolaDrljaca / gadd
Last active September 13, 2023 20:14
Shell script to ignore yaml files in resources folder for Spring(Boot) projects
#!/bin/bash
# Add all changes to a commit EXCEPT the changes in application.yaml files inside resources directory
# Can also be used as an alias, in which case a separator command would be used
# alias gadd="git add . :^src/**/resources/**.yml :^src/**/resources/**.yaml; git status"
# The alias should reside in the .bashrc file.
git add . :^src/**/resources/**.yml :^src/**/resources/**.yaml
git status
@nikolaDrljaca
nikolaDrljaca / commands.md
Created February 17, 2023 09:40 — forked from codinginflow/commands.md
Deploy & Secure Your MERN App
class ListFragment : Fragment() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
exitTransition = Slide()
reenterTransition = Slide()
}
override fun onCreateView(
inflater: LayoutInflater,