- Platform: Browser
- https://github.com/organizations/{ORGNAME}/dashboard/issues
- Platform: Browser
# | |
# Important note: | |
# - traefik reboot was required to pick up the new / updated config | |
# - `kamal traefik reboot -d <destination>` | |
# | |
service: med1-core | |
traefik: | |
args: | |
entryPoints.web.address: ":80" |
<div | |
class="dialog-wrapper p-5 md:p-8 fixed w-full h-full left-0 top-0 z-90 flex items-start hidden flex overflow-y-auto backdrop-<%=@backdrop%>" | |
id="<%= @id %>" | |
data-controller="dialog" | |
data-dialog-target="dialogWrapper"> | |
<div class="dialog-backdrop absolute w-full h-full top-0 left-0 opacity-0"></div> | |
<div class="dialog relative z-20 m-auto w-full text-brand-primary bg-white rounded-lg shadow-xl opacity-0 translate-y-32 <%= @max_width %>"> | |
<%= content %> | |
</div> | |
</div> |
module ActiveRecord | |
class QueryLocator | |
def call(name, started, finished, unique_id, payload) | |
# filter caller locations to application backtrace (filter all gem calls) | |
# see http://ruby-doc.org/core-2.5.0/Kernel.html#method-i-caller_locations for more options | |
caller_names = caller_locations.select { |line| line.to_s =~ /#{Rails.root.to_s}/ } | |
# use the last caller in backtrace | |
caller_name = caller_names.first | |
Rails.logger.debug ["Notification:", name, started, finished, unique_id, caller_name, payload].join(" - ") |
ECommerce Solution based on Ruby on Rails
Install freeTDS (http://freetds.schemamania.org/)
brew install freetds
for OSX
Checkout what's required for Ubuntu.
Install tiny_tds for using freetds on
package one.flak.flinkgeomesa; | |
import com.google.gson.JsonElement; | |
import com.google.gson.JsonParser; | |
import java.io.IOException; | |
import java.nio.charset.Charset; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; |
fizz = ["", "", "Fizz"].lazy.cycle | |
buzz = ["", "", "", "", "Buzz"].lazy.cycle | |
pattern = fizz.zip(buzz).map(&:join) | |
p pattern.take(15).to_a.join(", ") | |
numbers = (1..Float::INFINITY).lazy.map(&:to_s) | |
fizzbuzz = numbers.zip(pattern).map(&:max) |
# thanks to @rainchen | |
class BaseUploader < CarrierWave::Uploader::Base | |
storage :file | |
after :remove, :delete_empty_upstream_dirs | |
# e.g.: "uploads/venue/photo/000/000/003/thumb_Limoni_-_overall-resized-1.jpg" | |
def store_dir | |
"#{base_store_dir}/#{model_id_partition}" | |
end |