This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
module display_timings ( | |
input wire clk_pix, // pixel clock | |
input wire rst, // reset | |
output reg [9:0] sx, // horizontal screen position | |
output reg [9:0] sy, // vertical screen position | |
output wire hsync, // horizontal sync | |
output wire vsync, // vertical sync | |
output wire de // data enable (low in blanking interval) | |
); |
; Copyright 2020 Jonathan Foucher | |
; 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: | |
; The above copyright notice and this permission notice shall be included in all copies or | |
; substantial portions of the Software. |
✓) Read an image from file | |
✓) Display an image that you read from file | |
✓) Capture Video using your webcam and display the feed | |
✓) Display back and white live stream from your webcam. | |
✓) Have a slider to change brightness of the webcam live stream. Display. | |
6) Have a slider to change contrast of the webcam live stream. Display. | |
✓) Capture a snapshot from your webcam. Then display difference between live video stream and this snapshot. (Background subtraction) | |
✓) Display Canny edge image from your live webcam stream | |
✓) Have a slider to change smoothness / sharpness of image from live webcam stream. | |
10) Display histogram of colors (RGB) from your live webcam stream |
# Patterns matching CSS files that should be minified. Files with a -min.css | |
# suffix will be ignored. | |
CSS_FILES = $(filter-out %-min.css,$(wildcard \ | |
public/css/*.css \ | |
public/css/**/*.css \ | |
)) | |
# Patterns matching JS files that should be minified. Files with a -min.js | |
# suffix will be ignored. | |
JS_FILES = $(filter-out %-min.js,$(wildcard \ |
1/1FileNotFoundException: The file "/tmp/phpYli14l" does not exist | |
in /home/jonathan/html/mention/vendor/symfony/src/Symfony/Component/HttpFoundation/File/File.php line 41 | |
at File->__construct('/tmp/phpYli14l', true) in /home/jonathan/html/mention/vendor/symfony/src/Symfony/Component/HttpFoundation/File/UploadedFile.php line 103 | |
at UploadedFile->__construct('/tmp/phpYli14l', 'apple-touch-icon.png', 'image/png', '830', '0') in /home/jonathan/html/mention/app/cache/dev/classes.php line 2159 | |
at FileBag->convertFileInformation(array('error' => '0', 'name' => 'apple-touch-icon.png', 'type' => 'image/png', 'tmp_name' => '/tmp/phpYli14l', 'size' => '830')) | |
at array_map(array(object(FileBag), 'convertFileInformation'), array('file' => array('error' => '0', 'name' => 'apple-touch-icon.png', 'type' => 'image/png', 'tmp_name' => '/tmp/phpYli14l', 'size' => '830'))) in /home/jonathan/html/mention/app/cache/dev/classes.php line 2162 | |
at FileBag->convertFileInformation(array('name' => array('file' => 'apple-touch-icon.png |
#!/usr/bin/env python | |
""" | |
getimg.py | |
Gets the current image of the day from NASA and sets it as the | |
background in Gnome. The summary / description text is written | |
to the image. | |
Requires: | |
PIL (apt-get install python-imaging or pip install PIL) |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
Conventions for this fork: