-
You need
ffmpeginstalled. If you have Homebrew installed on a Mac, you can do this by running:brew install ffmpeg -
Put
process.shin directory containing.oggfiles. -
Ensure it's executable:
| The MIT License (MIT) | |
| Copyright (c) James Dennes | |
| 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 request to http://www.buienalarm.nl/location/rotterdam produces a chart that shows the projected rainfall for the next two hours in Rotterdam:
That page includes the following JavaScript that represents the data used to build the chart:
<script type="text/javascript">Given an application path like /github/github/issues, use the following to get the controller and action:
irb(main):001:0> Rails.application.routes.recognize_path "/github/github/issues", method: "GET"
=> {:controller=>"issues", :action=>"index", :user_id=>"github", :repository=>"github"}
The /github/github/issues path maps to issues#index (the index action on the IssuesController).
| #!/bin/bash | |
| # Export USERNAME, PASSWORD, and REPORT_URL | |
| # REPORT_URL should look something like https://my.ghe/stafftools/reports/all_users.csv | |
| # See: https://help.github.com/enterprise/admin/articles/site-admin-dashboard/#reports | |
| set -e | |
| for i in $(seq 1 5); do | |
| echo "Trying to get report..." | |
| result=$(curl -s -L -u $USERNAME:$PASSWORD $REPORT_URL) |
| # pre-commit.py: | |
| # | |
| # Performs the following: | |
| # - Makes sure the author has entered a log message. | |
| # - Makes sure the author is only creating a tag, or if deleting a tag, author is a specific user | |
| # - Makes sure the author is not committing to a particular set of paths in the repository | |
| # | |
| # Script based on http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/log-police.py | |
| # | |
| # usage: pre-commit.py -t TXN_NAME REPOS |
| source "https://rubygems.org" | |
| gem "octokit" |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>animation test</title> | |
| <style> | |
| body { | |
| text-align: center; | |
| font-family: 'Courier New', Courier, monospace; | |
| } |
| web: python app.py |
| source :rubygems | |
| gem 'sinatra' | |
| gem 'createsend' |