- Copy a film roll (a directory of RAW images) into a directory on the machine running Darktable.
- Import the film roll into Darktable.
- Review the images using lighttable mode and remove any images that are beyond repair.
- Take a snapshot of the image so we can do a before and after comparison.
- Adjust the white balance.
- Exposure compensation and recovery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ContainsElements<T> extends ArgumentMatcher<Collection> { | |
| private Collection<T> expected; | |
| public ContainsEqualElements(Collection<T> expected) { | |
| this.expected = expected; | |
| } | |
| public boolean matches(Object list) { | |
| if (list instanceof Collection) { | |
| Collection<T> actual = (Collection<T>) list; | |
| return actual.size() == expected.size() && actual.containsAll(expected) && expected.containsAll(actual); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # see http://socialdatablog.com/extract-pdf-annotations.html | |
| myxkfolder="/home/steve/xk/" #you need to set this to where you want your to-dos to appear | |
| import poppler, os.path, os, time, datetime | |
| for root, dirs, files in os.walk('./'): | |
| for lpath in files: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BEARER='...' | |
| def load_tweets(query,since_id=nil,lang="en",page=1,rpp=100) | |
| res=RestClient.get('https://api.twitter.com/1.1/search/tweets.json', | |
| {:params=> {:q=>query, :lang=>lang,:count=>rpp,:result_type=>:recent,:since_id=>since_id}, | |
| :accept=>:json, | |
| :Authorization => "Bearer #{BEARER}"}) | |
| puts "query '#{query}'\n since id #{since_id} result #{res.code}" | |
| return [] unless res.code==200 | |
| data=JSON.parse(res.to_str) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| M101J Week 1 Video List | |
| https://www.youtube.com/watch?feature=player_embedded&v=FN10crzDOjk | |
| https://www.youtube.com/watch?feature=player_embedded&v=ysg0vfgg6fI | |
| https://www.youtube.com/watch?feature=player_embedded&v=q2iLKZ1LgjI | |
| https://www.youtube.com/watch?feature=player_embedded&v=CAR42sMkXEo | |
| https://www.youtube.com/watch?feature=player_embedded&v=-KIC1LXxcGM | |
| https://www.youtube.com/watch?feature=player_embedded&v=IAvnMgvHuLw | |
| https://www.youtube.com/watch?feature=player_embedded&v=swhH4q_2Ttc | |
| https://www.youtube.com/watch?feature=player_embedded&v=f-lyGAMnNY4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #YouTube OAuth authentication for shell-based YT-tools like youtube-dl | |
| #by untergrundbiber 2014 | |
| #You need to register a app to obtaining clientId and clientSecret. | |
| #https://developers.google.com/youtube/registering_an_application | |
| #You can find the right scope here: https://developers.google.com/oauthplayground/ | |
| #--- Settings --- | |
| clientId="000000000000.apps.googleusercontent.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import httplib2 | |
| import os | |
| import sys | |
| from apiclient.discovery import build | |
| # from apiclient.errors import HttpError | |
| from oauth2client.client import flow_from_clientsecrets | |
| from oauth2client.file import Storage | |
| from oauth2client.tools import run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "status": "success", | |
| "code": 0, | |
| "message": "ok", | |
| "data": { | |
| "last_name": "Alba", | |
| "domain_verified": false, | |
| "following_count": 71, | |
| "image_medium_url": "http://media-cache-ec0.pinimg.com/avatars/jessicamalba_1360689715_75.jpg", | |
| "implicitly_followed_by_me": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docs = [] | |
| from os import listdir, chdir | |
| import re | |
| # Here's the section where I try to filter useless stuff out. | |
| # Notice near the end all of the regex patterns where I've called | |
| # "re.DOTALL". This is pretty key here. What it means is that the | |
| # .+ I have referenced within the regex pattern should be able to | |
| # pick up alphanumeric characters, in addition to newline characters |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //TODO: make this a module | |
| /** | |
| * # SockJS socket management service | |
| * | |
| * Creates SockJS socket connection to server, re-connects on disconnection, | |
| * and exports hooks to map handlers for various data interactions. | |
| * | |
| */ | |
| angular.module('app').factory |
NewerOlder