Abinoam Jr
4 months ago
Delete facebook posts and friends
I'm making a cleaning on my friendica. I have disabled the facebook connector and trying to review/revise all settings.

But... could somebody write me down an sql to fastly wipe out/off all my facebook contacts and all posts imported from facebook? (I'm afraid to try by myself and fxxk all my database) I think they're making my friendica instance slow.

@Thomas Willingham, @Commander Zot, @Fabio Comuni, @Tobias Diekershoff

EDIT:

I managed to do it this way. Saving here for future reference.
DELETE FROM item   WHERE 'contact-id'=ANY(SELECT 'id' AS 'contact-id' FROM contact WHERE network="face");

DELETE FROM photo  WHERE 'contact-id'=ANY(SELECT 'id' AS 'contact-id' FROM contact WHERE network="face");

DELETE FROM mail   WHERE 'contact-id'=ANY(SELECT 'id' AS 'contact-id' FROM contact WHERE network="face");

DELETE FROM event  WHERE 'cid'=ANY(SELECT 'id' AS 'cid' FROM contact WHERE network="face");

DELETE FROM queue  WHERE 'cid'=ANY(SELECT 'id' AS 'cid' FROM contact WHERE network="face");

DELETE FROM contact WHERE network="face";
11 comments show more
Abinoam Jr
4 months ago
Tried to mimetize the "addon/facebook/facebook.php" with some sql... and... to delete 50 itens it spents more than 30 seconds!!! :-(

I think that's why it's being killed before updating all the db.

For 50 we have:
mysql> DELETE FROM item WHERE `contact-id`=ANY(SELECT `id` AS `contact-id` FROM contact WHERE network="face" ) LIMIT 50;

Query OK, 50 rows affected (32.89 sec)


For 1000 we have:

mysql> DELETE FROM item WHERE `contact-id`=ANY(SELECT `id` AS `contact-id` FROM contact WHERE network="face" ) LIMIT 1000;
Query OK, 1000 rows affected (3 min 39.25 sec)
1 comment show more
Abinoam Jr
4 months ago
Abinoam Jr
4 months ago
Aaron Swartz
Aaron Swartz, the computer programmer and internet freedom activist, committed suicide on Friday in New York at the age of 26 ...


The inspiring heroism of Aaron Swartz by Glenn Greenwald on Guardian



Glenn Greenwald: The internet freedom activist committed suicide on Friday at age 26, but his life was driven by courage and passion
Abinoam Jr
5 months ago
Tax Rich

Taxar os Ricos (um conto de fadas animado) by Alcides Santos on YouTube
Abinoam Jr
6 months ago
Crazy about advertising?
From the same guy that produced the "Super Size Me" movie.

POM Wonderful Presents: The Greatest Movie Ever Sold


POM Wonderful Presents: The Greatest Movie Ever Sold Trailer by POM Wonderful on Vimeo
Abinoam Jr
9 months ago
Caffé
Giaco el vecio
9 months ago
eu já vi isso kkk..e respondi assim "Buongiorno, come siamo belli oggi, mi fa un caffè per favore?" Euro zero :-D
Fabio
9 months ago from Friendica for Android
onesto! :-)
Abinoam Jr
9 months ago
RED Alert #1 - 08/14/2012
Bruce Bane
RED Alert #1 - 08/14/2012
Mike the Friendican

My name is Mike Macgirvin. I am a software developer.

I'll get to the point. Help us save the web.

Getting Facebook (and Google) out of our private lives is the most important technical challenge facing the web in this generation. We MUST do this, as the grip of control is reaching further and further where it doesn't belong - and the implications for the future are positively scary for humanity.

The way we must do this is to take back our personal and social communications.

I'VE ALREADY DONE THIS. I started a project two years ago to... show more
Abinoam Jr
10 months ago
Facebook Ads charging for bot's "clicks"
Hey everyone, we're... | Facebook
Limited Pressing wrote: Hey everyone, we're going to be... Join Facebook to connect with Limited Pressing and others you may know.
Abinoam Jr
10 months ago
Is Your Cell Phone Snitching on You?
Is Your Cell Phone Snitching on You? - IEEE Spectrum on Ieee
Over a million requests by law enforcement for cell phone records last year
Abinoam Jr
10 months ago
Sunday Bloody Sunday (Sambô)
Sunday Bloody Sunday with a "Brazilian Accent" :)
Hope you enjoy it! 

