Results for: git

2 semanas atrás


Linux tool to show progress for cp, mv, dd, ... (formerly known as cv)
#linux #bash #coutils #progress
1 mês atrás de Friendly
I tink somebody already wrote about it here, but
git bisect run
is my new preferred command :-)
1 mês atrás
This one I was told it does a decent job assisting the creation of characters.
2 meses atrás de Friendly
Un'applicazione GNOME per leggere i qrcode che mi sto divertendo a scrivere
2 meses atrás

Latency in Digital Audio

We've come a long way since Alexander Graham Bell , and everything's turned digital. Compared to analog audio, digital audio processing i...
2 meses atrás

Git Magic - Preface

Git is a version control Swiss army knife. A reliable versatile multipurpose revision control tool whose extraordinary flexibility makes it tricky to learn, let alone master. As Arthur C. Clarke observed, any sufficiently advanced technology is indistinguishable from magic. This is a great way to approach Git: newbies can ignore its inner workings ...
2 meses atrás

Distributopia / share-connect-support

:penguin: Fediverse buttons for yous static blog
3 meses atrás
Cuer - QRCode scanner for GNOME
Here it is: version 0.1.0

3 meses atrás
QRCode scanner application for Gnome
I'm trying to build a #QRCode scanner application for #Gnome, to use with the webcam. It should works just like QRCode scanners on phones: at launch the app will open the webcam and show the image to the user, when a qrcode is succesfully detected, the webcam is paused and some kind of message is show to the user. The user should be able to click to open a link or copy the text into the clipboard.
A list of recently scans results should be kept.

What I have by now:

  • A basic Vala project which shows the webcam in a window using #GStreamer
  • Skeleton of a GStreamer plugin in C to scan for qrcode in video stream using quirc which prints in console the text from qrcode when used in a pipeline with gst-launch

Code will follow :-)

The GStreamer plugin
3 meses atrás
New Friendiqa version on github
@Friendiqa @Friendica Developers Hi there, I published a new version of the Friendiqa Android app on github. New functions are viewing of private images of friends (slow but working), a reworking of the image download, more checks on the config page, a profile page, and many bugfixes. And Italian translation thanks to Davide De Prisco. Please test it.
If I don't get any issues, I plan to publish it in the Fdroid binary repo and Google Playstore.

@Davide De Prisco :-D
3 meses atrás


friends - Spend time with the people you care about. Introvert-tested. Extrovert-approved.
3 meses atrás
If you weren't at #Fosdem or, like me, didn't managed to go to all the talks you wanted to follow then you can watch them on #PeerTube:

Hosted by @tedomum


PeerTube, a decentralized video streaming platform using P2P (BitTorrent) directly in the web browser
3 meses atrás

Quiet Modem Project

Transmit data with sound. Includes binaries for soundcards and .wav files.
4 meses atrás

FOSDEM 2018 - Public money, public code, the Italian way

FSFE has recently launched the campaign "Public Money, Public code”, which promotes legislation requiring that publicly financed software developed for the public sector is made publicly available under a Free and Open Source Software licence. However, under the Italian Digital Administration Code, we already have a provision (amended in 2016) wh...


#fosdem2018 #digitalitaly #publicmoneypubliccode
4 meses atrás

Renata's blog - The right to be included in the conversation

Why do I have to be coarsed into signing up agreements with corporations to be able to interact with other people using the internet?
Posting it here is probably preaching to the choir, but...
4 meses atrás
♻ @ruphy: Decorating our new offices @ITdigitalteam (Italian Government), to show everyone how much we love and support #FreeSoftware (thanks @fsfe!) To fork our code: #fsfe #FreeSoftware

Developers Italia

The community of developers of Italian Public Services

@Gruppo Linux Como
4 meses atrás
4 meses atrás
HSISDOWN - Display down alerts from Hacker News

A simple experiment with Hacker News Search API and VUE.js
Michael Vogel
5 meses atrás
This is sad news. Like a friend once wrote: "Cancer is an asshole".

