Home
Search results “Rails resources namespace”
Rails Nested Resources
 
07:44
An introduction to implementing RESTful nested resources in Ruby on Rails. This video is an edited version of a live lesson given by Gilbert Garza at MakerSquare, a Software Development School with locations in Austin and San Francisco. Check us out at: www.makersquare.com :)
Views: 8799 Hack Reactor
Rails: Namespacing our Controllers Part 1
 
07:56
We begin modularizing our controllers. We begin extracting our authentication system into its own module and refactoring parts of the code to support the new module.
Views: 2789 Codemy School
Rails: Namespacing our Controllers Part 2
 
05:37
In this episode we continue cleaning up our authentication system to support our new ‘auth’ module.
Views: 1029 Codemy School
Build a Rails REST web service using a separate API namespace
 
16:09
This talk follows on from demonstrating the REST client for the CSA application (https://youtu.be/xUuMq7kPhiw) and the talk in class. I build a separate API namespace the provides CSA as a RESTful web service. You can obtain both the solution and the client from my Github repository with the command: git clone -b csa-server-for-rest-client https://github.com/chriswloftus/csa csa-server-for-rest-client You will also find the REST client under the folder csa-rest-client. Note that the example requires the installation of Ruby, Rails and ImageMagick. This video is aimed at the module SE31520 at Aberystwyth University Computer Science Dept (https://www.aber.ac.uk/en/cs/)
Views: 332 Chris Loftus
rails namespace vs scope
 
04:37
Details and code snippet here: http://ror4everyone.blogspot.com/2018/08/namespace-vs-scope-in-rails.html Sorry for the video quality. I decded to share my conclusions with you guys, since I finally wrapped my head around that problem.
Views: 38 rubyrailstipster
Rails Routing Demo
 
54:58
A demo of manual and resource based routing in Rails. Associated github repo: https://github.com/stungeye/Rails-Routing
Views: 644 Kyle Geske
Apprendre Ruby (13/15) : Les modules : Namespaces
 
10:31
Article ► https://grafikart.fr/tutoriels/poo-modules-namespaces-676 Abonnez-vous ► https://bit.ly/GrafikartSubscribe Les modules dans Ruby permettent de créer des groupes de méthodes que l'on pourra ensuite inclure dans nos différentes classe. Contrairement aux classes vu précédemment il n'est pas possible d'instancier un module ni d'utiliser l'héritage. Soutenez Grafikart: Devenez premium ► https://grafikart.fr/premium Donnez via Utip ► https://utip.io/grafikart Retrouvez Grafikart sur: Le site ► https://grafikart.fr Twitter ► https://twitter.com/grafikart_fr Discord ► https://grafikart.fr/tchat
Views: 4069 Grafikart.fr
LWAP (Laravel website as package) - Controllers/Namespace routing (Part 5)
 
05:44
This fifth tutorial expands on abstracting the code from the previous part into namespaced routes with controllers. This forms the foundation for any backend developer who needs the MVC structure in their project. See below for more info. Host your laravel website using Digital ocean: https://m.do.co/c/ee19f453f226 Code used in this tutorial: https://github.com/Truemedia/lwap/releases/tag/part5
Views: 77 Wade Penistone
F# Fundamentals: Modules, Namespaces, and Signature Files
 
05:57
This video is a sample from Skillsoft's video course catalog. After watching it, you will be able to generate F# signature files to reference modules and namespaces for F# programs. Jason Row has been working in the IT field for over 15 years. He spent many years as a mentor and subject matter expert for online training programs focusing on developer tools, primarily with the Microsoft.NET framework. For the past five years, he has been a developer and has worked on Microsoft C# based web and windows applications, custom Microsoft SharePoint deployments, and Ruby on Rails projects. Skillsoft is a pioneer in the field of learning with a long history of innovation. Skillsoft provides cloud-based learning solutions for our customers worldwide, who range from global enterprises, government and education customers to mid-sized and small businesses. Learn more at http://www.skillsoft.com. https://www.linkedin.com/company/skillsoft http://www.twitter.com/skillsoft https://www.facebook.com/skillsoft
Views: 566 Skillsoft YouTube
namespace en Ruby clase 9
 
04:36
Curso Fundamentos de Ruby el código base de RoR [ Parte 4] Facebook: https://goo.gl/FohyKL
Views: 71 Aprendamos
Determine Rails Autoload Paths
 
02:01
Shows how you can inspect the Rails autoload_paths inside the Rails console. Blog post http://www.jeffduckett.com/blog/5/determine-rails-autoload-paths.html
Views: 530 Jeff Duckett
What Have Namespaces Done for You Lately?
 
32:51
Liz Rice - Technology Evangelist, Aqua Security Containers are made with namespacing and cgroups, but what does that really mean? In this talk we'll write a container from scratch in Go, using bare system calls, and explore how the different namespaces affect the container's view of the world and the resources it has access to.
Views: 6751 Docker
Docker: Port and Volume Mapping
 
16:53
Understanding port and volume mapping is perhaps one of the most important thing in learning docker. Since docker runs inside of a container we need to understand how our resources like disk space and ports are managed with in the container. Volumes are docker's way of managing storage. There are a few ways we can connect volumes in docker. One of the ways is to just name a volume and have docker manage our volume for us. In this episode we explore how docker manages volumes. Since docker services can't be accessed by the host OS we need to understand how port mapping works. This will allow us to access the service running on a port. Not all kinds of process needs port mapping however services that your app need to interact with such as postgres, redis, elasticsearch or memcache usually do. #ZACKSIRI http://twitter.com/zacksiri #SOCIAL https://vimeo.com/channels/docker http://www.codemy.net http://www.facebook.com/codemy.net http://www.twitter.com/codemynet
Views: 24673 Codemy School
Ruby Programming - 79 namespaces
 
01:32
We create tutorials and articles on our site to improve your programming skills If you want to take this course click here: http://bit.ly/1YMnEMZ If you want to learn more about us, visit: http://geekcodeschool.com Follow us on facebook: http://fb.com/geekcodeschool Follow us on twitter: http://twitter.com/geekcodeschool Dont forget to subscribe!
Views: 239 Geek Code School
Rails API: Show Organization Endpoint - [033]
 
09:52
We need an endpoint that will give us the data for the organization detail page. In this episode we implement the endpoint that will render all the things we need for the organization detail page. Rails API - https://www.codemy.net/channels/rails-api See how this endpoint is consumed: https://www.codemy.net/posts/react-rendering-organization-show-page
Views: 434 Codemy School
Rails API: Scoping the Contact Endpoints - [019]
 
08:04
We need to scope our contacts endpoint for it to work correctly. This means we need to make some changes to our contacts controller. Rails API: https://www.codemy.net/channels/rails-api
Views: 753 Codemy School
Rails Scopes
 
07:39
A screencast explaining the different kinds of ways you can use scopes in Ruby on Rails.
RailsConf 2018: Access Denied: the missing guide to authorization in Rails by Vladimir Dementyev
 
41:19
RailsConf 2018: Access Denied: the missing guide to authorization in Rails by Vladimir Dementyev Rails brings us a lot of useful tools out-of-the-box, but there are missing parts too. For example, for such essential tasks as authorization we are on our own. Even if we choose a trending OSS solution, we still have to care about the way to keep our code maintainable, efficient, and, of course, bug-less. Working on Rails projects, I've noticed some common patterns in designing access systems as well as useful code techniques I'd like to share with you in this talk.
Views: 2716 Confreaks
Create a RESTful controller with route resource
 
04:39
Laravel Tutorial - Learn Laravel in simple and easy steps starting from Overview
Views: 242 LV Programming
1. Getting Started with Rails - Workflow Examples
 
16:07
The first in our new educational screencast series, this video is geared towards those who have been learning Ruby on Rails and would like some advice on using it "in the wild".
JavaScript Prototypes (Part 2)
 
25:14
This is part 2 of our JavaScript prototypes lesson. In this video, we go through how constructor functions "secretly" link their new objects to share properties through its prototype. This video is an edited version of a live lesson given by Gilbert Garza at MakerSquare, a Software Development School with locations in Austin and San Francisco. Check us out at: www.makersquare.com :)
Views: 6443 Hack Reactor
RailsConf 2016 - I Can’t Believe It’s Not A Queue: Using Kafka with Rails by Terence Lee
 
