{"id":22053422,"url":"https://github.com/bertrandom/fbi-fugitive-concentration","last_synced_at":"2026-05-11T06:18:39.951Z","repository":{"id":575334,"uuid":"207614","full_name":"bertrandom/FBI-Fugitive-Concentration","owner":"bertrandom","description":"Play Concentration with FBI Fugitive photos","archived":false,"fork":false,"pushed_at":"2009-05-22T21:18:40.000Z","size":3256,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T21:46:15.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://fbi.thatsaspicymeatball.com/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"lib/pq","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bertrandom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-05-22T11:54:27.000Z","updated_at":"2014-05-08T03:52:22.000Z","dependencies_parsed_at":"2022-07-07T14:20:58.908Z","dependency_job_id":null,"html_url":"https://github.com/bertrandom/FBI-Fugitive-Concentration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2FFBI-Fugitive-Concentration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2FFBI-Fugitive-Concentration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2FFBI-Fugitive-Concentration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2FFBI-Fugitive-Concentration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertrandom","download_url":"https://codeload.github.com/bertrandom/FBI-Fugitive-Concentration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245127939,"owners_count":20565203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-30T15:16:39.173Z","updated_at":"2026-05-11T06:18:34.924Z","avatar_url":"https://github.com/bertrandom.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# FBI Fugitive Concentration\n\nPlay Concentration with FBI Fugitive photos parsed from FBI Fugitive RSS feeds.\n\nThis is an entry for Sunlight Labs Apps for America 2 contest using data from data.gov.\n\n## Technical Details\n\nThis is actually a really simple web app but there's a lot of boilerplate code in here.\n\nIt uses symfony v1.0.20 and dojo v1.3.0.\n\nHeavy lifting for the RSS feeds is done by sfFeed2Plugin and sfWebBrowserPlugin.\nHeavy lifting for the client-side JS is done by dojox.fx.flip and a hacked version of dojox.image.LightboxNano.\n\nThere is no database, data is stored in serialized php arrays in a file-based cache.\n\nCurrently the app must be manually updated by running batch/updateImages.php and then copying the data into apps/frontend/modules/home/actions/actions.class.php, I'll probably change this so it can \nbe run from a cron job\n\nAnd now a quick overview of where the bulk of the code is written:\n-  batch/updateImages.php - Parses the RSS feeds and extracts the images from each wanted page (FBI wanted pages are not valid HTML so regexes must be used, they're actually made in Adobe Pagemill!)\n-  apps/frontend/modules/home/actions/actions.class.php - Grabs 12 random images from the dataset, then creates an array with 24 images randomly placed\n-  apps/frontend/modules/home/templates/indexSuccess.php - This is the View of the MVC, pretty straightfoward use of YUI for CSS, dojo widgets to instantiate the JS\n-  web/js/bert/Card.js - This is the widget for the Card itself, handles the gameplay and the flipping\n-  web/js/bert/YouWin.js - This is a hacked version of dojox.image.LightboxNano to display the You Win! image when you win.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertrandom%2Ffbi-fugitive-concentration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertrandom%2Ffbi-fugitive-concentration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertrandom%2Ffbi-fugitive-concentration/lists"}