Configurando uma máquina linux para liberar acesso remoto via ssh para o usuário root.
Instalar openssh-server
apt-get install openssh-server
Configurar senha para o root
package ru.waveaccess.hibernate; | |
import org.hibernate.FetchMode; | |
import org.hibernate.HibernateException; | |
import org.hibernate.MappingException; | |
import org.hibernate.QueryException; | |
import org.hibernate.engine.spi.LoadQueryInfluencers; | |
import org.hibernate.engine.spi.SessionFactoryImplementor; | |
import org.hibernate.engine.spi.SessionImplementor; | |
import org.hibernate.loader.collection.BasicCollectionLoader; |
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | |
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full. | |
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}… | |
Getting help: | |
-h — print basic options | |
-h long — print more options | |
-h full — print all options (including all format and codec specific options, very long) |
Scenario: Get List of My Hitchhiking Items via API | |
Given the existing things: | |
|name| | |
|The Guide (duh)| | |
|A towel| | |
|Sub-Etha Sens-O-Matic| | |
|Pan Galactic Gargle Blaster| | |
|Kill-o-Zap blaster pistol| | |
And the existing accounts: | |
|email|name|password| |
void function(global){ | |
if ('DataView' in global && 'ArrayBuffer' in global) { | |
return; | |
} | |
var hide = (function(){ | |
// check if we're in ES5 | |
if (typeof Object.getOwnPropertyNames === 'function' && !('prototype' in Object.getOwnPropertyNames)) { | |
var hidden = { enumerable: false }; |
#!/usr/bin/env bash | |
set -e | |
sudo -v | |
sudo apt-get update | |
sudo apt-get dist-upgrade -y | |
sudo apt-get autoremove -y |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.