Concerning his death there is a github issue which asks us for something in our next release to remember him.

Possibly you can write some lines? And/Or we could name the upcoming release after him?
Fabio 🎄
5 meses atrás


aconfmgr - A configuration manager for Arch Linux
Fabio 🎄
5 meses atrás

Oh, shit, git!

Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can't search for how to get yourself out of a mess, unless you already know the name of the thing you need to know about in order to fix your problem.

So here are some bad situations I've gotten myself into, and how I eventually got myself out of them in plain english.
Andy H3
5 meses atrás
That's great Hoergen. I'll draft this within the next day. I might need some help where to put the screenshots on github.
Andy H3
5 meses atrás
Very nice! In the spirit of this, I'd like to edit the "mission statement" blob for plain and concise language.

Here my attempt:

'Welcome to the free social web.

Friendica is a decentralised communications platform that integrates social communication. Our platform links to several independent social projects and corporate services.

Our mission is to free our friends and families from data-harvesting corporations; we aim for social communication to be free and open, while flowing between any provider as easily as email does today.'

Any comments or suggestions before I open a PR.
6 meses atrás
6 meses atrás
When Artificial Intelligence Meets git

When Artificial Intelligence Meets git is a geek comic site. Comics about Programming Languages, Web, Cloud, Linux, etc.
8 meses atrás
@Michael Vogel
Which means that we have to store the data elsewhere. But: I would like to do this only on the transport, not the storing and processing.
Can you describe this point a bit more, so I understand how this would look like (transport, storing, processing).

Some side notes:
For the would I would really love to see that friendica get rid of having objects as bbcode in the item['body']. In some way we have talked about this at the last hackathon. Objects (events, share, attachments) belong to the item but are very different form some formatted text. So we should store them not in $item['body'].

To the actual problem:
I won't touch the protocol part because because I'm afraid to break something. Nor will I write very, very complex sql queries. For such a case I would wisch a function which give me the results.

So I would stop at this point and would leave it up to you to provide the basics so I could step up to do the gui part.

Back to the code in my repository:
What about the handling of nested arrays in function xml::from_array() and the extension of function xml::to_array()?
I would like to have such a functionality in the code to replace written xml elements (like we do it now for e.g. objekcts - e.g. and many other places) to arrays.
This arrays should be easily converted to xml (with an easy possibility to convert it back). At the moment (develop branch) it is the situation that if you have a string with xml with values and attributes (or the extended case if it does have more of the same element - e.g. <link>) you won't be able to convert it to an array and back to xml.
8 meses atrás
events in network stream
@Friendica Developers @Friendica Theme Developers

One of the many things which are not that good solved in friendica is from my point of view that fact that all objects which belong to a post are saved as bbcode in the item body. With objects I mean something like shares, attachments, events and so on. Since the beginning of using friendica I very unsatisfied that there are only limited possibilities to theme such objects because they are hard-coded. While I tried to fix some time ago I started to do some experiments how to extend the possibilities for displaying events.

Before I continue polishing and finishing the could I would like to have some feedback. There are some questions in my head and some (lets call it) designing decision to do (or which I have done and needs to discussed).

You will find the present code at and an example frio event at

To explain what the code does:
In a short, the activity stream object (the one which is saved in the item table in the object column) will be extended with information which are needed for the event (e.g. start time, end time, author, location and so on). (I saw this in the hubzilla project and I like the idea to make more use of the object field if there are embedded object in the posts - events, share, attachments and so on).
While frindica does the preparing of the item for displaying its content, it verifies if the event item is an event and if the event object does contain additional data (for compatibility reasons with older objects). If it is an an event object it will extract the event data from the event object and will format this data in a special event template. The template formatted output will replace the existing $item['body'].
So every theme can decide how an event should be presented in the network stream.

To improve the speed, friendica does cache the html of an item. This would mean that we would need to parse the event everytime when a user would change the theme (and the event template would be a different one). To solve this only the event description (the part which should not change when selecting a different theme) is saved in the event cache.