33:05
I Can’t Believe It’s Not A Queue: Using Kafka with Rails by Terence Lee Your existing message system is great, until it gets overloaded. Then what? That's when you should try Kafka. Kafka's designed to be resilient. It takes the stress out of moving from a Rails monolith into a scalable system of microservices. Since you can capture every event that happens in your app, it's great for logging. You can even use Kafka's distributed, ordered log to simulate production load in your staging environment. Come and learn about Kafka, where it fits in your Rails app, and how to make it do the things that message queues simply can't. Help us caption & translate this video! http://amara.org/v/JUpN/
Views: 4354 Confreaks
RailsConf 2017: Upgrading a big application to Rails 5 by Rafael França
 
32:32
RailsConf 2017: Upgrading a big application to Rails 5 by Rafael França In this talk we would take a look in different strategies to upgrade Rails application to the newest version taking as example a huge monolithic Rails application. We will learn what were the biggest challenges and how they could be avoided. We will also learn why the changes were made in Rails and how they work.
Views: 2305 Confreaks
RailsConf 2016 - Zen and the Art of the Controller by Michael Kelly
 
28:01
Zen and the Art of the Controller by Michael Kelly So you’re fresh out of boot camp or just off a month long binge on RoR tutorials/examples and you’re feeling pretty good about MVC and how controllers fit into the whole framework. But projects in the wild are often far more complicated than you’ve been exposed to. In this talk, we’re going to discuss several techniques used by seasoned engineers to build and refactor controllers for features you’ll actually be working on. Help us caption & translate this video! http://amara.org/v/JUpJ/
Views: 3407 Confreaks
How We Built a Framework at Twitter to Solve Service Ownership & Improve Infrastructure Utilization
 
