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
mkdir -p mp3s | |
SAVEIFS=$IFS | |
IFS=$(echo -en "\n\b") | |
for i in `find . -type f -iname "*.m4[ab]" -print`; do | |
echo $i | |
NAME=`echo $i | sed -e 's/\.\///' -e 's/\.m4b//g' ` | |
echo "doing '$NAME'" | |
faad --stdio $i | lame --preset standard - "mp3s/${NAME}.mp3" |
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 | |
# | |
# extracts audio from all videos in current folder and saves in mp3 | |
# based on http://ubuntuforums.org/showthread.php?t=1411144 | |
# | |
SAVEIFS=$IFS | |
IFS=$(echo -en "\n\b") | |
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
#mongoengine==0.7.8 | |
from django.test import TestCase | |
import mongoengine as me | |
class TestCollectionNameInheritance(TestCase): | |
def test_simple_case(self): | |
class BasicUser(me.Document): | |
username=me.StringField(required=True, unique=True) | |
meta = { |
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
npm http GET https://registry.npmjs.org/jitsu | |
npm http 304 https://registry.npmjs.org/jitsu | |
npm http GET https://registry.npmjs.org/colors/0.6.0-1 | |
npm http GET https://registry.npmjs.org/complete/0.3.1 | |
npm http GET https://registry.npmjs.org/dateformat/1.0.2-1.2.3 | |
npm http GET https://registry.npmjs.org/flatiron/0.3.3 | |
npm http GET https://registry.npmjs.org/flatiron-cli-config/0.1.4 | |
npm http GET https://registry.npmjs.org/flatiron-cli-users/0.1.7 | |
npm http GET https://registry.npmjs.org/fstream/0.1.18 | |
npm http GET https://registry.npmjs.org/fstream-npm/0.1.1 |
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
<div style="font-size:11px; line-height:13px; width:160px; height:160px; font-family:arial;"> | |
<img src="//s3.amazonaws.com/careerleaf/images/ads/lynda-small.jpg" style="float:left; margin:0px 7px 4px 0px; border:1px solid #255b7f;" /> | |
<a href="%%CLICK_URL_ESC%%http://www.lynda.com/search?q=web+design&utm_medium=affiliate&utm_source=ldc_affiliate&utm_content=51&utm_campaign=CD14660&bid=51&aid=CD14660&dp=15693&opt=" style="color:#255b7f; text-decoration:underline;" target="_blank">Learn software, creative, and business skills.</a> | |
<p style="padding-top:5px; color:#7e818b;">Whatever your learning goals are, a lynda.com membership helps you achieve them. Whatever your learning goals are, a lynda.com membership helps you achieve them.</p> | |
</div> |
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
export | |
.env |
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
--- | |
# packages.yml | |
- name: Add postgres repository | |
apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main' state=present | |
- name: Add postgres repository key | |
apt_key: url=http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc state=present | |
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 | |
import argparse | |
import os | |
import re | |
import json | |
from ansible.inventory import InventoryParser | |
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
node_modules/* | |
dist/* |
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
python resource_tree.py --limit=100 --file_path=data.json Internet |
OlderNewer