There are some parts I want to talk about with you.
1.) I'm not sure if you like this approach (it was inspired by the hubzilla project)

2.) The created event object looks like:
  1.  <object>
  2.   <type></type>
  3.   <id></id>
  4.   <title>Friendica Hackathon</title>
  5.   <startTime>2017-11-24 15:00:00</startTime>
  6.   <endTime>2017-11-26 19:00:00</endTime>
  7.   <description>Hackathon in Berlin to prepare the 3.6 release of Friendica.&#[url=]xD[/url];
  8.  &#[url=]xD[/url];
  9.  Room is limited, so please let us know if you plan to join us in Berlin.</description>
  10.   <location>
  11.   <name>Jugendclub [url=]E-LOK[/url]</name>
  12.   <address>Laskerstra&#[url=]xDF[/url];e 4-6, Berlin</address>
  13.   </location>
  14.   <content>[event-summary]Friendica Hackathon[/event-summary][event-description]Hackathon in Berlin to prepare the 3.6 release of Friendica.&#[url=]xD[/url];
  15.  &#[url=]xD[/url];
  16.  Room is limited, so please let us know if you plan to join us in Berlin.[/event-description][event-start]2017-11-24 15:00:00[/event-start][event-finish]2017-11-26 19:00:00[/event-finish][event-location]Jugendclub [url=]E-LOK[/url]&#[url=]xD[/url];
  17.  &#[url=]xD[/url];
  18.  [map]Laskerstra&#[url=]xDF[/url];e 4-6, Berlin[/map][/event-location]</content>
  19.   <link rel="alternate" type="text/html" href=""/>
  20.   <author>
  21.   <name>Ronny Rabuzarus</name>
  22.   <address></address>
  23.   <link rel="alternate" type="text/html" href=""/>
  24.   <link rel="photo" type="image/jpeg" href=""/>
  25.   </author>
  26.  </object>

I'm unsure about the used tag names startTime and endTime. The naming was taken from . (should we use it or should we rather use the friendica names start and finish or should we use rather other tag names - e.g. hubzilla usesdtstart and dtend).

3.) Because I'm not familiar with xml handling in php I extended xml::from_array( ) to handle nested arrays. In addition I extended xml::to_array( ) to have a 'mixed' (Please: If some one does have a better name for this mode, please let me know) priority mode. It does convert xml in the following way: .
In addition I changed the behavior of xml::to_array( ) in 'attribute' priority mode a little bit. Formerly the

[link]=> array(

Now it @value represents the content of a xml element:

[link]=> array(
[@value] =

I did some tests to convert a xml with xml::to_array( ) and back with xml::from_array( ). The results look very good (Note this only works if the the array is created in 'attribute' or the new 'mixed' mode). I did several tests but I couldn't be sure if it doesn't break something (@Michael Vogel can you have a look - sry for disturbing your holiday).

4.) For frio I create short naming versions for the month and the day (eg. Mon, Tue and so on or Jan, Feb, Mar) in format_event_object( ). This code for this is inspired by other places in friendica where dates are created. I'm not familiar with date/time formats of other countries so this was the best way of preventing doing some mistakes. If anybody does have better solutions of solving this he/she is welcome to tell me.

5.) I have thought about creating a template for the content of function format_event_html() . But since this function is also used in function bbcode( ) I can not estimate the effects of having the possibility of different templates. Any thoughts about this?

Maybe I have other questions but I can't remember it at the moment. So I will end at this point and hope about some feedback :-)
Michael Vogel
8 meses atrás
There is a possible problem concerning this pull request:
8 meses atrás

Git pretty — justin hileman dot info

This chart is from the presentation Changing History, or How to Git Pretty. Check it out to learn how to use this IRL. Here’s a printable PDF version, if you’re into that sort of thing. My name is Justin and I make the Internet. I'm @bobthecow on Twitter. I'm also a co-founder of Presentate, which is 100% awesome....
mais recente antigo