28:46
How We Built a Framework at Twitter to Solve Service Ownership & Improve Infrastructure Utilization at Scale [I] - Vinu Charanya, Twitter Twitter is powered by thousands of microservices that run on our internal Cloud platform which consists of a suite of multi-tenant platform services that offer Compute, Storage, Messaging, Monitoring, etc as a service. These platforms have thousands of tenants and run atop hundreds of thousands of servers, across on-prem & the public cloud. The scale & diversity in multi-tenant infrastructure services makes it extremely difficult to effectively forecast capacity, compute resource utilization & cost and drive efficiency. In this talk, I would like to share how my team is building a system (Kite - A unified service manager) to help define, model, provision, meter & charge infrastructure resources. The infrastructure resources include primitive bare metal servers / VMs on the public cloud and abstract resources offered by multi-tenant services such as our Compute platform (powered by Apache Aurora/Mesos), Storage (Manhattan for key/val, Cache, RDBMS), Observability. Along with how we solved this problem, I also intend to share a few case-studies on how we were able to use this data to better plan capacity & drive a cultural change in engineering that helped improve overall resource utilization & drive significant savings in infrastructure spend. About Vinu Charanya Vinu Charanya is a Senior Software Engineer at Twitter where she works in the Compute Platform building Twitter’s internal cloud infrastructure management platform. She is also a core team member of Women who code, a non-profit organization dedicated to inspiring women to excel in technology careers. She is also a part-time teacher and a mentor helping students learn iOS and Android development at CodePath. Vinu received her Masters in Computer Science and Engineering from University at Buffalo, where she worked on the PhoneLab Testbed research group under Prof. Geoff Challen and Prof. Steve Ko. Join us for KubeCon + CloudNativeCon in Barcelona May 20 - 23, Shanghai June 24 - 26, and San Diego November 18 - 21! Learn more at https://kubecon.io. The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy and all of the other CNCF-hosted projects.
How to choose the right path for your programming career?
 
49:49
As a beginner what, are the options I have? How to choose the right path for me? What I should do and what I should not do? Resources: More detailed resources document with links: https://docs.google.com/document/d/1IwnAfrfqeJUFQOpevaitbqEjRvmpcwkzIQe2ASR2fdI/edit?usp=sharing - UI libraries: - Bootstrap - SymanticUI - MaterialUI - ANT Design - Code editors: - Sublime Text - VSCode - Atom - Webstorm - PHPstorm - CMS: - Joomla - Drupal - WordPress - Frontend frameworks: - React - Angular - Ember - Vue - Preact - Frontend backend tools/frameworks: - Node (Not a language!!!) - Meteor - SailsJS - Express - Hapi - MEAN Stack - Python - Ruby - Rails - PHP - Laravel - Codeigniter - Databases: - MySQL - MariaDB - PostgreSQL - Redis - MongoDB (NoSQL) - High-performance languages: - Java - C# - Go - Rust - Mobile: - Android - Kotlin - Java - iOS - Swift - Objective C - Hybrid - Ionic - React native - Cordova - Cloud solutions: - AWS solutions - Firebase - New trends: - Serverless - GraphQL - AI - Machine learning An interactive map of the industry technologies: https://coggle.it/diagram/Vz9LvW8byvN0I38x by LearnCode.acadamy (https://www.youtube.com/watch?v=sBzRwzY7G-k) Music by: https://www.bensound.com/royalty-free-music
Views: 332 SLDevTalks
February 2019 Online Meetup: Multi Cluster Applications, Global DNS, and Multi Tenant Catalogs
 
