I hereby claim:
- I am rokumatsumoto on github.
- I am sametg (https://keybase.io/sametg) on keybase.
- I have a public key ASAjPyfUH3GPYbtZjMhuDxGseKRf1602hsD8ZwWX_y32Iwo
To claim this, I am signing this object:
%i(feature request).each do |type| | |
config.when_first_matching_example_defined(type: type) do | |
# enable db support only for feature or request specs | |
require 'support/db' | |
end | |
# include these Helpers only into feature or request specs | |
config.include(Helpers, type: type) | |
end |
.d-flex | |
%hr.my-auto.flex-grow-1/ | |
.px-4 SOME TEXT HERE | |
%hr.my-auto.flex-grow-1/ |
https://github.com/k0kubun/hamlit/issues/108 | |
In Rails | |
ActionView::Template.handler_for_extension("haml") | |
=> #<Hamlit::RailsTemplate:0x005593caad2150> | |
In Sinatra, or any Tilt environment | |
Tilt["haml"] |
#!/bin/bash | |
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport |
#!/bin/bash | |
# `myDB` is your database | |
# `OWNER = "myself"` is your role (default is your username, or check psql \du) | |
# tip: when Postgres is installed, it automatically creates a database user that matches your username, | |
# so that you can get started right away. | |
locale-gen tr_TR.UTF-8 |
require 'nokogiri' | |
require 'open-uri' | |
doc = Nokogiri::HTML(open('http://hac.gov.tr/', open_timeout: 100)) | |
File.open("hac.html", "wb") do |f| | |
f.write(doc.to_html) | |
end | |
doc1 = File.open("hac.html") { |f| Nokogiri::HTML(f) } |
I hereby claim:
To claim this, I am signing this object: