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".
  • Operating Systems | Technical stuff
    finally and a lot of feature enhancements to improve the user experience The release nots are here in News Operating Systems Quick and dirty 44 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

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


  • Software | Technical stuff
    On OSX the solution of choice is usually MacTeX Setup Pandoc for document conversion Choose the easy brew way brew update brew install pandoc If the above solution is not working the alternative is to take the cabal route brew install ghc cabal install cabal update cabal install pandoc For those interested the install page covers each aspect in more depth Setup Mactex for PDF generation brew tap phinze cask brew install brew cask brew cask install mactex Generating PDF files We will use the current article as the example we want to export as PDF The markdown source is available as a gist When trying the output command from the pandoc documentation we notice there is a problem as it can t find pdflatex pandoc o out pdf osx pdf from markdown markdown pandoc pdflatex not found pdflatex is needed for pdf output Let s check it s been properly installed and symlink it correctly ls lsa usr texbin pdflatex sudo ln s usr texbin pdflatex usr local bin Re running the output command works correctly and gives us a shiny new PDF file pandoc o out pdf osx pdf from markdown markdown in Blogging Mac OSX Software 356 Words Download Curl library for CodeIgniter ported to Kohana I ve ported the Curl library to Kohana with kind permission of Alex Polski You can download it here ported to Kohana in Software 21 Words Comment Forced to develop on Windows Need a better Putty I first used Putty Tray But today I found a tabbed version the Putty Connection Manager Both do get minimized in the taskbar isn t this cool in Quick and dirty Software 26 Words Comment mySQL find out distinct values of a column and the number of their occurrences So we need to find out different values of a column and the number of their occurrences Let s set up a small test first sourcecode lang sql Step 1 prepare the ground CREATE DATABASE IF NOT EXISTS test DROP TABLE IF EXISTS test test count distinct CREATE TABLE test test count distinct id INT 11 NOT NULL auto increment PRIMARY KEY title VARCHAR 50 NOT NULL DEFAULT date created TIMESTAMP NOT NULL DEFAULT 0 date updated TIMESTAMP NOT NULL DEFAULT CURRENT TIMESTAMP ON UPDATE CURRENT TIMESTAMP using NULL insert for a timestamp column is just like using NOW link http dev mysql com doc refman 4 1 en timestamp html INSERT INTO test test count distinct title date created VALUES value NULL value 1 NULL value 2 NULL value NULL value 1 NULL value 2 NULL value NULL value 3 NULL sourcecode Now let s find out how many different values are there in the title column and how many times each value occurs sourcecode lang sql Step 2 do work here is where we find out different values of title and the number of their occurrences SELECT DISTINCT t title AS title COUNT t title AS cnt FROM test test count distinct t GROUP

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

  • testing | Technical stuff
    tests this is not the functional testing w Selenium it s testing blocks of functionality instead units do the interfaces between classes abide their contracts top level End to End Test these are the expensive ones running a full Selenium arrangement across all browsers took more than 24h minimalistic MVC implementation used to demo unit testing for more than just the Model assertAttributeEmpty and assertAttributeContains work with public private private class members depends is a simple way of declaring dependencies between tests sample of refactoring so that there s no need to assertAttribute for protected private members PHPUnit Best Practices use an XML configuration file look inside the cwd for a phpunit xml fallback to phpunit xml dist generate code coverage report showing also dead code new beta thingy code coverage distribution report class complexity in testing 334 Words Comment mySQL find out distinct values of a column and the number of their occurrences So we need to find out different values of a column and the number of their occurrences Let s set up a small test first sourcecode lang sql Step 1 prepare the ground CREATE DATABASE IF NOT EXISTS test DROP TABLE IF EXISTS test test count distinct CREATE TABLE test test count distinct id INT 11 NOT NULL auto increment PRIMARY KEY title VARCHAR 50 NOT NULL DEFAULT date created TIMESTAMP NOT NULL DEFAULT 0 date updated TIMESTAMP NOT NULL DEFAULT CURRENT TIMESTAMP ON UPDATE CURRENT TIMESTAMP using NULL insert for a timestamp column is just like using NOW link http dev mysql com doc refman 4 1 en timestamp html INSERT INTO test test count distinct title date created VALUES value NULL value 1 NULL value 2 NULL value NULL value 1 NULL value 2 NULL value NULL value 3 NULL sourcecode Now let s find out how many different values are there in the title column and how many times each value occurs sourcecode lang sql Step 2 do work here is where we find out different values of title and the number of their occurrences SELECT DISTINCT t title AS title COUNT t title AS cnt FROM test test count distinct t GROUP BY title ORDER BY cnt DESC sourcecode And the result will look like sourcecode lang sql title cnt value 3 value 2 2 value 1 2 value 3 1 4 rows in set 0 00 sec sourcecode You can get the code here in Quick and dirty Software testing 245 Words Comment Screw professional designers just make your logo bigger Customer Web professionals are no good when they come up with a nice clean web 2 0 interface for my site if what I have in mind is a big logo many different fonts no whitespace and a rainbow of colors Just make my logo bigger since I m paying for this right Well I had a lot of laughs watching the video on their page Thanks Alina in Funny testing 65 Words Comment Frank Cohen Open Source Build and

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

  • Web specifics | Technical stuff
    introduction to cloud computing in Web specifics 0 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 Bergmann Skype Software development processes symfony2 tekkies testing Ubuntu Web development Wordpress

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

  • Software branching strategies: A git overview | Part 1: gitworkflows | Technical stuff
    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 it happen our colleagues were really busy carving out the use cases and

    Original URL path: http://www.tekkie.ro/revision-control/software-branching-strategies-a-git-overview-part-1-gitworkflows/ (2016-05-01)
    Open archived version from archive

  • Howto deal with the GitHub SSH key vulnerability | Technical stuff
    h audit and approve each key individually 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

    Original URL path: http://www.tekkie.ro/revision-control/howto-deal-with-the-github-ssh-key-vulnerability/ (2016-05-01)
    Open archived version from archive

  • Elastic | Technical stuff
    with various traffic values and accomplish their goal Be responsive Be resilient Show elasticity Embrace message based communication in Processes 44 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

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

  • Message-driven | Technical stuff
    cope with various traffic values and accomplish their goal Be responsive Be resilient Show elasticity Embrace message based communication in Processes 44 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

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



  •