Compile program using:
clang -o video_capture_devices video_capture_devices.m -framework Foundation -framework AVFoundation -framework CoreMediaSample output:
| // | |
| // Copyright (c) 2014 Sean Farrell | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: | |
| // |
| // A small SSH daemon providing bash sessions | |
| // | |
| // Server: | |
| // cd my/new/dir/ | |
| // #generate server keypair | |
| // ssh-keygen -t rsa | |
| // go get -v . | |
| // go run sshd.go | |
| // | |
| // Client: |
This pen simulates a functional timepicker using HTML semantic elements and CSS3 super-powers.
Problem Statement: The challenge was to create an interactive timepicker (showing behaviour, usually done by javascript) where user can choose between hours and minutes by clicking on it different base sections.
Solution: Using html radio input elements and css3 animations, i have tried to simulate a functional timepicker.
| func createArchive(folders []string, outPath string) error { | |
| out, err := os.Create(outPath) | |
| if err != nil { | |
| return err | |
| } | |
| defer out.Close() | |
| gw := gzip.NewWriter(out) | |
| defer gw.Close() |
| #!/bin/bash | |
| # Current month | |
| # ./git-worklog.sh | |
| # Specific month and year | |
| # ./git-worklog.sh --month 3 --year 2025 | |
| # Custom output file | |
| # ./git-worklog.sh --month 3 --year 2025 --output april-2025-worklog.md |