main =
Browser.element
{ init = App.Update.init
- , update = App.Update.update
+ , update = Update.Fetch.andThenFetch App.Fetch.fetch App.Update.update
, view = App.View.view
, subscriptions = App.Update.subscriptions
}
This file contains hidden or 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
hledger print -f in-out.csv | |
2019/12/01 | |
hledger: both amount-in and amount-out have a value | |
amount-in: 0 | |
amount-out: 10 | |
record: the CSV record is: "01/12/19","foo","0","10" |
This file contains hidden or 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
2019/11/07 set initial assets balance | |
(assets:banks:BOA) USD50 | |
(assets:banks:CITI) USD500 | |
2019/11/10 Some payment from BOA | |
expenses:food USD60 ; <- This means "assets:banks:BOA" should be negative | |
assets:banks:BOA |
This file contains hidden or 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
P 2019-01-01 USD ILS5 | |
2019/01/01 set initial assets balance | |
(assets:banks:ils) ILS500 | |
(assets:banks:us) USD100 | |
2019/11/07 Salaries Israel | |
expenses:salary:Israel ILS400 | |
assets:banks:ils |
This file contains hidden or 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
<?php | |
/** | |
* @file | |
* Contains \HedleyMigrateUsers. | |
*/ | |
/** | |
* Class HedleyMigrateUsers. | |
*/ |
This file contains hidden or 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
APIVersion: v1.6.0 | |
name: my-drupal8-site | |
type: php | |
docroot: "" | |
php_version: "7.1" | |
webserver_type: nginx-fpm | |
router_http_port: "80" | |
router_https_port: "443" | |
xdebug_enabled: false | |
additional_hostnames: [] |
This file contains hidden or 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
ddev composer create drupal-composer/drupal-project:8.x-dev --stability dev --no-interaction | |
Warning: Any existing contents of the project root (/Users/itama/Sites/my-drupal8-site) will be removed | |
Removing any existing files in project root | |
Executing composer command: composer create-project drupal-composer/drupal-project:8.x-dev /var/www/html/.tmp_ddev_composer_create_VjDray --stability dev --no-interaction | |
Installing drupal-composer/drupal-project (8.x-dev 4229acea4bb6181f421e8dd0e72a02ccdc98df1d) | |
- Installing drupal-composer/drupal-project (8.x-dev 4229ace): Cloning 4229acea4b from cache | |
Created project in /var/www/html/.tmp_ddev_composer_create_VjDray | |
> DrupalProject\composer\ScriptHandler::checkComposerVersion | |
Loading composer repositories with package information |
This file contains hidden or 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
type alias Site = | |
{ label : String | |
, machineName : String | |
, statusCount : EveryDict Status Int | |
-- For UI puropses | |
, showStatus : EveryDict Status Bool | |
} | |
This file contains hidden or 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
function show_query($sale_nid) { | |
$query = db_select('node', 'n'); | |
$query->fields('n', ['nid', 'uid']); | |
$field_names = [ | |
'field_sale', | |
'field_user', | |
'field_website_bidder_id', | |
]; |
This file contains hidden or 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
module Backend.Endpoint | |
exposing | |
( (</>) | |
, AccessToken | |
, BackendUrl | |
, EndPoint | |
, Entity | |
, EntityDictList | |
, EntityId | |
, EntityUuid |