archive-ro.com » RO » T » TEKKIE.RO

Total: 200

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Branching Model | Technical stuff
    the master branch git checkout b origin AG 0001 initial setup relevant commits in between git push origin AG 0001 initial setup publish our work for the teammates benefit Rule Merge Upwards Always commit your fixes to the oldest supported branch that require them Then periodically merge the integration branches upwards into each other The AG 0001 initial setup is a few commits ahead You can have a quicklook at them by executing git log pretty oneline 9cf571c1c1225a5fecf61c43981048fb16193860 setup gitignore rules 3c1fef41a9ca5d1b24f767404f9bfd52affab90c naming convention for short lived branches 0c1fe345edbebde03f217e7c67d5f67626f2ca7b explain long term branches Assuming this would be all we want to do on the initial setup branch we want to merge our branch upwards What is our destination branch in this case Since there is no release yet we are targetting the next release so the master branch Let s put on our packagist hat for a second How will we know what went into a release and what didn t if we grab all those 3 commits above individually Fortunately there s an easy way of assembling them together as one single entity in the integration branch known as squashing 2 it is an extremely useful method to maintain a clean commit history git merge squash AG 0001 initial setup git commit v git push origin master The result can be viewed online with the mention that I have left the squash message untouched specifically for the reader to get a feel of the defaults At this point let s remove the feature branch as we are done with it git push origin delete AG 0001 initial setup The maintainers of other topic branches are now able and should grab all changes in the integration branches early and often in order to avoid solving complex conflicts later Prepare our first release We have reached an important milestone our initial setup is in fact valid so as a team we decide that our work so far should be refered to as release 0 0 1 Check that master is a superset of maint by executing git log master maint and validating there are no commits found We can now tag the release git tag m initial setup 0 0 1 0 0 1 master git push tags Once the release is done from a coding perspective we can now hand it over to the packagist The next step is to tidy up the maintenance branches to reflect the new state of facts Since maint reflects the previous release it would be a good time to spin off a new maint FORMER RELEASE to be able to supply quick fixes there In our case this is not needed as we don t have a previous release to refer to What is needed though is to grab all the new code from master to maint and we do that by git checkout maint git merge ff only master Pull requests While we were busy setting the 0 0 1 ground and making

    Original URL path: http://www.tekkie.ro/tag/branching-model/ (2016-05-01)
    Open archived version from archive


  • Vulnerability | Technical stuff
    key please login on GitHub com and then navigate to https gi thub com s ettings ss h audit and approve each key individually in Revision control 53 Words Comment Tags Agile Android Apache books browser cloud computing code conventions Computer setup development environment Drupal 7 Facebook Firefox fun time git GitHub Google IDE install JavaScript Linux Mac Methodology mobile News node js online application online tools OSX OS X

    Original URL path: http://www.tekkie.ro/tag/vulnerability/ (2016-05-01)
    Open archived version from archive

  • Reactive manifesto | Technical stuff
    communication Share this Click to share on Twitter Opens in new window Click to share on Facebook Opens in new window Click to share on LinkedIn Opens in new window Click to share on Reddit Opens in new window More Click to email this to a friend Opens in new window Click to share on Google Opens in new window Click to share on Pocket Opens in new window Related

    Original URL path: http://www.tekkie.ro/processes/the-reactive-manifesto/?shared=email&msg=fail (2016-05-01)
    Open archived version from archive

  • Graphviz | Technical stuff
    for all it diagrams but sequence ones I was impressed by the amount of integrations it offers so I decided to give it a try and was amazed with the speed of which I produced the end result In the next sections we ll learn how to get our environment up and running and then draw a quick example sequence diagram Setup Prerequisite Installing Graphviz using brew worked perfectly for me brew install graphviz If you prefer an alternate method you can download the package instead PlantUML Internally our company uses PHPStorm as an IDE for developing PHP code and IntelliJ idea for the Java bits I will present details for the PHPStorm users but the steps should be easy to replicate in other IDEs of the same vendor Let s open the preferences and start looking for new plugins We need to search for PlantUML and install it After restarting the IDE we notice there are new filetypes available for us to create Sequence Diagram example Let s create a new UML Sequence diagram named demo Notice how the puml extension was automatically added The diagram I actually needed to produce is very heavy and not fit for the purpose of this quick introduction Then I remembered checking the Clean Coders Yahoo group the other day and found some Ruby sourcecode they were talking about I thought it would be a good example to try our new diagram superpowers on as it s short The first step is to define the participants in our diagram It s easier to list them all in the beginning because this way we can choose the order in which they appear We will now add the sequence of events The PlantUML website has a great page on the various options available so make

    Original URL path: http://www.tekkie.ro/tag/graphviz/ (2016-05-01)
    Open archived version from archive

  • Using git checkout-index to init project from boilerplate repo | Technical stuff
    projects So how do we use them as efficiently as possible Find your favorite boilerplate repository on github For this example I am picking the ultimate boilerplate repo only because it has ultimate in its name So the first step would be to clone it Business as usual git clone git github com numerogeek ultimate symfony2 boilerplate git Old school folks would recursively remove git folders at this point But not us Let s see what git awesomeness there is in our sleeve git checkout index f a prefix work webdev kickstart This will create the work webdev kickstart folder and copy all the files there without the git items Now we can safely navigate to our destination folder cd work webdev kickstart and continue with git init and then add everything to the repo git add then just git commit m initial setup We re ready to go and not starting from scratch Share this Click to share on Twitter Opens in new window Click to share on Facebook Opens in new window Click to share on LinkedIn Opens in new window Click to share on Reddit Opens in new window More Click to email this to a friend

    Original URL path: http://www.tekkie.ro/methodology/use-git-checkout-index-initialise-project-from-boilerplate-repository/?shared=email&msg=fail (2016-05-01)
    Open archived version from archive

  • Use Google Sheet as a free online database for prototyping | Technical stuff
    quite a reliable solution for most needs Another less popular use of Google documents is that of an online database to feed data to other applications I was very happy to discover it has quite a bit of support for the Sheets by having an API exposed An added cool factor is the fact that we can access data as json to adding alt json in the URL query params And it gets even better we can also pass a callback by adding alt json in script callback handcraftedCallback to have data wrapped to handcraftedCallback Some basic things we should note in the setup are the permissions For this example I ve set up a harmless spreadsheet to toy around with On the first attempt to access it via this URL https spreadsheets google com feeds list 1YNiISzk3b1emyeNI4TRt58Q0Ni1Librq087anSy64Pk 1 public values alt json in script callback handcraftedCallback the response will be an error saying We re sorry This document is not published This needs us to publish the document to web After we access the dialog screen then we click Start publishing then we confirm our choice in the dialog Share this Click to share on Twitter Opens in new

    Original URL path: http://www.tekkie.ro/quick-n-dirty/use-google-sheet-as-a-free-online-database-for-prototyping/?shared=email&msg=fail (2016-05-01)
    Open archived version from archive

  • Elasticsearch | Technical stuff
    the index name is playground here s how you would do it curl XDELETE http localhost 9200 playground pretty true And the index is now empty waiting for test data in Quick and dirty 61 Words Tags Agile Android Apache books browser cloud computing code conventions Computer setup development environment Drupal 7 Facebook Firefox fun time git GitHub Google IDE install JavaScript Linux Mac Methodology mobile News node js online

    Original URL path: http://www.tekkie.ro/tag/elasticsearch/ (2016-05-01)
    Open archived version from archive

  • PHPStorm | Technical stuff
    Show line numbers make sure to click Apply and the OK to save your settings in Quick and dirty 36 Words Comment Tags Agile Android Apache books browser cloud computing code conventions Computer setup development environment Drupal 7 Facebook Firefox fun time git GitHub Google IDE install JavaScript Linux Mac Methodology mobile News node js online application online tools OSX OS X personal skills PHP PHPUnit presentation quickies Scrum Sebastian

    Original URL path: http://www.tekkie.ro/tag/phpstorm/ (2016-05-01)
    Open archived version from archive