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".
  • List all globally installed npm modules | Technical stuff
    2 npm 2 11 3 phantomas 1 11 0 react native cli 0 1 4 react tools 0 13 3 supervisor 0 7 1 The g switch is the same one that I used when globally installing each module If the name of some package doesn t immediately ring a bell replacing list with ll can help npm ll g depth 0 usr local lib ampersand 3 0 5 CLI tool for generating single page apps a la http humanjavascript com git https github com ampersandjs ampersand git https github com ampersandjs ampersand bower 1 4 1 The browser package manager git https github com bower bower git http bower io brunch 1 8 3 A lightweight approach to building HTML5 applications with emphasis on elegance and simplicity git https github com brunch brunch git http brunch io grunt cli 0 1 13 The grunt command line interface git github com gruntjs grunt cli git http gruntjs com gulp 3 9 0 The streaming build system git https github com gulpjs gulp git http gulpjs com http server 0 8 0 A simple zero configuration command line http server git github com indexzero http server git https github com indexzero http server javascripting 2 0 3 https docs npmjs com phantomas 1 11 0 PhantomJS based web performance metrics collector git github com macbre phantomas git https github com macbre phantomas react native cli 0 1 4 The ReactNative cli tools react tools 0 13 3 A set of complementary tools to React including the JSX transformer git https github com facebook react git https facebook github io react supervisor 0 7 1 A supervisor program for running nodejs programs git github com petruisfan node supervisor git https github com petruisfan node supervisor Share this Click to share on Twitter

    Original URL path: http://www.tekkie.ro/computer-setup/list-all-globally-installed-npm-modules/ (2016-05-01)
    Open archived version from archive


  • Computer setup | Technical stuff
    installed v0 12 7 This also made the switch to the installed version Verification Checking the currently running version shows I m running the latest one indeed node v v0 12 7 Other usage scenarios n can also be used to switch to a specific node version Let s say I wanted 0 12 5 all I would need to do would be to specify that as an input parameter sudo n 0 12 5 in Computer setup 286 Words Comment Fix Vagrant problems after Mavericks update Updated the OSX to 10 9 over the weekend While most of the troubles I encountered were caused by PHP 5 3 being completely wiped out and the system getting a stock install of 5 4 there were other minor things which didn t go quite smoothly I use a VirtualBox Vagrant puppet combination to work on some side projects and this was affected in a pretty mysterious way as can be seen below centos64 master vagrant up Bringing machine default up with virtualbox provider default Importing base box theCentos64 default Matching MAC address for NAT networking default Setting the name of the VM default Clearing any previously set forwarded ports default Creating shared folders metadata default Clearing any previously set network interfaces There was an error while executing VBoxManage a CLI used by Vagrant for controlling VirtualBox The command and stderr is shown below Command hostonlyif create Stderr 0 Progress state NS ERROR FAILURE VBoxManage error Failed to create the host only adapter VBoxManage error VBoxNetAdpCtl Error while adding new interface failed to open dev vboxnetctl No such file or directory VBoxManage error Details code NS ERROR FAILURE 0x80004005 component HostNetworkInterface interface IHostNetworkInterface VBoxManage error Context int handleCreate HandlerArg int int at line 68 of file VBoxManageHostonly cpp This was not an easy task to fix as Mavericks is pretty new and Google doesn t help very much with finding the solution In my case I discovered that if I restarted VirtualBox things will be working again sudo Library StartupItems VirtualBox VirtualBox restart So this is not strictly related to Vagrant itself rather to the VirtualBox provider I was using in Computer setup Mac OSX 261 Words HowTo Easily Upgrade Ruby on Mountain Lion The default Ruby version coming with Mountain Lion is a bit old ruby v ruby 1 8 7 2012 02 08 patchlevel 358 universal darwin12 0 If only for staying up to date with the latest Ruby version you will want at least 1 9 on your local machine There are multiple ways to achieve this but I found it easiest to use the Ruby Version Manager This clever command line tool gives you the freedom you want at a minimal cost Let s start by installing it curl L https get rvm io bash s stable ruby At the time of this writing the latest Ruby version was 1 9 3 and RVM already installed it on your machine All you need to do now is to

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

  • Reattach to a screen session | Technical stuff
    internet connection dropped for a few minutes When I got back online I was unable to reattach and continue my work screen r There is a screen on 28033 pts 0 konf api 08 07 15 06 58 36 Attached There is no screen to be resumed Somewhere in the man screen instructions I found the magical D option d D pid tty host does not start screen but detaches the elsewhere running screen session It has the same effect as typing C a d from screen s control ling terminal D is the equivalent to the power detach key If no session can be detached this option is ignored In combination with the r R option more powerful effects can be achieved Basically it detaches everything else and allows me to reattach right away Lovely So I went on to execute with that option enabled and of course magic happened screen D r 28033 pts 0 konf api detached from 28033 pts 0 konf api 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

    Original URL path: http://www.tekkie.ro/quick-n-dirty/reattach-to-a-screen-session/ (2016-05-01)
    Open archived version from archive

  • Install node.js on Ubuntu servers | Technical stuff
    good I wanted to get node js not some creepy ax25 So I started digging around and found out that readme debian does provide the proper information if one has time to look around Also DigitalOcean has a great writeup for getting node js properly installed in an Ubuntu environment One quick way to do it would be to simply symlink current nodejs into usr bin like this sudo ln s usr bin nodejs usr bin node I wanted to not take this route and rather go back to square one and start over clean Ubuntu names the package nodejs instead of node apt get install nodejs verify version nodejs v v0 10 25 install the legacy bridge apt get install nodejs legacy verify node version node v v0 10 25 Now that everything is properly linked I was able to use the pm2 process manager in the way DigitalOcean guide was suggesting 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

    Original URL path: http://www.tekkie.ro/computer-setup/install-node-js-on-ubuntu-servers/ (2016-05-01)
    Open archived version from archive

  • Serve static files locally with the http-server nodejs module | Technical stuff
    server and found a nodejs module that fits the bill perfectly I liked http server and it took me literally 5 minutes to start using it First I performed a global install so I can use it in multiple projects npm install http server g Then I navigated to the folder that I wanted to play with and started it on a non standard port http server cors p 9879 Loading up http localhost 9879 in a browser proved it was working perfectly The other available options can be seen when executing http server help and they are very handy For example one can enable https if needed or can use a certain certificate file 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 Georgiana Published August 4 2015 Join the discussion Cancel Reply Join the discussion Comment Name Email

    Original URL path: http://www.tekkie.ro/quick-n-dirty/serve-static-files-locally-with-the-http-server-nodejs-module/ (2016-05-01)
    Open archived version from archive

  • Resources | Technical stuff
    o open file in other window and go there C o open file in other window but don t change there P print file q quit dired Q do query replace in marked files R rename file u remove mark v view file content x delete files marked with D z compress file M Del remove all marks whatever kind mark backup files name files for deletion mark auto save files name for deletion mark directory with C u removes that mark again compare this file with marked file M compare this file with it s backup file apply shell command to this file M change to the next file marked with od D M previous d mark files described through regular expression for deletion m with create directory changed to next dir change to previous dir s toggle between sorting by name or date Maybe into this category also fits this command M x speedbar starts up a separate window with a directory view Telnet M x telnet starts up telnet modus C d either delete char or send EOF C c C c stop running job similar to C c under unix C c C d send EOF C c C o clear output of last command C c C z suspend execution of command C c C u kill line backwards M p recall previous command Text Works only in text mode M s center line M S center paragraph M x center region name says Macro commands C x start macro definition C x end of macro definition C x e execute last defined macro M n C x e execute last defined macro n times M x name last kbd macro give name to macro for saving M x insert keyboard macro save named macro into file M x load file load macro M x macroname execute macroname Programming M C indent region between cursor and mark M m move to first non space char in this line M attach this line to previous M formatize and indent comment C C and Java Modes M a beginning of statement M e end of statement M C a beginning of function M C e end of function C c RETURN Set cursor to beginning of function and mark at the end C c C q indent the whole function according to indention style C c C a toggle modus in which after electric signs like emacs does the indention C c C d toggle auto hungry mode in which emacs deletes groups of spaces with one del press C c C u go to beginning of this preprocessor statement C c C c comment out marked area More general M x outline minor mode collapses function definitions in a file to a mere M x show subtree If you are in one of the collapsed functions this un collapses it In order to achive some of the feats coming up now you have to run etags

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

  • Agile | Technical stuff
    for the Agile Manager To be a leader is not the next step for managers It is the manager s job to leave room to leaders Checklist for the Agile Manager View more OpenOffice presentations from Jurgen Appelo in Methodology Resources 33 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

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

  • Android | Technical stuff
    in a moment Now to get this info in the Android is really a piece of cake Go to the Contacts settings in Gmail and import the vcf file you generated with PhoneDirector Then go to your Android phone and sync your contacts Ta da Welcome to the Google world NB if you re having a hard time finding the Contacts in the Gmail app like I did look immediately under your labels list The above steps weren t good for you Then you might need to take a look at this in Quick and dirty 164 Words 3 Comments How to change your layout in Android landscape portrait mode In the res folder we are used to having a layout folder in which we keep the XML files which describe our application s layouts This trick will show you how to improve the view in landscape or portrait mode whichever you might need How do I quickly change my emulator from portrait to landscape and viceversa Use Ctrl F11 to test around Can I only improve the layout and use no extra code The short answer is yes definitely The layouts in res layout are applied to both portrait and landscape unless you specify otherwise Let s assume we have res layout home xml for our homepage and we want it to look differently in the 2 layout types create folder res layout land here you will keep your landscape adjusted layouts copy home xml there make necessary changes to it run the application in the emulator and test it using the Ctrl F11 combination in Quick and dirty 152 Words 4 Comments How to use Android emulator debugging log Launch the emulator wait until it finished loading open up a terminal use the following command adb logcat Don

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



  •