01:19:39
Rancher 2.2 focuses on day two operations for Kubernetes, the ongoing management tasks that secure clusters, reduce downtime, and keep applications secure. For edge deployments and businesses that run multi-tenant clusters or multiple installations of the same application, Rancher 2.2 Preview 2 introduces features that lighten the workload of operations team, helping to eliminate redundant work and human error. It includes tools for increasing the availability of multi-cluster applications and new options for configuring application catalogs at the cluster and project levels. Rancher engineers Prachi Damle and Adrian Goins will be on hand to demonstrate the new features and answer any questions. Join us as we discuss and demo: --Configuring catalog visibility in a multi-tenant deployment --Deploying an application to multiple Kubernetes clusters --Using Global DNS to actively maintain a DNS record for the multi-cluster app --Performing a rolling upgrade of the application across clusters Resources: Deploy Rancher: https://rancher.com/quick-start/ Intro training to Rancher: https://rancher.com/training Kubernetes Master Classes: https://rancher.com/kubernetes-master-class Recordings of our Online Meetups: https://rancher.com/online-meetups
Views: 565 Rancher Labs
Kubernetes Pods, ReplicaSets, and Deployments
 
08:10
A demonstration of Kubernetes v1.3 Pods, ReplicaSets, and Deployments running on Fedora 24 visualized with Cockpit Part of the "Introduction to Kubernetes" playlist: https://www.youtube.com/playlist?list=PLj_IGCS9P2SkmHxS8-i24azCIGEneJQrA
Views: 21965 Seth Jennings
Kubernetes - Creating Objects with YAML
 
14:55
Learn more about Kubernetes with Linux Academy: https://linuxacademy.com/?utm_source=youtube&utm_medium=description&utm_campaign=2019_coderjourney This week's tutorial will take you deeper into Kubernetes, setting up deployments and services using YAML configuration files. The process used in this video is more like what you'll be doing when deploying your own custom applications with Kubernetes. This tutorial doubles as a continuation of the Ruby on Rails series as we utilize the meal planning application yet again as a test application for creation Kubernetes deployments. Blog post associated with this video: https://coderjourney.com/define-kubernetes-objects-using-yaml/ Code from this tutorial: https://github.com/coderjourney/meal_plan/pull/13 Website: https://coderjourney.com Suggested Resources: https://coderjourney.com/resources Patreon: https://www.patreon.com/coderjourney Facebook: https://facebook.com/coderjourney Twitter: https://twitter.com/coderjourney Intro created by Ian Zainea (http://ianzainea.com) -~-~~-~~~-~~-~- Please watch: "How to Write Better Automated Tests" https://www.youtube.com/watch?v=BDu6oyfKPfg -~-~~-~~~-~~-~-
Views: 15821 CoderJourney
Twitter Bootstrap and Visualforce
 
03:30
Code on GitHub here: http://bit.ly/bootstrap-vf-pt1-repo Tweet any questions: http://twitter.com/samantha_ready Install this package into a DE org with this URL: http://bit.ly/bootstrap-vf-pt1 View the short blog about this video here: http://blogs.developerforce.com/developer-relations/?p=52711 This video breaks down how to build a custom Visualforce page using Twitter Bootstrap for the styling in just a couple minutes.
Views: 11965 Salesforce Developers
PHP Performance I: Everything You Need to Know About OpCode Caches
 
20:57
Resources: http://ey.io/opcaches Transcript: https://support.cloud.engineyard.com/entries/27416486-Transcript-PHP-Performance-I-Everything-You-Need-to-Know-About-OpCode-Caches-Screencast Slides: https://speakerdeck.com/dshafik/php-performance-i-everything-you-need-to-know-about-opcode-caches Tutorial: https://support.cloud.engineyard.com/entries/26902267-PHP-Performance-I-Everything-You-Need-to-Know-About-OpCode-Caches
Views: 8086 engineyardcloud
Easiest Way to Learn XML
 
