Solution: Ubuntu distros lower than 18.10
will not work in this laptop, as minimum kernal version required is 4.18
.
So install ubuntu 18.10 / xubuntu 18.10 / lubuntu 18.10 / kubuntu 18.10 in UEFI
mode
class Extractor | |
def strip(field) | |
field&.gsub(/\n/, " ")&.gsub(/<.*?>/, "") | |
end | |
def extract(vertical) | |
questionnaire = X_Rated::Quoting::ChopinEngine.questionnaire_for({ Site: 'uk' }, vertical: vertical) | |
qs = questionnaire.questions(unasked: true) |
Solution: Ubuntu distros lower than 18.10
will not work in this laptop, as minimum kernal version required is 4.18
.
So install ubuntu 18.10 / xubuntu 18.10 / lubuntu 18.10 / kubuntu 18.10 in UEFI
mode
As a developer
I want to get better at making my PRs easier to review
So that they get reviewed sooner and I can merge faster => shorter cycle times
As a code reviewer
I want PRs that are easier to review
So that it's less work
# VTE | |
apt-get install autoconf libglib2.0-dev gtk-doc-tools libpcre2-dev libgirepository1.0-dev gperf libvte-2.91-dev libvte-dev valac unzip | |
wget https://github.com/thestinger/vte-ng/archive/0.46.0.a.zip | |
unzip 0.46.0.a.zip | |
rm 0.46.0.a.zip | |
cd vte-ng-0.46.0.a | |
bash autogen.sh | |
make && make install | |
cd ~ | |
rm -rf vte-ng-0.46.0.a/ |
This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.
The Atom documentation is excellent. It's highly worth reading the flight manual.
stats = Sidekiq::Stats.new | |
stats.queues | |
stats.enqueued | |
stats.processed | |
stats.failed |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
======= Prolbem ================================================================================================================= | |
I have installed : ruby-2.0.0,postgres-9.2 , now in rails app when I execute: | |
rake db:create , command I get: | |
PG::InvalidParameterValue: ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) | |
HINT: Use the same encoding as in the template database, or use template0 as template. | |
: CREATE DATABASE "my_db_name" ENCODING = 'unicode'....... | |
bin/rake:16:in `load' |
module InventoryItems(Command(..), Event(..), handle) where | |
import Data.Maybe(isJust) | |
type Id = String | |
type Name = String | |
type Amount = Int | |
data Command = CreateInventoryItem Id | |
| RenameInventoryItem Id Name |