DVD Sambô - Sunday Bloody Sunday by alcpaiz on YouTube
Giaco el vecio
10 months ago
\o/
Abinoam Jr
10 months ago
Just testing the pokin' thing!
Abinoam Jr
11 months ago
Friendica Screenshot for wikipedia
Tobias
11 months ago
and mention one of the galleries, as one theme is for the others ;-)
Abinoam Jr
11 months ago
One has to be a kind of "official" screenshot to show on that informative box upper on the left of the page as in http://en.wikipedia.org/wiki/LibreOffice

Through the article we can put more screenshots.
Abinoam Jr
11 months ago
Rio+20
I'm not seeing much "buzz" about it.

About Rio+20 — Rio + 20

The United Nations Conference on Sustainable Development, Rio +20, will be held from 13 to 22 June 2012, in Rio de Janeiro. It is known as Rio +20 because it marks the twentieth anniversary of the United Nations Conference on Environment and Developm...
Abinoam Jr
12 months ago
Paying shared hosting fees
Well... the exchage rates did no good to me this time.
http://www.exchange-rates.org/history/BRL/USD/G/360

Image/photo


It was like an 1/3 increase in price!  8-|

:-(

Obs: But, I think it is still payable. It's like 2 restaurant lunchs a month.
Abinoam Jr
12 months ago
Ban FB from your life - Ruby Forum
A guy had tried to create a facebook group for the Rubyists. No good reception. (Although it has more the 400 members till now).

http://www.ruby-forum.com/topic/4402428
Giaco Pastorius
12 months ago
BFFYL
Abinoam Jr
12 months ago
Abinoam Jr
1 year ago
Sequência espetacular de vídeos
Muito boa essa sequência de vídeos que o colega compartilhou.

Bruce Bane
Hello, world!
I'm New Here :)

And now... behold the spectacular beauty of our one & only... Planet Earth.


► Planet Earth: Amazing nature scenery (1080p HD) by Robert Revol on YouTube


Lockheed U-2 Flight - 70,000ft (2 Seat TU-2 Trainer) by bryUK on YouTube


The Best View in the Solar System. by Alex Rivest on YouTube


Orbiting planet Earth - October by yesterday2221 on YouTube


KAGUYA taking "Full Earth-rise" by HDTV (Apr. 5, 2008) by jaxachannel on YouTube

BTW, I guarantee you'll enjoy each & every video. So go ahead, press play! :)

Note: I'm obviously trying out some of Friendica's formatting options... which do seem quite nice actually :)
Giaco Pastorius
1 year ago
vix...parecem lindos mesmo, vou olhar com calma ;-)
Bruce Bane
1 year ago
Thanks for sharing Abinoam. And yep, they're all fantastic vids.

Happy Saturday! :-D
Abinoam Jr
1 year ago
Image/photo
Abinoam Jr
1 year ago
São Paulo subway on strike
The subway workers are on strike!
No good urban mobility.
Just wait and have some conversation with Friendica buddies!

Traffic in São Paulo - SP - Brasil.
Live: http://noticias.terra.com.br/ao-vivo/298/#298 (I don't know how much time this link will live).

#subway #strike #saopaulo
7 comments show more
Abinoam Jr
1 year ago
Hauhauhauha!!!! Me acabei de tanto rir.
E o pior... eu olhei rápido a foto e achei que você estava falando sério!
Giaco Pastorius
1 year ago
"Habemus Metrô" :-D
Abinoam Jr
1 year ago
Unix History Simple
Giaco Pastorius
Unix history simple


#unix #linux #minix #solaris #MacOs
Abinoam Jr
1 year ago
tony baldwin
posted with fren.tcl
Abinoam Jr
1 year ago from mustard
Parabéns pela mensagem de dia das mães presidenta Dilma. Continue firme. Nós brasileiros te damos apoio.
Abinoam Jr
1 year ago
Friendica 3.0 chegou!
[Para meus contatos brasileiros no Facebook]

Para quem ainda não ouviu falar do Friendica o http://pt.wikipedia.org/wiki/Friendica é um bom lugar para começar.

Não desistiu de ler esse post ainda? (Ninguém mais ler posts longos!)
Então... em português é bom ler também:
http://www.garotascpbr.com.br/2012/04/21/friendica-redes-sociais-livres
http://teia.bio.br/?p=4697

Caramba... você ainda está aqui? Então se souber inglês vá direto na fonte http://www.friendica.com

Quer saber aonde eu estou no Friendica?

http://amigos.tl1n.com/... show more
Categories: friendica
Abinoam Jr
1 year ago
Hosting a Friendica Site At Home
Martin Farrent
To all who have given up on the concepts of privacy and data ownership: You can actually put your social networking server on your desk! You can actually switch it off, close it down, erase all the content... or use it, of course.