03:05
What is the easiest way to learn XML? You could go to the MSDN dot Microsoft dot com site and go to their section on Learning XML. They have information on not only how to use XML but all the versions and variants of it. Including how to use MSXML, the XML version Microsoft controls. It tells you how to use Visual Studio’s XML tools like XML editor and XML schema explorer. Of course Microsoft tells you how to use Microsoft’s XML editor. If you’re so bum on Microsoft, go to w3schools dot com. It has in depth tutorials on using XML. I need the beginner stuff more than I need the in depth material. It has everything from what XML stands for to how to code in XML, to code samples to explanations of XML namespaces. As long as its resources are up to date and relevant. XML is not updating and making prior info obsolete like Ruby on Rails did, nor is it evolving so fast that five year old tutorials are irrelevant. In fact, the W3schools dot com site has info on how to use XML with CSS. CSS is part of HTML5. I’d consider that pretty relevant. It also tells you how to use XML with JavaScript and CDATA. I’ve never heard of CDATA, but JavaScript is an HTML5 standard these days. You could use the XMLmaster dot org site to get the basics of XML all the way up to the advanced skill sets. How advanced? It is all integrated with ads to prepare for the XML master exam. I suppose that’s reasonable. SitePoint dot com’s section on a really good introduction to XML, is a good introduction to XML. You did not say really twice. Really? It is a good intro, though the meat is in the book the site is selling. Any other resources I should look into? XMLfiles.com has a lot of references on XML, from XML DOM to XML RSS to XHTML. The last of which is a torture to use even compared to HTML5. So hit Youtube’s XML tutorial for beginners video by PortnovSchool and learn how to create an XML file. And unlike a lot of the other sites, the content is free, and you do not care about Adsense ads. What do you think of TechEdGuru’s Youtube channel? It is not something to avoid if you’re trying to learn about programming, but he does not do much on XML. Any other ways to get free XML lessons? Go to a Microsoft Open Office XML course and tell them you think the rival Open Document format is better. Collect all the books they throw at you, then run.
Views: 997 Techy Help
Rails 구름 IDE에서 개발하기
 
09:54
Karoid의 블로그: http://itncode.tistory.com
docker on windows -2
 
06:41
Docker is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of operating-system-level virtualization on Linux.[2] Docker uses resource isolation features of the Linux kernel such as cgroups and kernel namespaces to allow independent "containers" to run within a single Linux instance, avoiding the overhead of starting and maintaining virtual machines.[3] The Linux kernel's support for namespaces mostly[4] isolates an application's view of the operating environment, including process trees, network, user IDs and mounted file systems, while the kernel's cgroups provide resource isolation, including the CPU, memory, block I/O and network. Since version 0.9, Docker includes the libcontainer library as its own way to directly use virtualization facilities provided by the Linux kernel, in addition to using abstracted virtualization interfaces via libvirt, LXC (Linux Containers) and systemd-nspawn.[5][6][7] According to industry analyst firm 451 Research, "Docker is a tool that can package an application and its dependencies in a virtual container that can run on any Linux server. This helps enable flexibility and portability on where the application can run, whether on premise [sic], public cloud, private cloud, bare metal, etc."[8] Docker implements a high-level API to provide lightweight containers that run processes in isolation.[9] Building on top of facilities provided by the Linux kernel (primarily cgroups and namespaces), a Docker container, as opposed to a traditional virtual machine, does not require or include a separate operating system.[8] Instead, it relies on the kernel's functionality and uses resource isolation (CPU, memory, block I/O, network, etc.) and separate namespaces to isolate the application's view of the operating system. Docker accesses the Linux kernel's virtualization features either directly through the provided libcontainer library (which is available since Docker 0.9), or indirectly via libvirt, LXC (Linux Containers) or systemd-nspawn.[7][10] By using containers, resources can be isolated, services restricted, and processes provisioned to have an almost completely private view of the operating system with their own process ID space, file system structure, and network interfaces. Multiple containers share the same kernel, but each container can be constrained to only use a defined amount of resources such as CPU, memory and I/O. Using Docker to create and manage containers may simplify the creation of highly distributed systems by allowing multiple applications, worker tasks, and other processes to run autonomously on a single physical machine or across a spectrum of virtual machines. This enables the deployment of nodes as resources are available or needed, thus providing platform as a service (PaaS)–style deployment and scaling for systems like Apache Cassandra, MongoDB or Riak, and simplification of the creation and operation of task or workload queues and other distributed systems.[11][12] Docker can be integrated into various infrastructure tools, including Amazon Web Services,[13] Ansible,[14] CFEngine,[15] Chef,[16] Google Cloud Platform,[17] IBM Bluemix,[18] Jelastic,[19] Jenkins,[20] Microsoft Azure,[21] OpenStack Nova,[22] OpenSVC,[23] Puppet,[24] Salt,[25] and Vagrant.[26] The Cloud Foundry Diego project integrates Docker into the Cloud Foundry PaaS.[27] The GearD project aims to integrate Docker into the Red Hat's OpenShift Origin PaaS.[28] Solomon Hykes started Docker as an internal project within dotCloud, a platform as a service company,[29] with initial contributions by other dotCloud engineers including Andrea Luzzardi and Francois-Xavier Bourlet. Jeff Lindsay was also involved as an independent collaborator. Docker represents an evolution of dotCloud's proprietary technology, which itself built on earlier open-source projects such as Cloudlets. Docker was released as open source in March 2013.[9] On March 13, 2014, with the release of version 0.9, Docker dropped LXC as the default execution environment and replaced it with its own libcontainer library written in Go language.[5][10] As of April 13, 2015, the project had over 20,700 GitHub stars (making it the 20th most starred GitHub project), over 4,700 forks, and nearly 900 contributors.[30]
Views: 740 Sniper Network
Simple Ruby on Rails API Demo (With Code Review).
 
