www.archive-net-2013.com » NET » C » CACHAPA

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".

    Archived pages: 90 . Archive date: 2013-12.

  • Title: Geekalhada!
    Descriptive info: .. Cachapa.. Pages.. Acerca deste gajo.. Libra.. FAQ.. Remote Gallery.. WeightWatch.. Categories.. A odisseia do Rafael.. Análises críticas.. Choque de culturas.. Geekalhadas.. Memes.. Rapidinhas.. Software.. Uncategorized.. Archives.. July 2011.. December 2010.. June 2010.. February 2010.. October 2009.. February 2009.. January 2009.. December 2008.. November 2008.. October 2008.. September 2008.. July 2008.. June 2008.. May 2008.. January 2008.. December 2007.. November 2007.. September 2007.. Fitting Your Music Library in Your Phone.. Jul 29 2011.. Filed In:.. [Fair warning: this was all done on an Ubuntu Linux system.. It may work on other configurations, but YMMV].. Earlier this year, I bought myself a new phone, the Samsung Nexus S.. The Nexus S has the advantage of being what they call a reference device , that is, it s one of the preferred devices used in the development of Android, which means that it is one of the first to be updated when new Android versions come out.. It s also light, thin, fast, and looks cool.. It has a downside, however it doesn t have a slot for an external memory card.. The device itself comes with 16GB of internal memory, which should be enough for most needs, and in fact it is, except for one particular use-case: listening to music.. The problem is that I d really like to be able to carry my complete music library with me at all times.. While it s true that a few GB worth of music should be more than enough for most occasions, I find that I m too lazy to refresh the phone s library regularly.. Besides, if I find myself in the mood for a specific track, chances are, it won t be preloaded on my device.. Even though I usually try to prune my music library of music I don t really listen to anymore, over the years my library has grown to around 13GB in size.. While that would still theoretically fit on my device, it wouldn t leave much space left for other things, like offline maps, videos, and such.. Downsampling the Files.. One solution to that problem is to simply resample , or downsample the MP3 files.. That is, re-encode the file with lower quality settings, trading some of the sound quality for disk space.. There are many solutions for that on the Internet, but most depend on using.. LAME.. The problem with those solutions is that LAME doesn t preserve the metadata inside the MP3 file.. Things like artist, album, song title and album cover (important for me, since it looks cool when playing in my car).. Enter.. GStreamer.. Essentially GStreamer is a multimedia manager which combines various smaller tools to achieve it s full functionality.. Strangely, GStreamer seems to use LAME for it s MP3 encoding, but somehow the output files preserve their metadata, including the album covers.. A few searches on the Internet led me to.. this page.. , where I learned the command line to convert a single file:.. gst-launch filesrc location=input.. mp3 ! decodebin2 ! audioconvert ! lamemp3enc target=bitrate cbr=true bitrate=128 ! id3v2mux ! filesink location=output.. mp3.. If you re running this on Ubuntu, you ll have to install the gstreamer-tools package, as well as the gstreamer0.. 10-lame (or the *ugly plugin set).. Also note the bitrate parameter above.. It s where the trade between quality and file size is made.. 128 is an average recommended quality setting.. Beware though if you set it to a very high value, say 256, you might end up with a file which is larger than the original, even if its sound quality will be worse, since MP3 is a lossy format, and some sound quality is lost at each recompression.. Converting the Entire Library.. Obviously it d be too boring to convert 13GB of MP3 files one-by-one.. A few more searches led me to.. , which features a script that does exactly that, though that script was meant for converting FLAC files into the MP3 format.. No big deal, a few simple changes to the script, and it s working perfectly with our GStreamer command:.. #!/usr/bin/env bash # resamples all.. mp3 files and saves them to the OUT directory.. LAMEOPTS="-V0 --quiet" if [ "$#" -ne 2 ] then echo "usage: $0 MUSIC_DIR OUTPUT_DIR" exit 1 fi IN=$1 if [ ! -d "$IN" ] then echo "$IN is not a directory" exit 1 fi OUT=$2 if [ ! -d "$OUT" ] then mkdir "$OUT" fi # find all.. mp3 and resample them find "$IN" -iname "*.. mp3" | sort | while read mp3; do OF=`echo "$mp3" | sed s,"$IN","$OUT\/",g` dir=`dirname "$OF"` if [ ! -d "$dir" ] then mkdir -p "$dir" fi # resample the MP3 files, preserving ID3 tags echo "$mp3" gst-launch filesrc location="$mp3" ! \ decodebin2 ! audioconvert ! \ lamemp3enc target=bitrate cbr=true bitrate=128 ! \ id3v2mux ! filesink location="$OF" > /dev/null done.. Past that script onto a text file named.. resample_mp3.. sh.. and mark it executable (chmod +x resample_mp3.. sh).. You might also want to drop it on your /usr/bin, so it s easily accessible when you need it.. Now, on a terminal simply go to the parent directory of your music folder, and type the following command:.. sh Music AndroidMusic.. The AndroidMusic folder will be automatically created, and your music library will be completely mirrored there with the resampled MP3 files.. Beware that the conversion is very CPU intensive and will take a long time.. You should probably schedule it accordingly.. Finally.. Once you have your full library converted, you ll want to copy it to your mobile phone / MP3 player.. When it comes the time to refresh my music library, I ve found it quicker and easier to use.. RSync for Android.. It works over the network so I don t have to worry about plugging in, and it only copies the files which have changed, saving me from the headache of copying the entire folder again and again.. As for sound quality, sure, you trade a bit of it for disk space, but in my view it s worth it, particularly since I usually won t be plugging my mobile phone into high-end sound gear.. In the car, and using cheap headphones, I ve never been able to tell the difference.. It took my laptop (Intel Core i5 @ 2.. 4GH) around 6 hours to complete the procedure.. In the end, my ~13GB library was reduced to ~8.. 7GB.. Now I won t have to pick which music I bring with me anymore I ll just bring all of  ...   em muitas línguas, incluindo o inglês.. Voltando à minha lista de resultados, decidi remover todos os artigos, pronomes pessoais e outras palavras sem interesse.. Convém dizer que a lista completa é composta de 2024 entradas.. Filtrar a lista toda manualmente estava fora de questão, especialmente quando só interessavam os resultados iniciais.. Desta forma resolvi filtrar apenas as primeiras dezenas de entradas de modo a ficar com uma lista das palavras interessantes ordenadas por ocorrência.. A palavra mais usada pelos Manowar nas suas músicas (parte II)?.. Die.. , com 134 repetições.. Em português, morre , ou outras variações do mesmo vocábulo.. Certo, afinal é uma banda de metal.. Mas temo que ainda há algo a faltar na análise.. Como tinha dito anteriormente, o programa que desenvolvi não distingue entre formas diferentes da mesma palavra, como por exemplo.. sword.. e.. swords.. , ou.. fight.. fighting.. Fazendo uma nova passagem pela lista, foi possível identificar alguns destes casos e somá-los de forma a obter a lista definitiva.. A palavra mais usada pelos Manowar nas suas músicas (parte III)?.. Fight.. , com 179 occorências.. Seguida por.. die.. ,.. metal.. blood.. e outras palavras no mesmo estilo.. Ler a lista é como ler uma caricatura dos Manowar.. Mas uma caricatura absolutamente.. Excelente!.. Conclusão.. A primeira conclusão já foi atingida a palavra.. não é a mais popular nas músicas dos Manowar.. Mas afinal qual é a frequência de utilização?.. Muito frequente.. O vocábulo aparece na 13ª posição da tabela, um resultado respeitável, apesar de, com 65 repetições, estar muito aquém do título de palavra mais utilizada pela banda.. Fazendo uma análise mais detalhada, eis as ocorrências de.. por àlbum:.. O gráfico mostra uma tendência clara no aumento da utilização da palavra.. Isto corresponde bem com o facto de terem aparecido 3 músicas seguidas com.. no meu carro uma vez que estávamos a ouvir um CD feito em casa e a minha preferência nos álbuns dos Manowar está desequilibrada a favor dos álbuns mais recentes.. Por curiosidade, comparemos este gráfico com o gráfico para.. A distribuição é semelhante.. Curioso, não é? Acho que vou voltar a isto mais tarde.. [29 de Julho de 2011: Corrigida a tradução de "steel", de acordo com o comentário do Brother, em baixo].. 5 Comments.. Livros diferentes, livros iguais?.. Jun 14 2010.. Como disse no.. último post.. , o A.. J.. Jabobs é um dos meus autores favoritos.. Há uns dias, um amigo meu apontou-me para este artigo em que se falava do seu novo livro: My Life as an Experiment.. Apesar de ainda estar a ler o The Guinea Pig Diaries do mesmo autor, decidi encomendar imediatamente o novo título, que chegou passados dois dias.. Qual nao foi a minha surpresa, quando decidi folhear o novo livro:.. Em cima: My Life as an Experiment.. Em baixo: The Guinea Pig Diaries.. Olhando para as capas de ambos os livros, seria impossível adivinhar:.. Aparentemente alguém, algures na editora decidiu que seria boa ideia publicar o mesmo livro sob dois títulos diferentes, com capas diferentes.. E pelos vistos foi pelo menos conseguiram duas vendas deste leitor.. Corte rude.. Jun 13 2010.. Há uns tempos encomendei um livro da.. Amazon.. de.. :.. The Guinea Pig Diaries.. O livro é escrito pelo mesmo tipo que escreveu o.. The Know-It-All.. e o.. The Year of Living Biblically.. A.. Jacobs, um dos meus autores favoritos.. Ao receber a encomenda, vim a correr para casa para abrir o livro e deparei-me com este corte lateral nas páginas:.. Erro de produção? , pensei eu imediatamente.. Não, respondeu a Amazon nesta nota dentro do livro (em alemão):.. Em tradução livre:.. Cumprimentos da Amazon.. de!.. Você encomendou um livro cujas páginas parecem ter sido cortadas com uma faca desafiada.. Isto não é um erro, mas antes uma técnica de acabamento especial.. Este estilo é conhecido como corte rude e é popular entre os leitores americanos por dar a impressão do livro ter sido preparado manualmente.. Se não estiver satisfeito com o artigo, naturalmente aceitaremos o retorno sem quaisquer custos para si.. bla bla bla.. (o resto não interessa).. Eia, não o ia devolver de qualquer das formas, porque mesmo que tivesse sido um erro, não seria grande o suficiente para me dar a esse trabalho.. Mas fiquei bem impressionado com o serviço da Amazon.. Pergunto-me se tiveram muitas devoluções antes de acrescentar a nota.. Por outro lado, não sei o que dizer acerca do estilo de corte.. É engraçado pela sua originalidade, mas o facto é que por vezes torna um pouco mais difícil de virar as páginas foi preciso habituar-me a pegar nelas por baixo ou por cima, e nunca pelos lados.. Espírito de equipa.. Jun 11 2010.. A Google acabou de.. lancar um tema e extensão.. para seguir o mundial de futebol directamente a partir do.. Google Chrome.. A extensão ainda terá de ser testada quando começar o campeonato, mas não há razões para pensar que não vai funcionar bem.. Já o tema para o browser é, como dizer.. Horrível.. E aqui? O que é que não fica bem aqui?.. Jun 08 2010.. O cabeçalho da página do jornal desportivo.. Relvado.. com.. é assim:.. Mas há algo de errado.. Algo que não parece muito bem.. São reflexos no relvado!.. Ó pessoal do desporto, a relva não é reflexiva!.. Nunca fazer demonstrações com o telemóvel pessoal.. Feb 08 2010.. Uma das coisas em que tenho reparado quando alguém faz apresentações de um computador portátil novo, ou um telemóvel de última geração é que são sempre mostradas listas enormes de emails, fotos e listas de contactos repletas de informação pessoal.. Sempre imaginei que estas listas fossem cuidadosamente construídas para que a informação seja saneada: os contactos têm nomes, moradas e números inventados (mas realistas), os emails contêm mensagens inócuas sobre trabalho ou convites para jantar, e as fotos são de paisagens, peixinhos e bébés Polaroid.. Mas às vezes alguém decide usar um telemóvel pessoal para despachar a demonstração, porque afinal, o que se está a demonstrar nao inclui informação pessoal nenhuma.. Certo?.. Errado:.. Hmmm, pork!.. Fonte:.. Vídeo no YouTube sobre o Evernote para o Android.. P.. S.. : Também tenho um telemóvel Android, e o dicionário inglês não inclui aquela palavra por defeito.. então ó recas!.. Feb 07 2010.. A qualidade de escrita do Record parece estar a diminuir.. Eis o extracto de uma notícia do jornal em destaque na secção de desporto do Google Notícias:.. Older Posts.. Search.. Recent Comments.. on.. Blogroll.. Aleatoriedade.. Cathedral Square.. Notas do meu canhenho.. Ricardo.. pt.. using System.. Reflection;.. Meta.. Log in.. RSS feed.. TAKTEK01 Theme.. WordPress..

    Original link path: /
    Open archive

  • Title: Geekalhada!
    Descriptive info: Um tuga estacionado na Alemanha, a espalhar esse grande culto português: a adoração ao Santo Patrono do Coçanso de Tomates..

    Original link path: /?page_id=5
    Open archive

  • Title: Geekalhada!
    Descriptive info: Libra is an Android application that takes daily readings of your weight and displays them in a chart with a moving average tendency curve in order to absorb errors in daily weighing.. There are.. 69 Comments.. to ".. ".. Marc.. says:.. March 8, 2012 at 11:57.. Thanks very much for Libra, great app and I ve just upgraded to pro version.. Any plans to integrate with RunKeeper?.. March 8, 2012 at 12:04.. I tried, but I was unconfortable with their API policy.. It basically states that any data uploaded to their servers becomes their exclusive property, and withholds full access to it from third-party apps, even if the data was uploaded by that app in the first place.. I m not the only dev with these worries and they re aware of the issue.. If the terms change, I will get back to this.. andrey.. March 12, 2012 at 11:25.. Do you plan to add additional variables to the graph like: exercised / non-exercised or something like this to understand the reason of weight change?.. March 12, 2012 at 12:08.. The next version will include a comment field where you can input anything you want.. March 12, 2012 at 15:52.. Nice news!.. Pardon for pestering, but when do you plan to release the next version? just an approximation pls.. March 12, 2012 at 16:06.. When it s done.. Seriously, it s hard to say.. Depends on my free time and how smoothly development goes.. Don t expect anything within the next few weeks though.. There s still a lot to be done.. JDP.. March 12, 2012 at 17:46.. Hello!.. I upgraded my phone recently how do I move my backup data over to the new devices?.. Thanks in advance!.. March 13, 2012 at 07:41.. iThank you in advance!.. March 13, 2012 at 13:15.. @JDP you ll have to go through the Database List and export/import the database using a.. csv file.. Please check the FAQ for details.. jax.. March 14, 2012 at 11:16.. Nice app.. But what do you mean with variance.. what is trend ?.. What is the blue line? what is the red line ?.. March 14, 2012 at 11:26.. Most of the answers to those questions are in the FAQ.. Anyway, quickly: Variance is the difference between the trend and the real weight for that day.. It gives a sort of speed of your weight change.. The blue line is your diet plan, as defined in the diet plan preferences, and the red line is the trend line.. The FAQ has a very nice link explaining the trend line.. Rob.. March 20, 2012 at 20:09.. Hi,.. fantastic program, its my favourite app.. When I export my weights to a csv file it gives two columns for my weight both similar but different.. Which column is the right one? Also when recording weight.. Thanks.. March 20, 2012 at 21:05.. The first column is the weight as inserted.. The second is the trend.. The next version has labels for the different columns to avoid this sort of confusion.. Humberto Fraga.. March 22, 2012 at 14:11.. Hi, where can I find the source code? Is it still open?.. March 22, 2012 at 14:18.. Hi again.. I ve found a Google Code link on the app, but it shows me a 403 (forbidden) error.. March 22, 2012 at 15:02.. @Humberto the source was closed a very long time ago.. The link to Google code stayed because I was too busy to change it, but it will be changed to this address in the next version.. In any case I will be open-sourcing the synchronization framework, if that s interesting for you.. March 22, 2012 at 15:06.. Ok, it s fine.. The part I wanted to study was the interface, it s really well done.. Can you tell which library are you using for the ActionBar in 2.. 3 or minor?.. March 22, 2012 at 15:18.. The action bar in the current market version is based on the official Android support samples.. You can find it via their developer blog posts, or in the Android dev resources.. However, I strongly recomend you to use ActionBarSherlock:.. http://actionbarsherlock.. It s better in every possible way.. The only drawback is that it only supports Android 2.. 1+, but that accounts for most Android devices nowadays, anyway.. The next version of Libra will use that library.. Jan Maas.. April 12, 2012 at 11:10.. Can you make add a person list.. That would be great.. Bye the way this app is the best on my list.. April 12, 2012 at 11:46.. That s in my long-term wishlist, but I m not sure it ll ever be done due to the complexity of implementation.. Martin.. April 16, 2012 at 14:19.. I have used this app for a long time now and the only problem I have is easy sharing of data among my android devices.. It would be great if my data could be held online, maybe in google docs, so that I can record entries on either my Galaxy S or Galaxy Tab and have it appear on both.. April 16, 2012 at 22:02.. I m working on a new sync framework which should enable a few new possibilities in this area.. Sci-Fi.. April 25, 2012 at 22:52.. I couldn t find the FAQ, maybe I m going blind, but is there any plans to implement importing lean-mass and fat when syncing with a Withings-account?.. April 26, 2012 at 10:01.. The FAQ  ...   app (ads), which is a bit incompatible with having it open-source.. Also, after about one month of it being published, someone copied the app wholesale and published it under a different name.. I realized that I wasn t really comfortable with that.. As for code contributions, I never got any.. Don t worry, I m aware of the requirements for GPL.. If there had been GPL code inside, I d either have contacted the authors for permission, or removed that code.. kosti.. July 17, 2012 at 04:10.. Hi Cachapa, awesome app.. Any plans on making the exported image a higher resolution? I love to share my progress with my friends.. I haven t been successful taking a screenshot either.. July 17, 2012 at 06:52.. Plans yes.. Time to do it in between all of the other missing stuff is another issue.. But it will be there eventually.. jesper.. July 19, 2012 at 10:29.. Hi Cachapa.. Great app which have helped me a lot the last year.. But my phone is for repear, is there any way i can submit or access my data on the web.. Keep up the good work.. Jesper.. Jim.. July 19, 2012 at 20:50.. Perfect.. This and Runkeeper are saving my life.. July 19, 2012 at 22:38.. @jesper not unless you have a Withings scale and configured synchronization.. Though if you had, I m pretty sure that you d know that already.. July 23, 2012 at 23:29.. Hi there.. Great app.. Congratulations.. Any plans to add more panels / graphs like blood pressure and pulse to make a kind of male health dashboard?.. Pablo.. July 26, 2012 at 18:33.. Thank you very much for the app.. It s really nice and that s why a bought the pro version.. Now i m wondering if you plan to make it for iOS too.. i ve friends that don t wan t android and have iPod or iPhone and i seek for apps like yours and they suck!.. July 26, 2012 at 21:52.. Sorry, no time.. Espen.. July 29, 2012 at 08:13.. Hello, I love Libra.. However, now I want to add all the entries from my previous logging (from a selfmade database).. I was planning on exporting all the entries from my own database to a CSV format compliant with Libra, then importing them to Libra, however, I don t understand the last column in the Libra CSV.. It seems to be standard deviation or something.. - Do i need this column for the numbers i want to import?.. - If i need them, how to i calculate them?.. Thanks!.. Helios.. August 6, 2012 at 13:56.. Hi Daniel, I just switched phone and I was thinking about data import/export in this case.. Why not build a simple service to store these info on the cloud? The space/bandwith required would not be too much (just a few bytes of text).. What do you think about it?.. Andy.. August 21, 2012 at 20:53.. Hello, I ve been using Libra for a couple of weeks now and LOVE it.. Is there any way I can access my chart on the internet though ie on a computer or tablet?.. Many thanks,.. August 22, 2012 at 08:56.. Considering this, but as a long-term plan.. August 22, 2012 at 08:57.. It s the trend.. You don t need it as it is regenerated automatically when you import the database.. August 22, 2012 at 09:00.. I d rather use existing services.. There are going to be implemented as external plugins.. See.. https://github.. com/cachapa/libra-plugin-sync.. Not currently, sorry.. Have my hands full.. Panos.. August 25, 2012 at 09:29.. Endomondo and Libra are my two best apps.. Is there any way to make them sync?.. Aslo, it would be nice if you could sync Libra s database with Dropbox or Google Drive.. Thank you for your super app.. Emma K.. August 29, 2012 at 14:14.. I like this application but I wish that I users could set the increments.. For example, my scale at home goes to the nearest half pound, the scale at my gym goes to the nearest.. 2 pound, etc.. If I could set the scrolling belt to be.. 5, that would be awesome!.. August 30, 2012 at 01:19.. The new version allows for that.. I just have to get around to make a.. preference for it.. Can t promise anything.. Life s been hectic.. August 30, 2012 at 01:20.. @Panos The new sync plugin is open-source:.. You re welcome to take a stab at it.. September 8, 2012 at 19:45.. Libra Thanks! suggestion.. Hi, I m Martin and I send this mail to say thank you for your application and let you know that I prefer the previous theme (black) because it uses less battery.. Can you put a button or option to select the theme please?.. Regards.. Brian Hong.. September 16, 2012 at 16:56.. Please add fat percentage tracking.. Also please add memo field and flags like FatWatch in iPhone!.. joao.. September 18, 2012 at 16:52.. GREAT APP!!.. Make sync with.. http://www.. endomondo.. please.. September 20, 2012 at 08:50.. Black theme is coming back in the next version.. Fat percentage is coming in the next version.. September 20, 2012 at 08:51.. The new sync framework is open source.. Please check.. September 20, 2012 at 08:52.. I m disabling comments on this page because it s too difficult to keep track of all the different conversations.. If you d like to contact me, please do so via email..

    Original link path: /?page_id=397
    Open archive

  • Title: Geekalhada!
    Descriptive info: How do I import my old database?.. First you need to get your old database file.. If you still have access to your previous installation:.. Start Libra.. Go to the database list.. Select the share button on the top right (the one with the triangle).. Save the file somewhere (for example, send it to yourself by email).. If you don t have access to the installation, try looking for a Libra folder in your old phone or SD card.. In any case, to import the database there are two options:.. Save the file somewhere in your phone s memory.. Open the menu, and select the import database folder.. Select the correct file.. or:.. Send the file to your phone using any possible transfer method (e-Mail, Dropbox, Google Drive, Bluetooh, etc.. ).. Open the file from your device.. Let Libra handle the file.. I can t log in to Withings.. Withings requires that  ...   Libra has the option to use the trend values instead of the real weight to calculate its statistics.. This can be configured under Settings - General Preferences - Use trend values.. Is there a version of Libra for iOS?.. There s currently no port of Libra for iOS.. As much as I d like to do it, I simply haven t had the time.. It is however in my long-term plans, so it will happen sooner or later.. Please help me lose weight.. I can t.. I m not a medical doctor, so I m not qualified to give anybody health advice.. Also, a weight loss plan will vary a lot from one person to the next, so even if I were qualified, it d be hard to do it over the internet.. If you re serious about losing weight, please contact a qualified professional who can create a personalised plan for you..

    Original link path: /?page_id=467
    Open archive

  • Title: Geekalhada!
    Descriptive info: Remote Gallery is an application for Android devices which connects to a SSH server where your pictures are available and downloads the images to your device.. In order to save bandwidth and speed up the download, Remote Gallery optionally reduces the size of the images on the server prior to being sent.. The images are cached locally on the device and are made available to other apps, such as the standard Android Gallery app.. This is open source software.. If you d like to contribute, or simply browse the code, please feel free to do so on the project s website:.. com/cachapa/RemoteGallery.. Remote Gallery uses a SSH client binary compiled directly from the official.. Dropbear source.. Configuration instructions.. Remote Gallery requires that the following software is installed on your server:.. SSH daemon (server).. dropbearkey (private key generator).. ImageMagick (to downsample the image files prior to sending).. Debian Linux / Ubuntu / other APT-based distributions.. Simply install the openssh-server, dropbear and imagemagick packages.. From a terminal:.. apt-get install openssh-server dropbear imagemagick.. Red Hat / Fedora / YUM-based distributions.. I don t have access to a YUM-based distro, but the packages should be easy to find using the package manager.. FreeBSD / OpenBSD / other Unix.. How were you able to configure and run a *BSD server without knowing how to install sshd and imagemagick?.. Gentoo Linux / Other Linux.. See above.. MacOS.. Missing instructions since I don t have access to a Mac.. However, since MacOS is Unix under the hood, all packages should be readily available.. Windows.. I m pretty sure that all of the required software is available for Windows, but the installation is left as an exercise to the reader.. Configuration.. Remote Gallery requires a dropbear private key for passwordless login.. If you already have a private key generated using ssh-keygen, you can convert it to the dropbear format with the following command:.. /usr/lib/dropbear/dropbearconvert openssh dropbear ~/.. ssh/id_dsa dss_key.. Otherwise, a new key can be generated on a terminal with the command:.. dropbearkey -t dss -f dss_key.. The output will be something like.. Public key portion is: ssh-dss AAAAB3NzaC1kc3MAAACBAO54x8/XT0unnG1GUKmRi0Qy4a3kW54nBOzop EXstekcUHxnVOBrBausXadH16IkfHGxpfzZKUuk/GbURG1C3eb+V2wdp/31u6aws1 n86AvimQw1Hupq0gwNE8YrtxT7HMFTtOXadgh26vnQYyiEgZ7pnAxJuLXBlp60AtX LTmt5AAAAFQDIKaAP0LHU3whwxt4AHb53xYq4RQAAAIA+uW4u5pQ1lZlJzVKOVnNA afKLGTz5KLeuInYflGqr8IVkcQ9UFyQ3OoLSu6S/OVCnqIVIZpF7aWOXCxMTLWkE3 EqmNnIIW0y8WI1BDsM+Yf3Mj3BNVyK+/aEVehw8qyj1zeUJKhVcLo/3hbEQIlLWi8 B8f2+ZW8M0GyhcCXr8ewAAAIBwRX63NTnBf4eFqVzIW86peZFzbIifihwnjXWagLC 8KQGvn0GIrWX7Gpa9RWVTRlk5QrDyTpKxgIRAcnx24cKp4rnlWuLsYU6iIYdblEBI DQe7y9PUquFszh20MGMgRqdAb6IGuT11qgt7mbKu4H66+NeKORBQhA9Mt60OdcMTl Q== user@server Fingerprint: md5 30:f1:a4:9e:8e:17:a1:6e:09:78:d9:6f:42:c6:8a:88.. Copy the line that begins with ssh-dss and ends with user@server into a text file and drop it in your server, in the ~/.. ssh/authorized_keys.. Copy the dss_key file into your Android device.. Please note that this is your private key, and it should be kept safe.. Anyone who has access to this key will be able to login into your server.. Finally, make sure that ImageMagick is correctly installed:.. convert -version.. Should return something like:.. Version: ImageMagick 6.. 5.. 7-8 2010-12-02 Q16 http://www.. imagemagick.. org Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC Features: OpenMP.. Finally, configure your server in Remote Gallery in your Android device and test it out.. Please note that if you want to access your server from outside your private network, you may need to open the SSH port in your router (typically port 22).. If you have a dynamic IP address, you might also find it useful to configure a dynamic DNS service, such as the free ones offered by.. DynDns.. (no affiliation, just a happy customer).. 32 Comments.. Teun.. July 29, 2011 at 22:38.. Hi, I kind a like they idea of this app! Unfortunately, I could not get it to work.. When I tap the server I ve defined the spinner just keeps on spinning forever and nothing seems to happen.. I ve monitored traffic on the server end but I m not seeing anything on port 22.. I can connect to my server using ConnectBot, so this not a simple connectivity issue.. Any clue what is wrong?.. Thanks, hope you can help me.. July 30, 2011 at 15:19.. Teun,.. could you try updating the app on the Android Market? I just added the ability to test the connection, it might shed some light on what s happening.. Other than that I have no idea what the problem could be.. It seems that your connection is stalling on something.. Did you use a Dropbear private key?.. Please note that ConnectBot uses OpenSSH private keys, which are different from the dropbear ones.. Please refer to the text above (the final section: Configuration) on how to create or convert an existing private key to the Dropbear format.. July 30, 2011 at 17:06.. Thanks for the update.. I ve tested the connection but just get black screen.. The key I m using is indeed a dropbear key,setup according to the instructions above.. I just mentioned connectBot because I used it to check port 22 connectivity.. July 30, 2011 at 19:09.. Sorry for the black screen.. That was because the test was running on the UI thread, and it was blocking the activity until it was finished.. Could you update again? I ve moved the test to a separate thread.. I suspect that the problem you re having is that your server is expecting some kind of interaction, such as asking for a password, or asking for some kind of confirmation.. This is blocking the connection, which is expected to run fully automatically.. Hopefully you ll see what your server is asking for in the Connection Test, and I ll be able to work around it.. July 30, 2011 at 22:42.. Thanks, I found the problem.. I stored my key file in the my Documents folder.. The app seems to choke on the space in the path.. July 30, 2011 at 22:55.. Ah, thanks for the report.. I ll fix that in the next version.. Filippo Adessi.. August 13, 2011 at 18:29.. Nice app if i would be able to  ...   22, 2011 at 21:37.. Regarding the toast, that should have been filtered.. The ssh binary spits that warning every time it connects because I couldn t get it to either create that file where I wanted it, nor stop it from trying to create it at all.. For now, it s not possible to configure the image magick command line.. I d love to have that in the program, but I didn t have time to implement the preferences for it.. If you have any experience developing for Android, and you d like to do it yourself, Remote Gallery is open source software:.. com/p/remotegallery.. August 23, 2011 at 05:49.. i haven t taken a stab at android programming yet, but the time is approaching.. the same forum that suggested clearing the data/cache for the gallery app, also suggested that unmounting/remounting the sdcard might work.. it did for me.. there s supposed to be widget in the market that does it, but i can t find it, i guess it s been removed.. rebooting works.. so does mounting the sdcard via usb and then ejecting.. i can t unmount via settings, as i m running link2sd.. oh well.. no biggie.. DC.. October 2, 2011 at 01:51.. Re command switches for ls the indicator-style=slash is not supported on *BSD, use -p instead,.. bsd ls man page.. , should be supported on both.. October 2, 2011 at 11:02.. Thanks for the hint.. I ll look onto it as soon as I have the time.. pete.. October 5, 2011 at 18:38.. Great program! I m very enthused about it.. I ve found what I think is a bug.. (and couldn t find where to file it).. If there is a colon in the filename of an image, it chokes.. Error:/mnt/sdcard/RemoteGallery/1/cache/$filename.. temp (Invalid argument).. I suspect this is related to the ssh command that transfers the file to android.. Thanks for the work on this project.. October 5, 2011 at 18:44.. Thanks for the report, but would you mind submitting this issue to the project s webpage?.. com/cachapa/RemoteGallery/issues.. I m not having a lot of time to work on this project lately.. It s easier to concentrate the bug reports there so I can check them as time allows.. October 5, 2011 at 19:14.. Done.. Thanks again.. intercepta.. January 5, 2012 at 11:40.. Works nicely.. You should point out, that you do not need dropbear running as ssh-server on the remote server.. All you need is a key on the phone in dropbear format.. Cheers.. Nicolas.. March 7, 2012 at 16:34.. Just installed: wonderfull app.. There is a slight problem though: there are escaping issues when converting images.. The message on the phone says something along the lines of bash: -c line 0: missing closing.. This is because I have directories with in their names (frequent in french).. The same happens when a file contains this character (single quote).. The Android app seems to retry endlessly when the problems occurs, leading to endless alerts on the screen (maybe it s only queued messages that just dispolay slowly, I don t know).. March 8, 2012 at 11:42.. @Nicolas the bug with infinite retries is fixed in development.. As for the problem with quotation marks, thanks for the report.. I m going to add it to the bug issue repository.. Unfortunately, I can t dedicate much time to RG right now.. The project is open source though, so if you have any experience with Android development perhaps you could volunteer some time to fix it yourself?.. Clay Barnes.. April 13, 2012 at 00:34.. The command to install imagemagick on Mac OS X (assuming you have ports installed) is port install imagemagick , but dropbear is not available through the ports installer, so generating a key requires using a different computer or looking up the OS X ssh key generator commands.. Also note that the convert command (installed in /opt/local/bin/) may need to be symlinked to /usr/bin/ for remote gallery to find it.. A note on ls invocation the long-form options are particularly variable across UNIX variants, notably including OS X.. The option -p is a synonym that should be much more reliable than the current indicator-style=slash and I ve verified its validity on OS X s variant (as well as the GNU version generally seen on Linux desktops).. April 13, 2012 at 00:42.. Thanks for the info.. Regarding the SSH command option, would you mind filing a bug report on the project website?.. April 14, 2012 at 04:13.. Bug filed at github (#11), including trivial patch to fix this and the argument ordering issue seen with the BSD (including OS X) versions of ls.. The Doctor.. May 28, 2012 at 10:31.. I m not able to get this working, I ve gotten it to work once before but I can t remember how I did it.. When I test the connection it says.. connection okay in green but under that it says.. /data/data/net.. remotegallery/files/ssh: exited: string too long.. And I can t figure out how to get this working I m not a noob to linux or ssh but this just doesn t work and I know it can cause like I said I ve gotten it to work before.. May 29, 2012 at 22:04.. Could be that your path is too deep (or the filenames are too long) and ssh doesn t like that.. To be honest I didn t even know there was a limitation.. September 20, 2012 at 08:53.. I m disabling comments here because it s too difficult to keep track of all the different conversations.. If you have questions or comments on RemoteGallery, please post them on the project webpage..

    Original link path: /?page_id=429
    Open archive

  • Title: Geekalhada!
    Descriptive info: This program isn t being actively developed any more.. A port has been made to the Android Platform under the name.. These pages will remain here for historical purposes.. If you d like to take over the project, please send me an email.. Weight Watch is an open-source application that allows you to track your body weight over a period of time.. This program follows the methodology brilliantly described by John Walker in his online book.. The Hacker s Diet.. , and attempts to mimic the usability and features of the applications found under the.. Computer Tools.. chapter of the same book.. Without going into a lot of detail, the idea is that there is an error of around 1~2Kg in each weighting on a regular scale, related to variations in the body composition during the day and imprecisions in the scale itself.. In order to compensate for these errors, this program introduces a moving daily average in which radical differences in weight from one day to the  ...   with a simple day-to-day line chart.. Paul explains the issue very clearly in the.. Signal and Noise.. chapter of his book.. This program was developed targeting Java-enabled mobile phones, but it should run anywhere where Java 2 ME is supported, which is to say, most mobile devices sold during the last 5 years.. Features:.. Different chart types:.. Monthly chart showing daily moving average with floats and sinkers.. Yearly chart.. Complete chart, showing the whole database at once.. Diet planner, drawn directly in the chart.. Adding new values (obviously).. Listing of old values.. Cool sliding transition when changing charts between months.. Incredible fade and 3D transitions between screens (where supported).. Graphical view of your.. BMI.. level, based on your height and weight.. Online updates.. Finally, here are some screenshots of the application:.. And the download link:.. If you want to browse the source code and contribute, be sure to drop by the.. project homepage.. I hope the program works for you, but if it doesn t, send me an email..

    Original link path: /?page_id=117
    Open archive

  • Title: Geekalhada!
    Descriptive info: Archive for the ".. " Category.. Olá, Rafael.. Feb 04 2009.. Há muito tempo que não colocava uma posta neste blog.. Lamento os meses de Dezembro e Janeiro foram stressantes e tive de desviar toda a minha inspiração literária para a produção de palha para um documento para a universidade.. As boas notícias é que agora estou com a produção em alta e, visto que [ ].. Tags:.. O Rafael diz olá.. Nov 25 2008.. Contra todas as expectativas, o Rafael sobreviveu já quase 5 meses em condições adversas que começam com ter de partilhar o vaso com dois cactos e os dois Joaquins, e terminam no facto de ele ter de depender de mim para que lhe dê essa deliciosa substância que é a água.. Os Joaquins, que algumas [ ].. Primeira etapa: sucesso!.. Sep 09 2008.. Já há muito tempo que nao escrevia sobre o estado do Rafael e dos seus amigos.. Como o título deste post diz, a experiência tem sido um sucesso: Ok,  ...   com tons amarelos.. Rafael pá, ainda falta muito para o outono! Mas a notícia mais triste é que o cacto branco já parece ter ido desta para melhor.. Ontem quando cheguei do fim de semana reparei que ele [ ].. O Rafael sobrevive (1ª semana).. Jul 08 2008.. Faz uma semana que o Rafael me veio fazer companhia para o escritório.. Ok, tecnicamente, passou uma semana e um dia, mas porque decidi marcar um alarme semanal para me lembrar de regar o vaso, e como por vezes os fins de semana prolongam-se até às segundas-feiras, achei mais seguro marcar o alarme para as [ ].. 3 Comments.. Jun 30 2008.. Existe uma daquelas regras que ninguém diz, mas que todos conhecem, que afirma que todos os escritórios deviam ter pelo menos uma planta.. Como trabalhador de escritório que sou, tentei durante longo tempo ignorar essa obrigatoriedade por medo que a pobre da planta sucumbisse à minha preguiça.. Ora, recentemente decidi que não vou fugir mais [ ]..

    Original link path: /?cat=11
    Open archive

  • Title: Geekalhada!
    Descriptive info: Introdução Há uns meses tive oportunidade de ver os Manowar ao vivo em Colónia.. Eu já sou fã da banda há uma série de anos, mas a Ramona só os conheceu há pouco tempo, [ ].. Há uns tempos encomendei um livro da Amazon.. de: The Guinea Pig Diaries.. O livro é escrito pelo mesmo tipo que escreveu o The Know-It-All e o The Year of Living Biblically A.. Ao receber a encomenda, vim a correr para casa para abrir o livro e deparei-me [ ].. Comer às escuras.. Nov 10 2008.. Este fim de semana estive no Unsicht-bar, em Colónia.. Este restaurante tem uma temática muito particular: proporcionar a experiência que os cegos têm quando chega a hora de comer.. Para atingir esse objectivo, a sala de jantar do restaurante encontra-se completamente escura, e é um sítio onde, de acordo com o nosso empregado, qualquer tipo  ...   ir por este caminho.. Afinal, eles estão-se a posicionar como um fornecedor de aplicações [ ].. Análise da Caneca das Savage Chickens.. Jan 07 2008.. Analize-se a caneca das Savage Chickens.. Encomendei esta caneca no ano passado para servir de Caneca de Trabalho™.. A encomenda foi mais difícil do que pensei inicialmente porque, como seguidor deste cartoon, quando decidi encomendar a caneca já sabia exactamente o desenho que queria, mas infelizmente esse desenho não constava da lista da loja deles.. [ ].. Review da carteira All-Ett European.. Sep 10 2007.. A minha utilização de uma carteira pode ser facilmente resumida nas palavras do Paul Steward-Stand (fabricante da mui-estilosa carteira de metal): We have learned that there are two kinds of men when it comes to their wallets.. Those that treat their wallet like a woman treats her purse, and those that are loath to carry [ ]..

    Original link path: /?cat=3
    Open archive

  • Title: Geekalhada!
    Descriptive info: !Wanted!.. Jul 03 2008.. Há uns dias encontrei este cartaz colado a um poste: Apesar de não dar para ver tudo na foto, o título do cartaz era !Wanted!.. O problema com este título, e o que me levou a tirar uma foto e a posta-la aqui, foi que em programação, o ponto de exclamação é usado como um [  ...   Sep 26 2007.. Hoje descobri que aqui na Grécia, a sinalização rodoviária é meramente académica, e as regras da estrada são na realidade sugestões que podes, ou não, decidir seguir.. A viagem de autocarro entre Atenas e Patras (cerca de 200km) foi feita sempre numa estrada de duas faixas, uma em cada sentido, com um traço contínuo duplo [ ]..

    Original link path: /?cat=4
    Open archive

  • Title: Geekalhada!
    Descriptive info: O enigma (parte 2 resultados).. Jul 18 2008.. O primeiro postal chegou logo passados dois dias.. Por obra do acaso estava na Suíça a visitar um dos amigos para quem tinha enviado um postal.. Ele recebeu-o, achou-o estranho e perguntou-me imediatamente se tinha sido eu a envia-lo.. Eu fiz a minha melhor cara de poker e disse com grande naturalidade que não, não [ ].. O enigma (parte 1 preparação).. Jul 11 2008.. Há uns dias estava a sair de um bar quando vi uma colecção de postais que me pareceram mesmo giros.. A imagem era alusiva ao signo chinês do macaco, que por acaso é o meu,  ...   e reparei que a Mariana tinha uma imagem nos comentários dela (mas que só aparecia na interface de administração, e não no blog em si).. Ora, a Mariana não tem conta de utilizador no meu site, até porque o meu blog não permite o registo [ ].. Super vista.. May 07 2008.. Há cerca de dois meses mudei-me para Frankfurt.. Quando estava a visitar o apartamento onde moro agora, o tipo da imobiliária exaltou a vista e disse que até dá para ver a famosa Frankfurter Skyline!.. Ena, e não é que dá mesmo? Se um tipo olhar com atenção, dá para ver os últimos metros da [ ]..

    Original link path: /?cat=10
    Open archive

  • Title: Geekalhada!
    Descriptive info: Super-Poderes!.. Dec 21 2008.. Está na hora de um novo meme para a malta.. Este partiu de uma ideia minha que foi posteriormente desenvolvida em parceria com o Ricardo.. As duas perguntas são: Se pudesses ter um super-poder qualquer, qual seria? E que dez coisas farias com esse super-poder? Um Super-Poder.. Esse je-ne-sais-quois mítico que permite a um tipo [ ].. Mosaico.. Jul 23 2008.. A Mariana tem um meme novo para a malta.. Desta vez a ideia é construir um mosaico de imagens tiradas do Flickr com base em pesquisas usando as respostas às seguintes perguntas: O seu primeiro nome? Comida preferida? Em que escola estudou? Cor favorita? A sua «celebrity crush»? Bebida preferida? Férias de sonho? Sobremesa preferida? [ ].. Coisas que detesto ao volante.. May 05 2008.. A Mariana volta à carga com um novo desafio: Coisas que detesto ao volante.. Este é especialmente fixe para mim porque conduzo todos os dias e tenho montes de ódio para partilhar.. Aqui está a  ...   através do link Página aleatória da Wikipédia (o Viriato sugeriu a wiki inglesa, mas eu usei a versão tuga) Gerar o nome do álbum através das [ ].. Lista de presentes impossíveis.. Dec 23 2007.. A Mariana lança de novo o desafio: fazer uma lista de prendas que gostaria de receber pelo natal, mas que provavelmente nunca vou possuir.. Quantas prendas? A lista dela tem 10, que tem a vantagem de ser um número redondo, portanto aqui estão as minhas 6: Viagem ao espaço Vencer o desafio dos 10K no [ ].. Só espero que uma busca por trekalhadas no google nao devolva este blog.. Nov 21 2007.. A Mariana lança um desafio estranho: comentar a nova série de Start Trek.. Para começar, há dois problemas com isso: o primeiro é que eu não quero este blog associado com Star Trek.. Eu sei que está escrito Geekalhada lá em cima, mas têm de haver limites.. O segundo problema é que eu não conheço [ ]..

    Original link path: /?cat=9
    Open archive


  • Archived pages: 90