This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker | |
#: Fonts {{{ | |
#: kitty has very powerful font management. You can configure | |
#: individual font faces and even specify special fonts for particular | |
#: characters. | |
# font_family monospace | |
# bold_font auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"emojis": [ | |
{"emoji": "👩👩👧👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👩👩👧👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👩👩👦👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👨👩👧👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feature_name: n_orders | |
entity_names: [customer_id] | |
type: STREAM | |
source: orders | |
query: | | |
CREATE OR REPLACE FUNCTION n_orders_per_customer_id( target_uuid varchar ) | |
RETURNS TABLE (customer_id varchar, n_orders number) | |
as | |
$$ | |
-- get the customer_id for the specific order so we only calculate the feature for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns bulgogi.main | |
" | |
A bulgogi prototype. Not seasoned yet. ⚠️ | |
An exploration on how a simple feature engineering system could look like in Clojure. | |
Features are defined as pure functions and take an input-data map as input: | |
{:input-data {:email \"[email protected]\" | |
:current-amount 3455 | |
:previous-amount 2344}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: plotit <target (required)> <x> <y> <width> <height> | |
function plotit -d="Prints DVC plots on the terminal" -a target x y width height | |
if test -z "$target" | |
echo Please provide a target csv file. | |
return 1 | |
end | |
# set `-x` or `-y` if they are provided | |
set x_or $x "" | |
set y_or $y "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the_plan <- | |
drake::drake_plan( | |
# cached data from previous analyses | |
orders = get_orders(), | |
matches = get_matches(cols_in_orders = names(orders)), | |
nearby = get_nearby(), | |
emailage = get_emailage(orders$order_id), | |
plz_and_area = get_plz_and_area(), | |
legal_form_mapping = get_legal_form_mapping(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
package example; | |
message TestPayload { | |
int32 id = 1; | |
string name = 2; | |
} | |
message TestResponse { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#* Echo back the input | |
#* @param msg The message to echo | |
#* @get /echo | |
function(msg=""){ | |
list(msg = paste0("The message is: '", msg, "'")) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#* Echo back the input | |
#* @param msg The message to echo | |
#* @get /echo | |
function(msg=""){ | |
list(msg = paste0("The message is: '", msg, "'")) | |
} |
NewerOlder