07:39
I am still kind of new when it comes to API Development, but is not as hard as I thought. This is a simple demo, too simple I think, but this helped me a lot. In the video we can see all the code implied on the API functionality, from the namespaces and the directories (paths created) to the render of the JSON. ** I used Faker* for the seed and the database is Sqlite.
Views: 122 Aldo Caamal
Apigee Edge - 4MV4D - API Routing - Target EndPoints - S14E02
 
04:59
In this 4MV4D, Find out how to do API Routing using Apigee Edge API Platform by creating API Proxies with multiple Target End Points. Q & A : https://community.apigee.com
Views: 2601 Anil Rupanagudi
RailsConf 2018: Upgrading Rails at Scale by Edouard Chin
 
29:25
Upgrading Rails at Scale by Edouard Chin Upgrading Rails at Shopify has always been a tedious and slow process. One full upgrade cycle was taking as much time as it takes to release a new Rails version. Having a full time dedicated team working solely on upgrading our platform wasn’t the solution but instead a proper process and toolkit. In this talk I’d like to share the different techniques and strategies that allowed to perform our smoothest and fastest Rails upgrade ever.
Views: 555 Confreaks
Docker on windows-1
 
06:52
Docker is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of operating-system-level virtualization on Linux.[2] Docker uses resource isolation features of the Linux kernel such as cgroups and kernel namespaces to allow independent "containers" to run within a single Linux instance, avoiding the overhead of starting and maintaining virtual machines.[3] The Linux kernel's support for namespaces mostly[4] isolates an application's view of the operating environment, including process trees, network, user IDs and mounted file systems, while the kernel's cgroups provide resource isolation, including the CPU, memory, block I/O and network. Since version 0.9, Docker includes the libcontainer library as its own way to directly use virtualization facilities provided by the Linux kernel, in addition to using abstracted virtualization interfaces via libvirt, LXC (Linux Containers) and systemd-nspawn.[5][6][7] According to industry analyst firm 451 Research, "Docker is a tool that can package an application and its dependencies in a virtual container that can run on any Linux server. This helps enable flexibility and portability on where the application can run, whether on premise [sic], public cloud, private cloud, bare metal, etc."[8] Docker implements a high-level API to provide lightweight containers that run processes in isolation.[9] Building on top of facilities provided by the Linux kernel (primarily cgroups and namespaces), a Docker container, as opposed to a traditional virtual machine, does not require or include a separate operating system.[8] Instead, it relies on the kernel's functionality and uses resource isolation (CPU, memory, block I/O, network, etc.) and separate namespaces to isolate the application's view of the operating system. Docker accesses the Linux kernel's virtualization features either directly through the provided libcontainer library (which is available since Docker 0.9), or indirectly via libvirt, LXC (Linux Containers) or systemd-nspawn.[7][10] By using containers, resources can be isolated, services restricted, and processes provisioned to have an almost completely private view of the operating system with their own process ID space, file system structure, and network interfaces. Multiple containers share the same kernel, but each container can be constrained to only use a defined amount of resources such as CPU, memory and I/O. Using Docker to create and manage containers may simplify the creation of highly distributed systems by allowing multiple applications, worker tasks, and other processes to run autonomously on a single physical machine or across a spectrum of virtual machines. This enables the deployment of nodes as resources are available or needed, thus providing platform as a service (PaaS)–style deployment and scaling for systems like Apache Cassandra, MongoDB or Riak, and simplification of the creation and operation of task or workload queues and other distributed systems.[11][12] Docker can be integrated into various infrastructure tools, including Amazon Web Services,[13] Ansible,[14] CFEngine,[15] Chef,[16] Google Cloud Platform,[17] IBM Bluemix,[18] Jelastic,[19] Jenkins,[20] Microsoft Azure,[21] OpenStack Nova,[22] OpenSVC,[23] Puppet,[24] Salt,[25] and Vagrant.[26] The Cloud Foundry Diego project integrates Docker into the Cloud Foundry PaaS.[27] The GearD project aims to integrate Docker into the Red Hat's OpenShift Origin PaaS.[28] Solomon Hykes started Docker as an internal project within dotCloud, a platform as a service company,[29] with initial contributions by other dotCloud engineers including Andrea Luzzardi and Francois-Xavier Bourlet. Jeff Lindsay was also involved as an independent collaborator. Docker represents an evolution of dotCloud's proprietary technology, which itself built on earlier open-source projects such as Cloudlets. Docker was released as open source in March 2013.[9] On March 13, 2014, with the release of version 0.9, Docker dropped LXC as the default execution environment and replaced it with its own libcontainer library written in Go language.[5][10] As of April 13, 2015, the project had over 20,700 GitHub stars (making it the 20th most starred GitHub project), over 4,700 forks, and nearly 900 contributors.[30]
Views: 4629 Sniper Network
RailsConf 2014 - Refactoring Towards Component-based Rails Architectures
 
