Skip to content
  • Features
  • Business
  • Explore
  • Marketplace
  • Pricing
Sign in or Sign up
  • Watch 42
  • Star 482
  • Fork 234

snapcore/snapcraft

Code Issues 63 Pull requests 20 Projects 2 Wiki Insights
Permalink
Switch branches/tags
  • Branches
  • Tags
1.x 1790 beta bug/1676725/registration_tests debian master rust-musl
Nothing to show
refs/tags 2.38 2.37 2.36.1 2.36 2.35 2.34 2.33 2.32 2.31 2.30 2.29.1 2.29 2.28 2.27.1 2.27 2.26 2.25 2.24 2.23 2.22.1 2.22 2.21 2.20 2.19 2.18.1 2.18 2.17 2.16 2.15.1 2.15 2.14 2.13.1 2.13 2.12.1 2.12 2.11 2.10.1 2.10 2.9 2.8.8 2.8.7 2.8.6 2.8.5 2.8.4 2.8.3 2.8.2 2.8.1 2.8 2.7 2.6.1 2.6 2.5 2.4 2.3.2 2.3 2.2.2 2.2.1 2.2 2.1.1 2.1 2.0.1 2.0 1.1.0 1.0.2 1.0.1 1.0 0.6 0.5 0.4
Nothing to show
Find file
snapcraft/demos/webcam-webui/webcam-webui
Fetching contributors…
Cannot retrieve contributors at this time
Raw Blame History
executable file 18 lines (11 sloc) 288 Bytes
#!/bin/sh
set -e
cd "$SNAP_DATA"
[ -f configuration ] && interval=$(sed -n 's/.*interval: `\([0-9.]\+\).*/\1/p' configuration)
[ -z "$interval" ] && interval=10
echo "Snapping every $interval seconds"
golang-static-http &
while :; do
fswebcam shot.jpeg
sleep $interval
done
  • Copy lines
  • Copy permalink
  • View git blame
  • Open new issue
  • © 2018 GitHub, Inc.
  • Terms
  • Privacy
  • Security
  • Status
  • Help
  • Contact GitHub
  • API
  • Training
  • Shop
  • Blog
  • About
You can't perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.