How geeky is that?

Not at all. It's easy:

https://github.com/friendica/friendica/wiki/How-to%3A-Hosting-a-Friendica-site-at-home
Abinoam Jr
1 year ago from andfrnd.wikilab.de
Testando upload de fotos vida celular pelo Andfrnd Uploader Beta.

Ajudando Levi a aprender a ler seu nome.

URI: content://media/external/images/media/8761
File name: /mnt/sdcard/external_sd/DCIM/Camera/2012-05-06 21.29.48.jpg

Image/photo
Abinoam Jr
1 year ago
Teste de Post Público - Public Post Test
Friendica --> Facebook

Se alguém estiver vendo esse post responde ai!!!

Just a test. Someone seeing this post please leave a short answer !
14 comments show more
Abinoam Jr
1 year ago
Então... na realidade eu estava pensando em o plugin se encarregar disso... ou seja, sempre que alguém do friendica postasse o plugin automaticamente geraria um comentário lá no facebook.
Giaco Pastorius
1 year ago
o FB diferentemente do staus.net e do diaspora não teria como criar a 'pessoa' que comenta, o contato 'remoto' (virtual), não teria um 'ID virtual' dentro do FB correspondente á pessoa do friendica, para pelo menos os outros (dentro do FB) poderem ver, poderem ter como referencia (remota o virtual que seja), acho que é isso o 'big' problema. Penso que para conseguir isso , sò com a colaboração do DEV (e dono ) do FB ;-)
Abinoam Jr
1 year ago
Esquadrilha da Fumaça - 60th aniversary
Confirmed:
* Esquadrilha da Fumaça (Brasil)
* Royal Canadian Air Force (Canada)
* Halcones (Chile)
* US Navy F/A-18 Super Hornet (USA)

http://www.fumaca60anos.com.br/


Esquadrilha da Fumaça 60 Anos - Maior Show Aeronáutico do Brasil by Esquadrilha da Fumaça FAB on YouTube
3 comments show more
Abinoam Jr
1 year ago
Grande Giaco, você é nascido no Brasil? Mora na Itália?
Giaco Pastorius
1 year ago
na verdade o contrario ;-) ...o 'meu' video me fez chorar no o 'teu' ( que também é bonito claro)..o video das 'frecce tricolori' com aquela musica ;-)
Abinoam Jr
1 year ago
Banner Contest
Banner Contest - Rules and Information
Only a few days are left until you can submit your most creative, funny, advertising Banners, Logos or Pictures about our beloved Friendica!

But what is this all about and how can I participate?


The idea behind the contest is to find the best Friendica-related artwork out there and have it honoured on @Friendica Day It will then be published prominently so everyone can use it to include it on homepages, blogs and other social networks.

From May 04, 00:00 UTC you can submit as many entries as you like for exactly one week (i.e. until May 10, 23:59 UTC). Simply post the picture via Wall-To-Wall to this group (embedded or as an attachment, best as .png or .jpeg).
After that, people can comment your entries and more important, "li... show more
Abinoam Jr
1 year ago
Peixe com Poesia (Fish and Poetry)
Hey guys, that's a local newspaper. That's me playing a 4-string electric bass on the trio (me, guitar and vocal) for a beneficent event.

[pt-BR] Oi pessoal, esse é um recorte do jornal local. Sou eu tocando meu baixo em um evento beneficente da cidade.


Image/photo
Giaco Pastorius
1 year ago
yeahhh ;-)
Muito bacana @Abinoam Jr ! Parabéns pela iniciativa. :-)
Abinoam Jr
1 year ago
MathAjax
This MathAjax thing is really awesome! It renders so pretty!

Thanks @Tobias Diekershoff for the plugin and integration with ~friendica ~friendica.

$$ \begin{aligned}
\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\
\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\
\nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} $$
Tobias
1 year ago
Jepp MathJax is the best looking variant I found to have rendered LaTeX formulae in web documents. And you can put it on your own server to use a local copy - all you have to change is the base url option in the config then.
Abinoam Jr
1 year ago
Git-backed wiki on GitHub
Hi friends,

GitHub wikis are 'git-backed'. I mean, they are full git repository indeed.

So we can do with them whatever we do with the 'main' repo.

The git url is post-pended with the 'wiki' word.

In our case git@github.com:friendica/friendica.git is the main repository url.

So the wiki's url is git@github.com:friendica/friendica.wiki.git

To work with images we should 'add' the file to the repo. That was the way I did with this "Ilustrated Guide".

I hope it's useful!

