
GitHub Pages | Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are live. React js en español - tutorial básico, primeros pasos y ejemplos En este post se le hablará acerca de los primeros pasos en React js, los puntos a exponer son los siguientes. ¿Que es React js?Componentes en React jsSintaxis JSXVirtual DomProps y StateCiclo de vida de los componentes ¿Que es React js? React js es una librería Javascript creada ya hace un tiempo por Facebook, para construir interfaces de usuario, que te permitan crear aplicaciones SPA(single page application) más eficientes y funciona tanto en el lado cliente como en el servidor, haciendo posible la creación de aplicaciones isomórficas. Al momento de empezar un nuevo proyecto en javascript, siempre tratamos de buscar las mejores herramientas, patrones de diseño, frameworks o librerías para desarrollarlo, entre los más populares patrones de diseño para crear aplicaciones web podemos ver que se encuentra el MVC(Model-View-Controller), menciono el patrón MVC porque React js es muy usado para hacer la V(View) en MVC. Para este ejemplo se usarán los siguientes paquetes npm. React js react-dom
GitHub Workflow (used by Frameworks team at BBC News) Introduction This is a quick post to cover a GitHub workflow that is utilised by our specific team (Frameworks) here at BBC News. The basis of our workflow is this: Open a GitHub PR (Pull Request) by creating a new feature branch from masterMake feature specific changes and request a code reviewIf given a "thumbs up", this means the PR author is allowed to handle merging the PRThe merge process requires a set of sub steps (see below) Rebase before merge At this point the PR author has been given a "thumbs up" and is preparing their PR to be merged back into the master branch. Example Below is an example set of commits we'll be working from. At this point, let's imagine our feature PR has been approved to be merged: git checkout master git pull --rebase origin master git checkout feature git rebase -i master Now at this point you should see something like the following in your terminal: pick ae1a4a5 Foo pick a5827db Bar pick 62d4c80 Baz We're now ready to modify our git history. Links
GPU-accelerated Neural Networks in JavaScript According to the Octoverse 2017 report, JavaScript is the most popular language on Github. Measured by the number of pull requests, the level of JavaScript activity is comparable to that of Python, Java and Go combined. JavaScript has conquered the Web and made inroads on the server, mobile phones, the desktop and other platforms. Meanwhile, the use of GPU acceleration has expanded well beyond computer graphics and is now an integral part of machine learning. Training neural networks with deep architectures is a computationally intensive process that has led to state-of-the-art results across many important domains of machine intelligence. This article looks at the ongoing convergence of these trends and provides an overview of the projects that are bringing GPU-accelerated neural networks to the JavaScript world. An overview All projects listed below are actively maintained, have thousands of stars on Github and are distributed through NPM or CDNs. Deeplearn.js Propel gpu.js Brain.js
Google Code ferme ses portes ? Nous, on les ouvre. C’est officiel : Google Code, qui permettait aux développeurs de déposer, partager, et collaborer sur du code logiciel (libre ou pas), va bientôt fermer ses portes. Il va donc rejoindre le mémorial des projets sabordés par Google. La raison la plus probable, c’est que GitHub (une plateforme concurrente) attire bien plus de développeurs, et donc de code, que Google Code. Non seulement grâce à une interface plus intuitive, mais aussi par une facilité bien plus grande pour les développeurs à collaborer ensemble (plus on est de fous, plus il y a de code produit). D’ailleurs, Google ne s’en cache pas et propose, dans le courrier annonçant la clôture prochaine du service, un outil permettant de transférer votre projet logiciel de Google Code à GitHub. Quelles réflexions cela devrait-il nous inspirer ? D’abord, que malgré sa puissance financière massive, Google n’est pas systématiquement le meilleur dans son domaine. Ensuite, que Google continue à être une entreprise qui ne s’entête pas. 1. 2. pyg
Tutorial: Intro To React - React Before We Start What We’re Building Today, we’re going to build an interactive tic-tac-toe game. If you like, you can check out the final result here: Final Result. Don’t worry if the code doesn’t make sense to you yet, or if it uses an unfamiliar syntax. We will be learning how to build this game step by step throughout this tutorial. Try playing the game. Once you get a little familiar with the game, feel free to close that tab, as we’ll start from a simpler template in the next sections. Prerequisites We’ll assume some familiarity with HTML and JavaScript, but you should be able to follow along even if you haven’t used them before. If you need a refresher on JavaScript, we recommend reading this guide. How to Follow Along There are two ways to complete this tutorial: you could either write the code right in the browser, or you could set up a local development environment on your machine. If You Prefer to Write Code in the Browser This is the quickest way to get started! Help, I’m Stuck! Keys to
GitHub Alternative: Top 7 Best Source Code Hosting Sites As many of you may know, Gitorious – a website that let you host (open source) projects using Git version control – was recently purchased by GitLab, and it is to stop operations from May, 2015. In relation to this, we have a roundup of 7 GitHub alternatives for you to check out. GitHub GitHub is the world’s largest, and most popular code hosting site. GitHub users have a choice of using either Git or Subversion as their VCS (Version Control System), to manage, maintain and deploy software projects. All users and organizations get to host one free website on a GitHub pages subdomain username.github.io as well as unlimited project pages at username.github.io/project-page and you can switch to your own custom domain (if you have one) anytime for free. List of Best GitHub Alternatives 1. Bitbucket is second only to GitHub in terms of popularity and usage. Atlassian also has its own Git and Mercurial client Source Tree which is available for free on Windows and Mac. Developer: Atlassian Link
Angular 2 Tutorial: Create a CRUD App with Angular CLI This article on building a todo app with Angular CLI is the first in a four-part series on how to write a todo application in Angular 2: In each article, we’ll refine the underlying architecture of the application and we make sure we have a working version of the application that looks like this: By the end of this series, our application architecture will look like this: The items that are marked with a red border are discussed in this article, while items that are not marked with a red border will be discussed in follow-up articles within this series. In this first part, you’ll learn how to: initialize your Todo application using Angular CLIcreate a Todo class to represent individual todoscreate a TodoDataService service to create, update and remove todosuse the AppComponent component to display the user interfacedeploy your application to GitHub pages So let’s get started! As of February 9, 2017, the ng deploy command has been removed from the core of Angular CLI. $ ng version $ cd todo-app
Top 10 Free GitHub Alternatives for Private Repositories Github though is huge resource for most of the developers; it is restricted and not always possible to be use without any hurdle as there might be issue with the client and employers to host the code from their private servers. However you may have a few side projects that may not pay for those private repositories. And that why there few alternatives that can be used instead of Github. This is open source software to collaborate on code. Gitorious can be a quite satisfying if you’re looking for codes that are self hosted at your servers. This is a web based project management system. This is open-source software for managing source code repositories, bug reports, discussions, wiki pages, blogs etc, but lacks in providing code review. Bitbucket can be used for small team who has less than 5 users.Even though it doesn’t allow self hosting, it can attract clients who have small team. This can be tried for free yet unfortunately it doesn’t allow team to have free account.
Automatizando el testing de web móviles: Appium + Nightwatch.js Cada vez más, el tráfico que reciben los sitios web procede de dispositivos móviles, y nuestras pruebas, como los desarrollos, deben ir cada vez más hacía el 'mobile first', es decir, nuestras pruebas web deben realizarse pensando primero en los dispositivos móviles. Según el artículo 'Internet stats & facts for 2016' de hostingfacts.com: There are more mobile internet users than desktop internet users; 52.7% of global internet users access the internet via mobile, and 75.1% of U.S. internet users access the internet via mobile A esto debemos unir que en los entornos encaminados hacía el 'continuous delivery' en los que trabajamos, no tiene sentido que estas pruebas sean manuales. Vale, me has convencido pero... Una opción interesante es utilizar la siguiente combinación de herramientas: Appium + Nightwatch.js. Appium Appium es el estándar en automatización de pruebas para móviles. Appium se va a encargar de ejecutar las pruebas en el dispositivo móvil. Nightwatch.js node -v java -version