Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 
  • #r
  • #ru
RSS: #ruby

#ruby

  • #ruby_ter
  • #ruby_sandhu
  • #ruby_bridges
  • #ruby_icu_unicode_format_string_value_locale_date_plural_twitter
  • #ruby-download
  • #ruby-development
  • #ruby-on-rails-sites
  • #ruby-on-rails-development
0 | 25 | 50
  • @milouse
    Étienne Pflieger @milouse via RSS CC BY 4/07/2025

    Various updates to my web authoring and publishing tools
    ▻https://etienne.pflieger.bzh/a-ecrit/various-updates-to-my-web-authoring-and-publishing-tools.html

    I just released several updates to the little softwares I created. I built them for my own usage, but I’d be curious to know if another one tried them or even use them.

    Time flies and habbits change. When I began to write code, it was mostly in PHP. Later I switched to ugly shell scripts and more robust python scripts or apps. For the last eight years I gradually, but surelly move to #ruby for everything. So don’t be surprised if more and more of my tools are in ruby.

    All the following projects are hosted on my own git server.

    #Fronde v0.5

    Biggest changeset here. This release took me most of the time. Check the related blog post for the details.

    ox-gmi v0.2

    This is my own #Gemini publishing library for Org, mainly used as part of Fronde. I know there is another one, but there was a reason (...)

    #Bidouille

    Étienne Pflieger @milouse via RSS CC BY
    Écrire un commentaire
  • @milouse
    Étienne Pflieger @milouse via RSS CC BY 4/07/2025

    Free all the feeds
    ▻https://etienne.pflieger.bzh/a-ecrit/free-all-the-feeds.html

    Je suis un grand consommateur de flux #RSS (ou Atom pour être techniquement complet) et ce depuis bien longtemps. L’enshittification actuelle du #Web me rend parfois la vie désagréable, mais contre toute attente les flux restent une valeur à peu près sûre du Web de qualité (oui, je sous-entends qu’un site d’actualité qui n’en propose pas n’est pas de qualité).

    Bref, ça m’arrive d’être en galère pour pouvoir suivre des sites que j’aime depuis mon lecteur de flux. Il existe des centaines de solutions diverses et variées pour générer des flux RSS ou Atom, mais rien de tel qu’une petite problématique comme ça pour se faire un bricolage personnel.

    J’ai donc ressorti Nokogiri et me suis affûté un petit script personnel. Il est pour l’instant conçu pour générer les quatre flux Atom suivants  :

    /geneston.xml  : les (...)

    #Bidouille #ruby

    Étienne Pflieger @milouse via RSS CC BY
    Écrire un commentaire
  • @milouse
    Étienne Pflieger @milouse via RSS CC BY 4/07/2025

    #Fronde v0.6.0
    ▻https://etienne.pflieger.bzh/a-ecrit/fronde-v0-6-0.html

    This release also continues the stability work.

    All changes are visible in the git log, but here are the most interesting changes:

    Features

    Replace r18n-core dependency by more common i18n gem. Add a new rake task to generate a Fish shell completion file. Detect orphaned keywords in the site:clean rake task, to allow you to remove useless files. Add a new rake task to build a single file instead of the whole project.

    Fixes

    Fix build time regression by using a keywords cache directly exposed to #Org internals. Correctly expose the verbose option to the right commands in the CLI help messages. Never automatically eval code blocks, as it clearly opens a security flaw. Never use the throbber in verbose (...)

    #Emacs #ruby

    Étienne Pflieger @milouse via RSS CC BY
    Écrire un commentaire
  • @milouse
    Étienne Pflieger @milouse via RSS CC BY 4/07/2025

    #RVM and #fish shell
    ▻https://etienne.pflieger.bzh/a-ecrit/rvm-and-fish-shell.html

    Since the end of the summer, and more specifically following a post by Julia Evans about the fish shell, my curiosity was once again triggered by this shell. I know it by name since a long time, but never take time to test it. Or last time I did it, something I did not expect happen, and I was probably less comfortable with the whole shell stuff. Anyway, I stayed on bash and then zsh.

    Clearly, all the time I spent using zsh, and configuring it, make me a lot more aware of what a shell really is, what happen under the hood, etc. So after reading Julia Evans article, I tried the fish shell again… and actually loved it. So much that after only 3 days or so, I decided and successfuly switch to fish as my session shell.

    It took some more time to migrate my most used tools to it. RVM was (...)

    #ruby

    Étienne Pflieger @milouse via RSS CC BY
    Écrire un commentaire
  • @reka
    Phil Reka docs & archives @reka CC BY-NC-SA 7/05/2021
    1
    @ericw
    1

    #Ruby_Bridges: the six-year-old who defied a mob and desegregated her school | Race | The Guardian

    ▻http://www.theguardian.com/society/2021/may/06/ruby-bridges-the-six-year-old-who-defied-a-mob-and-desegregated-her-sch

    https://dl.dropbox.com/s/kmw2p3svnj35wwr/capture%20d%E2%80%99%C3%A9cran%202021-05-07%20%C3%A0%2007.55.14.png?dl=0

    his year, Ruby Bridges saw some newly discovered video footage of her six-year-old self and was terrified for her. The footage was from 14 November 1960, a day that shaped the course of Bridges’ life and – it is no exaggeration to say – American history. Not that she was aware of it at the time. On that day she became the first Black child to attend an all-white primary school in Louisiana.

    Looking at images of Bridges’ first day at William Frantz elementary school in New Orleans, she is a study in vulnerability: a tiny girl in her smart new uniform, with white socks and white ribbons in her hair, flanked by four huge federal agents in suits. Awaiting her at the school gates was a phalanx of rabidly hostile protesters, mostly white parents and children, plus photographers and reporters. They yelled names and racial slurs, chanted, and waved placards. One sign read: “All I want for Christmas is a clean white school.” One woman held up a miniature coffin with a black doll in it. It has become one of the defining images of the civil rights movement, popularised even further by Norman Rockwell’s recreation of it in his 1964 painting The Problem We All Live With.

    Phil Reka docs & archives @reka CC BY-NC-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 18/04/2019

    Send Images and Files via #whatsapp Using #ruby
    ▻https://hackernoon.com/send-images-and-files-via-whatsapp-using-ruby-773f900764f0?source=rss---

    https://cdn-images-1.medium.com/max/1024/1*ycz60LeU-_rFwvr1EkH8qA.png

    With the #twilio API for WhatsApp we can send messages to WhatsApp numbers. Those messages can be plain text or include files like images, audio and even PDFs up to 5MB. Let’s see how to do so using Ruby.Things you’ll needIf you want to code along with this post, you’ll need a few things:A Twilio account (sign up for a free account now)Ruby and Bundler installedThe WhatsApp Sandbox Channel installed (learn how to activate your WhatsApp sandbox)Got all that? Let’s get coding then!Create a new directory for your project and use Bundler to initialise a new Gemfile:mkdir whatsapp-messagescd whatsapp-messagesbundle initOpen up the new Gemfile and add the twilio-ruby gem:# frozen_string_literal: truesource "▻https://rubygems.org"gem "twilio-ruby"Install the gem by running bundle (...)

    #whatsapp-using-ruby #whatsapp-and-ruby

    • #TWILIO
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 16/04/2019

    Go Celebrity Spotting made easy with the #twilio API for #whatsapp, #aws #rekognition and #ruby
    ▻https://hackernoon.com/go-celebrity-spotting-made-easy-with-the-twilio-api-for-whatsapp-aws-rek

    https://cdn-images-1.medium.com/max/1024/1*OKKr2zoJQC93_i41Qz1Xxw.jpeg

    Did you know you can send and receive media using the Twilio API for WhatsApp? When I found out I wanted to make something fun with it, so why not combine it with AWS Rekognition to work out if I look like any celebrities?By the end of this post, you’ll know how to build an app that lets you send an image to a WhatsApp number, download the image, analyse the image with the AWS Rekognition API and respond to say whether there are any celebrities in the picture.What you’ll needTo build this application you’ll need a few things:A Twilio account, sign up for a free one hereAn AWS accountRuby and Bundler installedngrok to help us test our webhooksGot all that? Let’s get started then.Application basicsWhen Twilio receives a WhatsApp message it will send an HTTP request, a webhook, to a URL we provide. (...)

    • #TWILIO
    • #WhatsApp
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 8/04/2019

    How to download image files in #ruby
    ▻https://hackernoon.com/how-to-download-image-files-in-ruby-c189ba52fad6?source=rss----3a8144eab

    https://cdn-images-1.medium.com/max/1024/1*0fOcblm7Q9BSWGH5g7BKZw.png

    Have you ever needed to download and save an image in your Ruby application? Read on to find out how.Plain old RubyThe most popular way to download a file without any dependencies is to use the standard library open-uri.Kernel#open is a method that you can use to open files, streams, or processes to read to or write from. For example, you can open a file and read its contents with the following code:open("./test.txt") do |file| puts file.readendopen-uri extends Kernel#open so that it can open URIs as if they were files. We can use this to download an image and then save it as a file.To do so, we first require open-uri then use the open method to access an image URL. We can then open up a file and write the contents of the image to the file. Open up IRB and try the (...)

    #ruby-download #ruby-development #images-in-ruby #ruby-on-rails

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 7/04/2019

    Features | Decidim
    ▻https://decidim.org/features

    Free Open-Source participatory democracy, citizen participation and open government for cities and organizations
    Decidim is a participatory democracy framework, written in Ruby on Rails, originally developed for the Barcelona City government online and offline participation website.

    Le repo github : ▻https://github.com/decidim/decidim

    #decicim #outil #ruby #participatif #plate_forme #democratie_participative

    cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @simplicissimus
    Simplicissimus @simplicissimus 16/03/2019
    3
    @odilon
    @vazi
    @bce_106_6
    3

    Italie : mystère sur la mort d’un témoin dans un procès contre Berlusconi
    ▻http://www.lefigaro.fr/flash-actu/italie-mystere-sur-la-mort-d-un-temoin-dans-un-proces-contre-berlusconi-201

    Le récent décès de l’ex-mannequin Imane Fadil, témoin dans des procès contre Silvio Berlusconi et ses soirées « #bunga-bunga », est entouré de mystère, la jeune femme semblant avoir été empoisonnée avec des substances radioactives, rapporte samedi la presse italienne.

    Imane Fadil, 33 ans, avait été hospitalisée le 29 janvier dans les environs de Milan (nord) et elle est décédée le 1er mars dans le même établissement, a indiqué le procureur de Milan Francesco Greco, annonçant l’ouverture d’une enquête.

    Selon le Corriere della Sera, l’hôpital où se trouvait la jeune femme a procédé à des examens pour tenter de comprendre quelle était la cause de la détérioration de sa santé et, n’ayant rien trouvé, a envoyé des échantillons à un laboratoire spécialisé de Pavie (nord). Citant des sources non identifiées, le quotidien écrit que les résultats sont parvenus le 6 mars, cinq jours après le décès de la jeune femme, et évoquent « la présence d’un mélange de substances radioactives qu’il n’est pas possible de trouver normalement dans le commerce ». Selon Paolo Sevesi, l’avocat d’Imane Fadil, cette dernière lui aurait confié « sa crainte d’avoir été empoisonnée », indique pour sa part l’agence AGI.

    « Je suis navré quand une personne jeune meurt. Je n’ai jamais connu cette personne et je ne lui ai jamais parlé », a affirmé pour sa part Silvio Berlusconi au cours d’une réunion électorale dans la région de Basilicate qui doit élire son président demain. « Ce que j’ai lu concernant ses déclarations m’a toujours fait penser qu’il s’agissait de choses inventées et absurdes », a-t-il ajouté. Dans le dernier procès en cours de la série Ruby, dans lequel Silvio Berlusconi est accusé de subornation de témoin et qui est toujours en cours, le tribunal avait rejeté en janvier la demande d’Imane Fadil de se constituer partie civile.

    • #Italie
    • #Silvio Berlusconi
    Simplicissimus @simplicissimus
    • @cdb_77
      CDB_77 @cdb_77 17/03/2019

      #Imane_Fadil #Berlusconi #Silvio_Berlusconi #justice #procès #Italie #empoisonnement #radioactivité #témoin

      CDB_77 @cdb_77
    • @cdb_77
      CDB_77 @cdb_77 17/03/2019

      #Ruby_Ter, lo sfogo della teste Imane Fadil:"Pago ancora oggi per aver detto la verità su Berlusconi"

      «Tutto questo è iniziato quando avevo 25 anni e oggi ne ho 34. Ho sempre detto la verità e ho respinto tanti tentativi di corruzione da parte di Silvio Berlusconi e del suo entourage. Oggi non è una bella giornata». Imane Fadil, una delle testimoni chiave nel processo Ruby Ter, si sfoga così, uscendo dal tribunale di Milano, una volta ricevuta la notizia della sua esclusione dalle parti civili nel procedimento che vede l’ex premier a processo per corruzione in atti giudiziari. «Per ciò che succedeva ad Arcore noi abbiamo pagato più di tutte quelle che - continua - hanno deciso invece di farsi corrompere». Imane Fadil è in procinto di pubblicare un libro sulla sua storia

      ▻https://www.youtube.com/watch?v=7qIUfqcoKds

      CDB_77 @cdb_77
    • @cdb_77
      CDB_77 @cdb_77 17/03/2019

      Italie : Mort mystérieuse d’Imane Fadil, témoin des soirées « bunga bunga » de Silvio Berlusconi

      Ancienne mannequin d’origine marocaine et témoin clé du #procès Ruby, elle aurait été victime d’un empoisonnement aux substances radioactives.

      ▻https://www.huffpostmaghreb.com/entry/italie-mort-mysterieuse-dune-mannequin-marocaine-temoin-des-soirees

      CDB_77 @cdb_77
    • @cdb_77
      CDB_77 @cdb_77 17/03/2019

      La morte di Imane Fadil e la sua intervista a Servizio Pubblico

      Teste chiave dell’accusa nei processi sul caso Ruby, era ricoverata da gennaio in ospedale. Ai famigliari e all’avvocato avrebbe detto: «Temo di essere stata avvelenata» Questa è la sua intervista con Francesca Fagnani, in cui aveva raccontato di aver partecipato alle «cene eleganti» a casa Berlusconi.

      ▻https://www.youtube.com/watch?v=2j1wsRkMzHY

      CDB_77 @cdb_77
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 13/03/2019

    How to Build a Dynamic Website Using #google Sheets and Sinatra
    ▻https://hackernoon.com/how-to-build-a-dynamic-website-using-google-sheets-and-sinatra-2065da1eb

    Check out the completed site from this article here, or the ProductHunt launch page here.I love the #fintech space. So much that I recently completed a program through Oxford University on the subject! This also means that I find myself trying to look up all the fintech-related conferences around the world on a regular basis to try and keep track of them as well as where they are located. Eventually, I decided that this was getting to be a bit repetitive and did what any self-respecting techie would do: built a spreadsheet. For a while, that was it. I had this wonderful master spreadsheet of just about every fintech conference in the world neatly cataloged by location and month of the year and my life was once again simple and all was in order.Then not too long ago, I came across a tweet (...)

    #web-development #oauth #ruby

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 9/02/2019

    3 Common Mistakes To Avoid When Building Your First #shopify App
    ▻https://hackernoon.com/3-common-mistakes-to-avoid-when-building-your-first-shopify-app-cc9006f0

    https://cdn-images-1.medium.com/max/500/0*qLp1B4THul_pr7Fu.jpg

    Shopify has fundamentally changed the way we think of e-commerce and building online businesses, You can now create a beautiful eCommerce website, list products, and start making money in less than a day because of Shopify, and in a world where Shopify has a market cap of > $18 billion, over 600,000 merchants, and Shopify partners and developers have made more than $430 million in services and apps, it’s no wonder that more and more people are interested in building and monetizing Shopify apps.And, I should know because I built my first Shopify app to do just that.But, I’ve also learned a few things after developing and getting my first Shopify app — Shoppy: A Better Slack Bot — released on the App store, and I’d like to share 3 common mistakes that I made when making my first app so you can (...)

    #programming #shopify-apps #build-shopify-app #ruby-on-rails

    • #Shopify
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 7/02/2019

    How to Improve #ruby on Rails App Performance
    ▻https://hackernoon.com/how-to-improve-ruby-on-rails-app-performance-6802dc71bb9c?source=rss----

    https://cdn-images-1.medium.com/max/1024/1*P6CO-kt_dt7wc9m-A-c7Yg.jpeg

    Application speed and performance are crucial when it comes to project success. Users expect the app to load as quickly as possible, and our main task is to meet their expectations.Both experienced IT professionals and junior developers have tried to address the problem of Ruby on Rails optimization. Fortunately, we know what this is about. With our tips on how to improve Ruby on Rails’ app performance, your project will surely achieve success.3 Things to Keep in Mind Before You Start to Optimize Your AppTo achieve the desired results, you need to learn more about the topic. So before we proceed with the detailed description of steps to take, take a look at the following factors:Performance MeasurementBack in 2011, almost half of all Internet users expected an app page to load in 3 (...)

    #web-development #ruby-on-rails #ruby-on-rails-development #performance-optimization

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 18/01/2019

    Dockerizing an existing #rails-Postgresql app with #docker compose
    ▻https://hackernoon.com/dockerizing-an-existing-rails-postgresql-app-with-docker-compose-a30a7e1

    https://cdn-images-1.medium.com/max/1024/1*Z_rudTXVoO7O2rQe-P8KEQ.png

    A quickstart to dockerizing your existing Rails-Postgresql application with Docker composeDockerfiles — Define the projectCreate Dockerfile in the app’s root directory, the project is defined by adding the dependencies to the Dockerfile.FROM #ruby:2.5.3RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejsRUN mkdir /myappWORKDIR /myappCOPY Gemfile /myapp/GemfileCOPY Gemfile.lock /myapp/Gemfile.lockRUN bundle installCOPY . /myappMake sure add the specific version of ruby that your application usesDocker-compose — Build the projectNow, create docker-compose.yml file in the root directory. This file does the magic of building your app from the current directory and running the pre-built postgresql image with the web appversion: ’3’services: db: image: (...)

    #containerization #docker-swarm

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 12/01/2019

    Freeze Your Constants in #ruby
    ▻https://hackernoon.com/freeze-your-constants-in-ruby-49e3238c19ef?source=rss----3a8144eabfe3---

    https://cdn-images-1.medium.com/max/1024/1*OM6P3_cnsr1SRg_k8hXdzg.jpeg

    Photo by Agustín Lautaro on UnsplashYears ago I was working on a very large Ruby on Rails codebase that used constants to hold lists of credit card transaction states. For example:# example 1class Txn ACTIONABLE_STATES = [:authenticated, :to_settle] DONE_STATES = [:settled, :declined] # ...endHowever, we had a bug in which a settled transaction could pass a txn.state.in? ACTIONABLE_STATES check. After hours of searching, we found the offending code in a completely different part of the codebase.# example 2all_states = ACTIONABLE_STATES.concat(DONE_STATES)all_states.each do |state| # ...endIf you’re already knowledgeable of the Ruby Array class, you’ve probably spotted the offending line already. #concat mutates the original list, even though it doesn’t end with the idiomatic !, and (...)

    #software-development #programming #technology #software-engineering

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 10/01/2019

    Thousands of users on day 1, prototype to production in the Javascript world
    ▻https://hackernoon.com/thousands-of-users-on-day-1-prototype-to-production-in-the-javascript-wo

    https://cdn-images-1.medium.com/max/1024/1*dN_e5ugnhFl3v7j8JD8Jkw.jpeg

    Thousands of users on day 1: Prototype to Production in the Javascript orldRecently, my friend talked to me about a golden startup opportunity that he was considering. His client was ready to advance the cost of the development for an app that my friend would build but would also keep ownership. That is simply the perfect starter for SaaS business.Unfortunately, my friend isn’t a programmer and he was looking for advice to build a development team. My first reaction was to tell him that he probably only require an MVP and that I can definitely do it for him. That will buy him some time to build a team and he will already get the ball rolling with users and (potentially) revenue from the app. Best of both worlds, right?After years of building hundreds of side projects, here’s how I (...)

    #graphql #prototype-to-production #ruby-on-rails #react #apollo

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 20/12/2018

    Top 7 Websites Built with #ruby on Rails Everyone Must See
    ▻https://hackernoon.com/top-7-websites-built-with-ruby-on-rails-everyone-must-see-e5c97fe88f56?s

    The Web’s Top 7 Websites Built with Ruby on Rails(Photo by Carl Heyerdahl on Unsplash)Yes, Ruby on Rails (RoR) is a real deal. And yes, it is great for building beautiful and functional websites. More and more web developers and designers realize the advantages of this framework and begin learning Ruby. Numerous noteworthy web apps built with RoR appear on the scene every day. Some of your favorite sites may actually be working on Ruby as we will show below.We decided to collect together the most deserving examples of brilliant web design done with the help of Ruby on Rails. Perhaps, some of them will finally convince you that it is a good idea to switch to Ruby, hire a great Ruby on Rails development team, and build your next project using RoR. So without further ado, here are the top (...)

    #ruby-on-rails-development #web-development #ruby-on-rails #ruby-on-rails-sites

    • #Ruby on Rails
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 5/12/2018

    Two pillars of automated testing
    ▻https://hackernoon.com/two-pillars-of-automated-testing-13d0c2c6a7c?source=rss----3a8144eabfe3-

    https://cdn-images-1.medium.com/max/1024/1*RO9SC_W-ZTz3_NfFAIeQMQ.jpeg

    When your team has been asked to move fast and break things, methodological purity can fast give way to sprint-speed pragmatism. However, this phrase — once the credo of Facebook — doesn’t mean we can take risks in the QA department. It’s really an admonition for us to open our eyes to new opportunities instead of closing them and praying that things will stay the same. A kind of rallying cry to be disruptive and try (and discard, if necessary) new things quickly.What’s all this got to do with testing and QA?Quite a bit. In our experience, QA is one of the slowest moving disciplines across the development landscape. This goes for both the supply side and the demand side of the market. It’s rare for new testing technology to reach the market in the first place. And equally, it’s not so common for (...)

    #ruby #python #cypress #javascript #automated-testing

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 19/11/2018

    How to quickly get the dates for the first 10 Mondays using #ruby
    ▻https://hackernoon.com/how-to-quickly-get-the-dates-for-the-first-10-mondays-using-ruby-ce90669

    https://cdn-images-1.medium.com/max/975/0*l2j5gP1mDb-rsf7h.png

    If you are sometimes feeling bored and want to entertain yourself, then rather than aimlessly scrolling in a social media, you can try to learn something new. For example, you can learn something that you have not known that you can do with Ruby: Getting the dates for next Mondays, Tuesdays or any other day of the week.Here is how you do it:▻https://medium.com/media/9302ec923c0527390247b753e813cfd0/hrefAfter you execute it, you will see the list of the dates:We can replace the part monday with any other name of the days of the week in English and it will work fine.I know that this may look like something that may not be that much benefit, but maybe, you could use it in a personal #script that you have. In a better case, I hope this inspires you to explore more in the documentation of a (...)

    #date #programming #tricks

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 7/11/2018

    Ruby On Rails: This Reason To Choose ROR For #web #development
    ▻https://hackernoon.com/ruby-on-rails-this-reason-to-choose-ror-for-web-development-a0f1d4e5227?

    https://cdn-images-1.medium.com/max/800/1*Cyxn8uUYPP6YYXtuXZPjuw.png

    Nowadays ROR is most trending and most popular development tools in the market. It is use for back-end development.Why use Ruby on Rails as prevented to other programming languages and platforms?In ROR : Ruby is language of coding and Rails is one type of framework. Mostly use of ROR to make Chat application. If you are asking most IT professionals what you should use for develop your app chances are the answer will be ROR.Here we provide you why we can use ROR for your next application development.1.Less Coding is benefits of it.Ruby on rails is about writing less code that does more.Representational State Transfer (REST) is biggest advantage and compare to other language, it is too good.Some ROR principal like CRUD (Create, Read, Update, Delete), KISAP (keep it simple as possible), and (...)

    #ruby-on-rails #web-development #ruby-on-rails-development

    • #Ruby on Rails
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 30/07/2018

    Ruby on Rails to Lucky on Crystal: Blazing fast, fewer bugs, and even more fun.
    ▻https://hackernoon.com/ruby-on-rails-to-lucky-on-crystal-blazing-fast-fewer-bugs-and-even-more-

    https://cdn-images-1.medium.com/max/1024/1*0XvWVr82mZGab_M2sXtH8g.png

    I love Ruby and I love Rails, but I’ve found myself searching for something more. Something fast so I don’t need to add caching. Something type-safe so customers see fewer bugs. Something fun to use so I actually enjoy building applications.Would Elixir scratch my itch? It was a good start. It made it fun to write beautiful code, but I still encountered bugs in production that could have been caught with a better type system.There’s Elm. It’s beautiful. Fun. But only available on the front-end.I played briefly with Go and Rust, but I felt like the type-system and syntax was too unfriendly for me to enjoy using them.Finally, I tried CrystalAt first, I was pretty put-off by Crystal. It looked almost identical to Ruby, so why would I try it?Well eventually I did try it, and I fell in love (...)

    #programming #luckies #lucky-on-crystal #ruby-on-rails #web-development

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 10/07/2018

    #rails 5 Imgur Clone Tutorial…Part 2
    ▻https://hackernoon.com/rails-5-imgur-clone-tutorial-part-2-29b02fadb254?source=rss----3a8144eab

    https://cdn-images-1.medium.com/max/1024/1*T_hnqYrj61dyo1TVPrDolw.jpeg

    Rails 5 Imgur CloneWelcome to the second and final part of the Rails 5 Imgur clone, in this part, we will build the image uploading, manage configurations and then deploy to Heroku.Be sure to check out the first part here if you haven’t already.First, signup and verify a new cloudinary account by going here, it’s my referral link to cloudinary which will give me little bit extra space.Let’s start by adding few more variables to our cloudinary configuration at config/initializers/cloudinary.rbRemember, the cloudinary.rb has to exactly in that folder, if you open the config/application.rb you’ll see in the comments written it says the config has to be there, it’s just how rails configuration works.Make sure your cloudinary.rb looks something like this.Cloudinary.config do |config| (...)

    #rails-5-imgur #ruby-on-rails #rails-5-imgur-clone #rails-5

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 28/06/2018

    Pros & Cons you must know before using Ruby on Rails for your startup.
    ▻https://hackernoon.com/pros-cons-you-must-know-before-using-ruby-on-rails-for-your-startup-234e

    https://cdn-images-1.medium.com/max/954/1*nOKHeqxvecu9gq5dSFoYAw.png

    Selecting a technology in which you will develop a web app is a challenge that every product or business owner has to face. If you make the right choice, it will give you a solid base for growth and expansion. If you choose wrong though, it may cost you an arm and a leg.Ruby on Rails (RoR) is a popular web framework for web application development built on the Ruby #programming language. As a full-fledged web framework, #ror offers many components of a successful web project, such as an ORM (Object Relational Mapping) system for business data and logic, routing, and application management out of the box. Still, to decide whether RoR is a good fit for your project, you need to know what makes this framework different from others. To help you build a deeper understanding of RoR, we are (...)

    #ruby-on-rails #ruby-on-rails-development #web-development

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 25/06/2018

    Make a slideshow using #ruby on Rails in 50 lines of code and no JavaScript.
    ▻https://hackernoon.com/make-a-slideshow-using-ruby-on-rails-in-50-lines-of-code-and-no-javascri

    https://cdn-images-1.medium.com/max/858/1*C6RRAHPaB5oVMJNWVewkVg.gif

    Let’s face it, nowadays, even the most complex web development tasks are expected to be written in JavaScript. Having said that, the consistently changing landscape of JavaScript is confusing and makes productivity difficult. And it is not as if JavaScript is the most user friendly language in the world. JavaScript is as popular as it is because it has always been a necessary evil in frontend web development.However, there was a time where JavaScript only existed to be sprinkled into your frontend to make it feel more dynamic. In recent years, in a search for perceived performance, large corporations began writing the crux of their applications in JavaScript in the frontend. This considerably shrunk the requirements for backend work in these applications. It is no secret that many (...)

    #ruby-on-rails #frontend-development #framework #javascript-frameworks

    • #JavaScript
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 13/06/2018

    Assigns in #ruby on Rails — How you can test instance variables in views and controllers
    ▻https://hackernoon.com/assigns-in-ruby-on-rails-how-you-can-test-instance-variables-in-views-an

    https://cdn-images-1.medium.com/max/1024/1*s3Nbb7xovm9gmslLChQqwA.png

    Ruby on Rails has special helper methods that allow you to test instance variables in your app’s views and controllers. These are assign and assigns, which stores a hash of the instance variables you can access in your #rspec tests.This tutorial will guide you through how to write a simple controller and view with corresponding tests. These will cover assigning instance variables depending on whether certain conditions are met.How assign and assigns workController testsView testsLearn moreHow assign and assigns worksIf you want to set a controller or view’s instance variables in your RSpec test, then call assign either in a before block or at the start of an example group. The first argument is the name of the instance variable while the second is the value you want to assign to it.before do (...)

    #assigns-in-ruby-on-rails #ruby-on-rails #test-instance-variables

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
0 | 25 | 50

Thèmes liés

  • #php
  • #ruby-on-rails
  • #rails
  • programminglanguage: ruby
  • #python
  • #dev
  • #web
  • programminglanguage: ruby on rails
  • #web-development
  • #programming
  • #clevermarks
  • #javascript
  • #ror
  • #framework
  • #logiciel
  • #ruby-on-rails-development
  • #politique
  • #procès
  • #code
  • technology: html
  • #jquery
  • #mac
  • #architecture
  • #gp
  • #apache
  • #serveur
  • #groupe
  • #mysql
  • #s3
  • #backup
  • #spip
  • #microformats
  • #google
  • #script
  • #ruby
  • #berlusconi
  • #italie
  • #justice
  • #markdown
  • #fronde