Skip to content

Instantly share code, notes, and snippets.

View alirezazarghi's full-sized avatar

Ali Reza Zarghi alirezazarghi

View GitHub Profile
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.Spring
import androidx.compose.animation.core.VectorConverter
import androidx.compose.animation.core.spring
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.gestures.awaitFirstDown
import androidx.compose.foundation.gestures.forEachGesture
@alirezazarghi
alirezazarghi / clock-and-weather-ip.markdown
Created November 30, 2019 14:01
Clock and Weather IP

Clock and Weather IP

I have an old iPhone 4s that I wished to repurpose as a clock/nightlight. I expanded it to retrieve the weather based on the user's ip address.

A Pen by Steven Estrella on CodePen.

License.

@alirezazarghi
alirezazarghi / README.md
Created June 29, 2019 04:45 — forked from tristen/README.md
Overlay Popup

##Overlay popup

The key file in this example is follower-canvas which applies the styling and draws the popup using canvas on the map. There is additional fallback support for IE < 9 by using Vector Markup Language, or vml.

Contributors