32:35
By Stephan Hagemann You have a big Rails app and are feeling the pains? Stories are hard to deliver, code is hard to refactor, and your tests take a looong time? Getting you and your codebase out of this situation requires you to stop developing a "Rails application" and start refactoring towards your domain. I will discuss how and where you refactor towards a more structured and manageable application, a component-based Rails architecture. For his day job Stephan is a Pivot - developing software at Pivotal Labs. With every project he especially enjoys the continuous search for doing the right thing, and doing that right. Outside of that he enjoys more work: on his old house or his rock climbing skills. Help us caption & translate this video! http://amara.org/v/FG0v/
Views: 4076 Confreaks
Jira container via Vagrant in just three step from 0 in less than 10 min.
 
06:36
windows 10 (without Hyper-V) with KVM hypervisor paravirtualization on ubuntu and nested virtualization in docker jira container with 3 simple command. docker use guest OS resources. It is a special nested virtualization with 64bit support! It is a containerizing. Prerequirement: No Hyper-v , VT-X, EMT64 enabled (BIOS Virtualization enabled) Install ubuntu with kernel parameters to containers (cgroup and namespace) more info: https://jvns.ca/blog/2016/10/10/what-even-is-a-container/ command 1: install paravirtualization platform (vbox-ubuntu) from vagrant hub ____________________________ vagrant init ubuntu/xenial64 vagrant up --provider virtualbox ____________________________ username and password are: c:\Users\username\.vagrant.d\boxes\ubuntu-VAGRANTSLASH-xenial64\date.0\virtualbox\vagrantfile Vagrant.configure("2") do |config| config.vm.base_mac = "021F970FE273" config.ssh.username = "ubuntu" config.ssh.password = "6fa650a96545648d719b6660" ssh to 127.0.0.1:2222 set tunnel to 127.0.0.1:8080 -- 8080 command 2: install container manager (from docker hub) __________________________ curl -sSL https://get.docker.com/ | sh __________________________ Jira docker generator tools here: https://cptactionhank.github.io/docker-atlassian-jira-software/#basic-configuration command 3 : start jira container from Jira hub. __________________________ docker run --detach --publish 8080:8080 cptactionhank/atlassian-jira-software:latest __________________________ docker commands: docker images docker ps docker stats show internal ip of container: docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" docker-runc list docker-runc ps (list id) - inside docker go inside docker docker exec -i (id) /bin/bash
Views: 123 Jancsó József
Google Cloud Platform loves Ruby (Google Cloud Next '17)
 
50:48
Ruby developers welcome! Our dedicated Google Cloud Platform (GCP) Ruby team has built a great experience for Ruby developers using GCP. In this video, Remi Taylor walks through the steps to deploy, debug and scale a Ruby on Rails application on Google App Engine. You'll also learn about some of the exciting Ruby libraries available today for adding features to your app with GCP services like BigQuery and Cloud Vision API. Missed the conference? Watch all the talks here: https://goo.gl/c1Vs3h Watch more talks about Application Development here: https://goo.gl/YFgZpl
Views: 3419 Google Cloud Platform
Kubernetes in production - blue-green deployment, auto scaling and deployment automation
 
53:10
by Paul Bakker Kubernetes is a great tool to run (Docker) containers in a clustered production environment. There are also a few things that Kubernetes doesn't solve though. When deploying often to a production environment we need fully automated blue-green deployments, which makes it possible to deploy without any downtime. We also need to handle external HTTP requests and SSL offloading. This requires integration with a load balancer like Ha-Proxy. Another concern is (semi) auto scaling of the Kubernetes cluster itself when running in a cloud environment. E.g. partially scale down the cluster at night. Although Kubernetes doesn't provide these things out of the box, it does provide an API that can be used to make all of this happen. Tools for automated blue-green deployments and scaling a Kubernetes cluster were developed as part of the Cloud RTI project which is developed in open source. In this technical deep dive you will learn how to setup Kubernetes together with other open source components to achieve a production ready environment that takes code from git commit to production without downtime.
Views: 67669 Devoxx UK
RailsConf 2016 - How We Scaled GitLab For a 30k-employee Company By Minqi Pan
 
38:24
GitLab, the open source alternative to GitHub written in Rails, does not scale automatically out of the box, as it stores its git repositories on a single filesystem, making storage capabilities hard to expand. Rather than attaching a NAS server, we decided to use a cloud-based object storage (such as S3) to replace the FS. This introduced changes to both the Ruby layer and the deeper C layers. In this talk, we will show the audience how we did the change and overcame the performance loss introduced by network I/O. We will also show how we achieved high-availability after the changes.GitLab, the open source alternative to GitHub written in Rails, does not scale automatically out of the box, as it stores its git repositories on a single filesystem, making storage capabilities hard to expand. Rather than attaching a NAS server, we decided to use a cloud-based object storage (such as S3) to replace the FS. This introduced changes to both the Ruby layer and the deeper C layers. In this talk, we will show the audience how we did the change and overcame the performance loss introduced by network I/O. We will also show how we achieved high-availability after the changes.
Views: 1848 Confreaks
Stripe Recurring Payments With Stripe API & PHP [Part 2]
 
33:51
The EASY method to implement Stripe Recurring Payments and setup payment gateway. Download Source Code: http://codingpassiveincome.com/stripe-recurring-payments-2 It is tutorial where you will learn how to implement stripe recurring payments with stripe API & PHP7 on your website. Get My Course: http://bit.ly/2U7Hnv9 In this tutorial you will learn: - how to verify data from pricing page - how to create customer using Stripe API and store data in MySQL database - how to send login details to customer email - how to create random password - how to encrypt password using password_hash - how to design thank you page using Bootstrap - how to redirect person to login page Subscribe: http://bit.ly/1VdATVr Blog: http://CodingPassiveIncome.com/blog Resources: http://CodingPassiveIncome.com/resources Facebook Community: http://on.fb.me/1nMGVC4 Facebook Fan Page: https://www.facebook.com/CodingPassiveIncome Twitter: https://twitter.com/SenaidBacinovic Music: http://www.bensound.com/royalty-free-music
Views: 1782 Coding Passive Income
RailsConf 2016 - Crushing It With Rake Tasks By Barrett Clark
 
29:48
Crushing It With Rake Tasks By Barrett Clark Although bundle exec rake db:migrate is probably the single biggest killer feature in Rails, there is a lot more to rake. Rails offers several rake tasks to help with everyday project management, like redoing a migration because you changed your mind on one of the columns, clearing your log files because they get so big, and listing out the TODOs and FIXMEs. What's even more awesome that all that is that you can create your own rake tasks. Got a tedious command-line process? Write a rake task for it! Help us caption & translate this video! http://amara.org/v/JYRS/
Views: 1064 Confreaks
RailsConf 2017: Deep Dive into Docker Containers for Rails Developers by Christopher Rigor
 
37:29
Deep Dive into Docker Containers for Rails Developers by Christopher Rigor This is a sponsored talk by Engine Yard. Containers have gained popularity the past few years but they have been around much longer than that. In this talk, we'll dive into the internals of a container. If you have used or heard about Docker containers but are unsure how they work, this talk is for you. You’ll also learn how to run Rails in production-ready container environments like Kubernetes.
Views: 925 Confreaks