Current Values
leadSource | Count |
---|---|
"" | 892 |
Direct | 4939 |
Directory | 1063 |
Friends and Family | 1 |
Google Ad Words | 2 |
Google PPC | 7233 |
def sum_price(items: Enumerable<RespondTo[price: Integer]> | |
# ... | |
end |
export class UserList extends React.Component { | |
handleClick = (item) => console.log('You clicked ', this.props.group); | |
render() { | |
return ( | |
<HugeListOfItems | |
group={group} | |
handleClick={this.handleClick} | |
/> | |
); |
// Overly complicated search form which uses custom state management 👎 | |
function SearchBox() { | |
const [queryParams, setQueryParams] = useState({ showAllResults: false }); | |
const handleSearchChange = (ev) => { | |
const eventValue = ev.target.value; | |
setQueryParams({ ...queryParams, q: eventValue }); | |
} | |
leadSource | Count |
---|---|
"" | 892 |
Direct | 4939 |
Directory | 1063 |
Friends and Family | 1 |
Google Ad Words | 2 |
Google PPC | 7233 |
On all of the FF websites, we currently have a pixel installed with this code:
<script src="https://cdn.flooringstores.com/js/floorforce-analytics.min.js"></script>
It needs to be replaced with this new code, so it points to the new home of the pixel:
<script src="https://www.floorlytics.broadlu.me/floorforce/scitylana.min.js"></script>
require 'bundler/inline' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'tty-markdown' | |
end | |
print TTY::Markdown.parse <<~MSG | |
```ruby | |
def test |
# frozen_string_literal: true | |
source "https://rubygems.org" | |
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | |
# gem "rails" | |
gem "puma", "~> 3.12" | |
gem "guard-puma", "~> 0.5.0" |
--- | |
version: '3.6' | |
services: | |
pubsub: | |
image: adhawk/google-pubsub-emulator | |
ports: | |
- 8085:8085 |
CREATE EXTENSION IF NOT EXISTS "unaccent"; | |
CREATE OR REPLACE FUNCTION slugify("value" TEXT) | |
RETURNS TEXT AS $$ | |
-- removes accents (diacritic signs) from a given string -- | |
WITH "unaccented" AS ( | |
SELECT unaccent("value") AS "value" | |
), | |
-- lowercases the string | |
"lowercase" AS ( |