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
| xvfb-run -s "-screen 0 1280x800x16" -e /dev/stdout -a /home/ivo/Desktop/foo.sh | |
| ./ffmpeg -r 30 -f x11grab -draw_mouse 0 -s 1280x800 -i :99 -c:v libvpx -quality realtime -cpu-used 0 -b:v 384k -qmin 10 -qmax 42 -maxrate 384k -bufsize 1000k -an screen.webm | |
| # foo.sh | |
| google-chrome --incognito --window-size=1280,800 --app=http://github.com | |
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
| @ECHO OFF | |
| REM Installs Composer as portable and setup home folder as composer global config folder and local folder as internal cache | |
| REM v.2.0 - 01/05/2015 | |
| REM jatubio@gmail.com | |
| REM Set Home folder as Composer Global Configuration Folder | |
| SET COMPOSER_HOME=%~dp0Home | |
| if not exist %COMPOSER_HOME% md "%COMPOSER_HOME%" | |
| php -r "readfile('https://getcomposer.org/installer');" | php |
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
| <select id="estado" name="estado"> | |
| <option value="AC">Acre</option> | |
| <option value="AL">Alagoas</option> | |
| <option value="AP">Amapá</option> | |
| <option value="AM">Amazonas</option> | |
| <option value="BA">Bahia</option> | |
| <option value="CE">Ceará</option> | |
| <option value="DF">Distrito Federal</option> | |
| <option value="ES">Espírito Santo</option> | |
| <option value="GO">Goiás</option> |
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
| public class MyAppCtxInitializer implements ApplicationContextInitializer<ConfigurableApplicationContext> { | |
| private static Logger LOG = LoggerFactory.getLogger(MyAppCtxInitializer.class); | |
| @Override | |
| public void initialize(ConfigurableApplicationContext applicationContext) { | |
| ConfigurableEnvironment environment = applicationContext.getEnvironment(); | |
| try { | |
| environment.getPropertySources().addFirst(new ResourcePropertySource("classpath:env.properties")); | |
| LOG.info("env.properties loaded"); |
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
| { | |
| "estados": [ | |
| { | |
| "sigla": "AC", | |
| "nome": "Acre", | |
| "cidades": [ | |
| "Acrelândia", | |
| "Assis Brasil", | |
| "Brasiléia", | |
| "Bujari", |
NewerOlder