Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
This guide was adapted from https://gist.github.com/niw/e4313b9c14e968764a52375da41b4278#running-ubuntu-server-for-arm64
initialize
: once, when the controller is first instantiatedconnect
: anytime the controller is connected to the DOMIn this tutorial we are going to show how easy it is to build a notification feed using GetStream.io. First of all, let's quickly introduce you to our fictional example app. It's called bug-your-friends.com and allows you interact with your friends, ping them, follow them or poke them. Here's a quick list of example interactions:
Whenever a user is part of one of these interactions, we want to update his notification feed, update the number of unseen and unread
/* responsive version for sizes, we don't generate xs because it is arleady generated by bootstrap */ | |
@each $breakpoint in map-keys($grid-breakpoints) { | |
@if $breakpoint != "xs" { | |
@include media-breakpoint-up($breakpoint) { | |
$infix: breakpoint-infix($breakpoint, $grid-breakpoints); | |
@each $prop, $abbrev in (width: w, height: h) { | |
@each $size, $length in $sizes { | |
.#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length !important; } | |
} | |
} |
config.ignore_if do |exception, options| | |
# use beginning to prevent non unique keys (they include object ids and such) | |
key = exception.message.split("for").first[0..30] | |
ExpirableKey.new(key).exist_with_renew | |
end |
A Pen by Javan Makhmali on CodePen.