In terminal.app, install ffmpeg through homebrew
brew install ffmpeg
Validate the installation:
/** | |
* JVM Tool Interface agent which sets | |
* security policy when is agent loaded | |
* @author Jan Kalina <honza889@gmail.com> | |
*/ | |
#include <string.h> | |
#include <jvmti.h> | |
#include <jni.h> |
'use strict'; | |
/*jshint node:true */ | |
// npm install lodash colors minimist request sync-request | |
var _ = require('lodash'), | |
colours = require('colors/safe'), | |
parseArgs = require('minimist'), | |
request = require('request'), | |
requestSync = require('sync-request'), |
//----------------------------- MISC -------------------------------\\ | |
//------------------------------------------------------------------\\ | |
sv_cheats "1" | |
sv_showimpacts "0" | |
sv_showimpacts_time "2.5" | |
//---------------------------- BINDS -------------------------------\\ | |
//------------------------------------------------------------------\\ | |
bind "SPACE" "demo_togglepause" // pause/play demo | |
bind "c" "r_cleardecals" // get rid of bulletholes and black residue from grenade explosions |
import paramiko | |
k = paramiko.RSAKey.from_private_key_file("/Users/whatever/Downloads/mykey.pem") | |
c = paramiko.SSHClient() | |
c.set_missing_host_key_policy(paramiko.AutoAddPolicy()) | |
print "connecting" | |
c.connect( hostname = "www.acme.com", username = "ubuntu", pkey = k ) | |
print "connected" | |
commands = [ "/home/ubuntu/firstscript.sh", "/home/ubuntu/secondscript.sh" ] | |
for command in commands: | |
print "Executing {}".format( command ) |
import paramiko | |
k = paramiko.RSAKey.from_private_key_file("/Users/whatever/Downloads/mykey.pem") | |
c = paramiko.SSHClient() | |
c.set_missing_host_key_policy(paramiko.AutoAddPolicy()) | |
print "connecting" | |
c.connect( hostname = "www.acme.com", username = "ubuntu", pkey = k ) | |
print "connected" | |
commands = [ "/home/ubuntu/firstscript.sh", "/home/ubuntu/secondscript.sh" ] | |
for command in commands: | |
print "Executing {}".format( command ) |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package asn.helpers; | |
/** | |
* | |
* @author asn | |
*/ |