I hereby claim:
- I am flowfx on github.
- I am flowfx (https://keybase.io/flowfx) on keybase.
- I have a public key whose fingerprint is E493 8659 B54B B6B7 26E1 7D97 9DFE 19DE 5F6B FA2A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
"""Test templates for syntax errors.""" | |
import os | |
import glob | |
from importlib import import_module | |
from django.conf import settings | |
from django.template import TemplateSyntaxError, Template | |
$( function() { | |
// init Isotope | |
var $container = $('#container'); | |
// init | |
$container.isotope({ | |
// options | |
itemSelector: '.item', | |
// layoutMode | |
masonry: { | |
columnWidth: '.item'/2 |
class ServicesAgreementWizardGeneralInformation(ServicesAgreementWizard): | |
"""Step 1 of the ServicesAgreement wizard.""" | |
form_class = GeneralInformationForm | |
def form_valid(self, form): | |
"""...""" | |
obj = self.object | |
if not obj.contractor: |
This gist is dedicated to all of my fellow clueless n00bs who are frightened by the combination of [RSpec][1], [Capybara][2] and [Authlogic][3].
This gist will not tell you how to install Ruby, Rails, RSpec, Capybara or Authlogic. For the most part, you can install any of these by running either:
brew install <packagename>
bundle install <packagename>
At the point in time that you reach this gist, you should have all of them installed.
Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz: