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
diff --git a/assets/components/SidebarChat.svelte b/assets/components/SidebarChat.svelte | |
index 1b1a6bcf..70be23ec 100644 | |
--- a/assets/components/SidebarChat.svelte | |
+++ b/assets/components/SidebarChat.svelte | |
@@ -10,31 +10,30 @@ let unread = 0; | |
const api = getContext('api'); | |
const byName = (a, b) => a.name.localeCompare(b.name); | |
-function loadConversations() { | |
- api.execute('getUser', { |
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
#!/usr/bin/perl -w | |
use YAML; | |
my $yaml=Load('--- | |
a: | |
b: 1 | |
c: 2 | |
e: 3'); | |
$yaml->{a}->{d}=2; |
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
diff --git a/lib/Mojo/Promise.pm b/lib/Mojo/Promise.pm | |
index 19fdd8617..a84ff6006 100644 | |
--- a/lib/Mojo/Promise.pm | |
+++ b/lib/Mojo/Promise.pm | |
@@ -2,6 +2,7 @@ package Mojo::Promise; | |
use Mojo::Base -base; | |
use Mojo::IOLoop; | |
+use Mojo::Util 'deprecated'; | |
use Scalar::Util 'blessed'; |
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
Refreshing Terraform state in-memory prior to plan... | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
google_compute_network.production: Refreshing state... (ID: production-network) | |
google_sql_database_instance.dev: Refreshing state... (ID: dev-rg) | |
google_dns_managed_zone.r12-no: Refreshing state... (ID: r12-no) | |
google_sql_database.rg: Refreshing state... (ID: dev-rg:rg) | |
google_compute_subnetwork.production-eu: Refreshing state... (ID: europe-west1/production-eu-subnet) | |
google_dns_record_set.dev-solr-lb: Refreshing state... (ID: r12-no/dev-solr.r12.no./A) |
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
[0m[1mRefreshing Terraform state in-memory prior to plan...[0m | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
[0m | |
[0m[1mgoogle_compute_network.production: Refreshing state... (ID: production-network)[0m | |
[0m[1mgoogle_sql_database_instance.dev: Refreshing state... (ID: dev-rg)[0m | |
[0m[1mgoogle_dns_managed_zone.r12-no: Refreshing state... (ID: r12-no)[0m | |
[0m[1mgoogle_sql_database.rg: Refreshing state... (ID: dev-rg:rg)[0m | |
[0m[1mgoogle_compute_subnetwork.production-eu: Refreshing state... (ID: europe-west1/production-eu-subnet)[0m | |
[0m[1mgoogle_dns_record_set.dev-solr-lb: Refreshing state... (ID: r12-no/dev-solr.r12.no./A)[0m |
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
omg |
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
omg |
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
extern crate piston_window; | |
extern crate find_folder; | |
use core::f64::consts::PI; | |
use piston_window::*; | |
pub struct App { | |
window: PistonWindow, // OpenGL drawing backend. | |
ball_x: f64, |
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
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
get '/' => sub { | |
my $c = shift; | |
$c->render_later; | |
$c->ua->get('/internal', sub { | |
my ($ua,$tx)=@_; | |
$c->render(text=>$tx->res->json('/res')); | |
}); |
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
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
_setup_status_page(app); | |
get '/' => sub { | |
my $c = shift; | |
$c->render_later; | |
$c->ua->get('/internal', sub { | |
my ($ua,$tx)=@_; |