Skip to content

Instantly share code, notes, and snippets.

View roneyfraga's full-sized avatar

Roney Fraga Souza roneyfraga

View GitHub Profile
@roneyfraga
roneyfraga / script.download.files.WoS.scpt
Created February 2, 2014 23:01
Baixar vários arquivos do Web of Science. Pois, o limite de download do meu acesso é de 500 arquivos por vez.
-- Roney Fraga Souza
-- 2014-02-02
--
--
-- script para baixar vários arquivos na páginas Web of Science
--
-- é necessário ter no Firefox o plugin Vimium
-- que cria atalhos para na página web toda vez que
-- aperta-se a telha "f"
-- Roney Fraga Souza
-- 2014-02-03
--
--
-- script para baixar artigos científicos no Web of Science
-- utilizando um arquivo de excel com os códigos DOI
--
-- necessário ter o plugin Vimlike instalado, ele permite
-- encontrar links no navegador
-- necessário ter instalado o ShortCat, software que
-- Roney Fraga Souza
-- 2014-02-02
--
--
-- script para baixar vários arquivos na páginas Web of Science
--
-- é necessário ter no Firefox o plugin Vimium
-- que cria atalhos para na página web toda vez que
-- aperta-se a telha "f"
@article{
author = {Aluya, J.},
title = {Leadership Styles Inextricably Intertwined With the Alternative Energy of Solar, Wind, or Hybrid as Disruptive Technologies},
journal = {Energy Sources Part B-Economics Planning and Policy},
volume = {9},
number = {3},
pages = {276-283},
note = {Aluya, J.},
abstract = {Leadership styles are inextricably intertwined with using solar, wind, or hybrid power to complement hydropower or clean nuclear energy. Changing elements using alternative forms of energy do result in disrupting the existing technologies. This study explains that without deploying various leadership styles to cognitively and effectively implement solar, wind, or hybrid alternative energy as disruptive technologies, no superior alchemy could lead the implementations from proposal to fruition. Even where all elements within various leadership styles are deployed, political consideration becomes a vital axis of the transitions juxtaposed within the various leadership styles. Oil pri
@roneyfraga
roneyfraga / brew --config
Created August 31, 2014 16:19
brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: c21d79dc236750061e66d4b949752f13d171f38a
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.9.4-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
Clang: 5.1 build 503
@roneyfraga
roneyfraga / brew doctor
Created August 31, 2014 16:21
brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:
/usr/bin/curl -fLA Homebrew 0.9.5 (Ruby 2.0.0-451; Mac OS X 10.9.4) https://raw.github.com/neovim/neovim/master/neovim.rb -o /Library/Caches/Homebrew/Formula/neovim.rb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 501 100 501 0 0 137 0 0:00:03 0:00:03 --:--:-- 418
==> Cloning https://github.com/neovim/neovim.git
git --git-dir /Library/Caches/Homebrew/neovim--git/.git status -s
Updating /Library/Caches/Homebrew/neovim--git
git config remote.origin.url https://github.com/neovim/neovim.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
# ------------------------------
# início do código
# ------------------------------
# baixar o arquivo 'ver2.rds' nesse link:
# https://db.tt/13dT9XQI
ver2 <- readRDS("~/Downloads/ver2.rds")
grupo <- list()
#!/usr/bin/env Rscript
# to rum this code do:
# chmod +x process-restart.R
# ./process-analysis.R
# disable scientific notation
options(scipen=999)
short <- read.csv('short_ids.csv', header=FALSE)
#!/usr/bin/env Rscript
# to rum this code do:
# chmod +x process-analysis.R
# ./process-analysis.R
# set work directory
if( length(grep('xmls',dir()))>0 ) {
setwd('xmls') } else {
stop('The xmls folder does not exist.')