Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
if (Meteor.is_client) { | |
var userName = "PatelNachiket"; | |
Template.hello.greeting = function () { | |
return "Fetch recent tweets from Twitter stream of user : " ; | |
}; | |
Template.hello.events = { | |
'click #fetchButton' : function () { | |
console.log("Recent tweets from stream!"); | |
$('#fetchButton').attr('disabled','true').val('loading...'); |
# https://github.com/SachaG/Telescope | |
######################## | |
# it should be | |
sudo apt-get install git npm | |
curl https://install.meteor.com | /bin/sh | |
sudo npm install -g meteorite |
# Function to check localStorage availability | |
hasStorage = -> | |
try | |
mod = new Date | |
localStorage.setItem mod, mod.toString() | |
result = localStorage.getItem(mod) == mod.toString() | |
localStorage.removeItem mod | |
return result | |
When I'm on an open wifi network, I use an SSH tunnel to encrypt my traffic. Here's my script: | |
#!/bin/bash | |
ssh -D 9999 [email protected] " | |
echo ' | |
**** | |
Establishing ssh tunnel... |
Moved to https://api.fmhy.net