Some more reading:
* https://github.com/blog/699-making-github-more-open-git-backed-wikis
* https://github.com/blog/774-git-powered-wikis-improved
* https://github.com/github/gollum

Note: If some editor doesn't feel confortable with git and want to add images, just send them to me through friendica and I would be glad to help uploading them.

#wiki #github #git
Abinoam Jr
1 year ago

iDynamic by Allan Medeiros on YouTube
Abinoam Jr
1 year ago
Almost Unbelievable!
Kuwait Olympic Medal Ceremony Confuses Borat's 'Kazakhstan Anthem' With Real Anthem by Mytheos Holt on Theblaze

Either Kuwait’s Olympics staff believes that “Kazakhstan is the greatest country in the world” and “all other countries are run by little girls,” as the faux-Kazakh anthem from Sacha Baron Cohen’s movie “Borat” alleges, or someone on ...
Fabio
1 year ago
!!
Abinoam Jr
1 year ago
Imagine you receiving a medal representing Italy and somebody begins to play a "fake" Italy Hymn/Anthem that mentions Italy protitutes!!! :-) I wouldn't be so pacific as the athlet on the movie.
Abinoam Jr
1 year ago
Docblox: automatic documentation generator
(Just in case somebody has not noticed)... @Alexander has added docblox support to our source tree.
First commit was: Enabled automated doc building.

The idea is everybody willing the parsed/generated documentation should run docblox on its own clone of the repo.
(Not commiting the generated documentation into the master repo).

I've run it on my ubuntu desktop (not on my server [dreamhost]account).

Basically what i did was (in a step-by-step):
sudo apt-get install graphviz
sudo apt-get install php5-xsl
sudo apt-get install php-pear
sudo pear channel-discover pear.phing.info
sudo pear install phing/phing
sudo pear channel-discover pear.docblox-project.org
sudo pear install docblox/DocBlox
sudo pear install docblox/DocBlox_Template_abstract



changed dir into my friendica local clone and runned docblox without command-line arguments.
The doc index.html was generated inside the friendica/data/output.

Image/photo

The docblox documentation: http://docs.docblox-project.org/

#docblox #documentation #dev
3 comments show more
Abinoam Jr
1 year ago
The code for that was:


/**
* Returns extended information of a given user, specified by ID or screen name as per the required id parameter.
*
* The author's most recent status will be returned inline.
*
* Reference: <http://developer.twitter.com/doc/get/users/show>
*
* @api
*
* @param App Friendica App Class
* @param string Type of feed ("atom"|"rss"|"xml"|"json")
*
* @return string User template
*
*/
function api_users_show(&$a, $type){
$user_info = api_get_user($a);
Abinoam Jr
1 year ago
@Simon L'nu as I study the friendica code I'll try to adapt the comments or add new ones so that the docblox could generate something worth of it.
Abinoam Jr
1 year ago
Deprecated: Call-time pass-by-reference has been deprecated in /home/abinoam/amigos.tl1n.com/include/html2bbcode.php on line 13

#bug @Michael Vogel
Abinoam Jr
1 year ago
Testing thread
Hi Simon,

Test it here!

Just answer to "begin to follow" the post.

After that, every people replying here will have a notification mail threaded together.
6 comments show more
Martin Farrent
1 year ago
Me too
Martin Farrent
1 year ago
Neat!!!!!!
Abinoam Jr
1 year ago
Comment Notifications by Email - Threading Them
Hi Mike (and All),

Here's the screenshot of Mozilla Thunderbird.

Image/photo

I issued a pull request for you to have a look at the code.
9 comments show more
Abinoam Jr
1 year ago
git pulled and testing.
Tobias
1 year ago
[Friendica:Notify] Comment to conversation #77421 by Tony Baldwin

looks very good - thanks :-) And the threading starts to work now too after I ctrl+T'ed in the friendika-notifications folder :headdesk
Abinoam Jr
1 year ago
Test
Could two or three different people answer to this message?

Just a (feature) test! Thanks.
6 comments show more
fabdo dostmusik
1 year ago
comment number 4 :-D
Martin Farrent
1 year ago
Hey, I think I get it... neat idea @Abinoam Jr
Abinoam Jr
1 year ago
Test
Testing, Sorry for that!

Can you just reply with test ok!?
6 comments show more
Abinoam Jr
1 year ago
No... I'm testing a "feature" on my side. All the rest is ok! :-)
Abinoam Jr
1 year ago
No... I'm testing a "feature" on my side. All the rest is ok! :-)
Abinoam Jr
1 year ago
Abinoam Jr is now friends with David Benfell


Image/photo
first  1  2 last next
Report Bug