Pesquisar

Results for: github

Fabio
4 semanas atrás

mhagger/git-imerge

Incremental merge for git. Contribute to mhagger/git-imerge development by creating an account on GitHub.
Fabio
4 semanas atrás

YouTube: Git Merge • git-imerge (Michael Haggerty) (GitHub)

Subscribe: http://bit.ly/subgithub • Michael Haggerty describes his git-imerge tool in detail, which performs merges between git branches incrementally. If c...
Fabio
2 meses atrás

maxkueng/restique

A wrapper around restic with profiles. Contribute to maxkueng/restique development by creating an account on GitHub.
#restic #backups
Fabio
2 meses atrás
Using jq to pretty print nextcloud logs
NextCloud is a great software, but its logs aren't easy to read if something goes wrong.

This is an example of "tail nextcloud.log" output (warning: it's long)

Clique para abrir/fechar

A fun fact: it's only two lines of log.

The web interface does a great job showing the logs in a nice interface, with filters and collapsed details.

But what if the log interface page is not available for an error which details are written in the logs?

To escape the log-infinite-loop situation, here a command line for jq (the "lightweight and flexible command-line JSON processor") to prettify the log messages:

$ tail nextcloud.log | jq 'if .message|contains("\"Exception\"") then .message = ( .message | split(": {") | . [1]= ("{" + . [1]| fromjson | .Trace = (.Trace | split("\n")) ) ) else . end'

and here it is the output (of the last log):
图像/照片

Even better, we can create a file called /usr/local/bin/prettynclogs, make it executable and add in the same jq code:
#!/usr/bin/jq -f
if .message|contains("\"Exception\"") then
.message = (
.message | split(": {") | . [1]= (
"{" + . [1]| fromjson | .Trace = (
.Trace | split("\n")
)
)
)
else
.
end


and watch the logs with

$ tail nextcloud.log | prettynclogs

#nexcloud #jq #admin #scripts
Fabio
2 meses atrás

favreau/WTF

WTF is a header-only c++11 library that helps you introduce a lot of swearing in your code - favreau/WTF
Fabio
2 meses atrás

sharkdp/bat

A cat(1) clone with wings. bat supports syntax highlighting for a large number of programming and markup languages. bat communicates with git to show modifications with respect to the index. bat can pipe its own output to less if the output is too large for one screen.
Fabio
3 meses atrás
Ok. I quit.

felixrieseberg/windows95

windows95 - 💩🚀 Windows 95 in Electron. Runs on macOS, Linux, and Windows.
Fabio
3 meses atrás
#oop #bash #stdlib

niieani/bash-oo-framework

bash-oo-framework - Bash Infinity is a modern boilerplate / framework / standard library for bash
Fabio
4 meses atrás

bradfitz/homelab

Brad's homelab setup - This page describes my home server & networking setup.
Fabio
5 meses atrás

dylanaraps/pure-bash-bible

pure-bash-bible - 📖 A collection of pure bash alternatives to external processes.
Fabio
5 meses atrás

Microsoft Buys GitHub: The Linux Foundation's Reaction - The Linux Foundation

‘In War: Resolution, In Defeat: Defiance, In Victory: Magnanimity, In Peace: Good Will.’ Winston S. Churchill This week Microsoft announced...
Fabio
5 meses atrás
@Jason Robinson 🐍🍻
in reply to your message
But where do I find the domain names of the 328 friendica servers so I can register them to the federation info? I'm genuinely interested to improve the site, but I'm afraid I just can't find that many servers anywhere (not just friendica, but the others too).




andy@friendica.hubup.pro escreveu:
Hello @Jason Robinson 🐍🍻

We have a lists from May 2018 here: https://github.com/friendica/dir/files/1997599/2018-05-12-site-probe.csv.zip

If you want something more recent please let me know.
Fabio
5 meses atrás
Hubzilla moved to gitlab on Framasoft
👏👍

Bye, bye GitHub!


You all probably already noticed that GitHub was recently bought by Microsoft. See here https://blog.github.com/2018-06-04-github-microsoft if you have not.

After a brief orientation period the Hubzilla community decided to move the sourcecode to an independent, freedom-loving GitLab instance at Framasofts https://framagit.org/

To get the latest and greatest Hubzilla code, you need to point your installation to the new sourcecode location. This is pretty simple:

cd into your Hubzilla root directory and execute this command:
git remote set-url origin https://framagit.org/hubzilla/core.git

For the addons: cd extend/addon into your Hubzilla addons directory and execute this command:
git remote set-url origin https://framagit.org/hubzilla/addons.git

Please do the same for the widget https://framagit.org/hubzilla/widgets.git and theme https://framagit.org/hubzilla/themes.git repos if you already added those from GitHub.

The GitHub repos will not receive any updates anymore but will stay intact for a short transition period.
Issues and bugreports should be reported and discussed at https://framagit.org/hubzilla/core/issues for core and https://framagit.org/hubzilla/addons/issues for addon issues.

!{announcements@project.hubzilla.org} !{support@zotadel.net}
Sandro
5 meses atrás
Note that Gitea lets you sign-in with OpenID (just saying). I know it's not enough, but is a start. With your OpenID created local account (yes, you still need to be recognized locally, to get permissions) you can file an issue and report there the URL of your clone from which you are requesting a pull.

But a "pull request" is more than that: it is a thread in which a patch is being discussed and in which you can always see (a click away) the _current_ state of that _growing_ patch. The patch grows following a discussion in the thread.

Federated pull requests have been asked for in Gitea via https://github.com/go-gitea/gitea/issues/184 (want to help ? Go is fun !)
Fabio
5 meses atrás
This post was inspired by some comment on that group :-)
But It's really too early for comments and I'm absolutely not AP expert. So I'll try to keep an eye on the works.
This was just to put in words some thoughts.

https://github.com/git-federation/gitpub
Fabio
5 meses atrás
Federated Git
This are some consideration about the "let's build a decentralized git solution" after the GitHub acquisition by Microsoft.

Let's start with the base: git is already decentralized. All you need is an url where other people can pull you code.
The workflow requires a way to let know other contributor about your clone and your work branch, and let them to merge it into their repos. Usually, a mailing list is used. This is the way kernel development works.
Nothing prevents you from using a federated social profile to do this (e.g, a forum profile on Friendica)
Then you need something where bug are reported. Another mailing list, another social profile? Can be.

What github/gitlab/gitea/wathever give you as a plus is a "home page" for the project where development and bug reports are easily managed and discoverable.
The downside is any of this solution require contributor to have an account there, also the self-hosted ones.

In my view, a federated replacement to git[hub,lab,ea] is not something that shout out an activity every single time a commit is inserted in the repo, but something that let me use the existing distribuited nature of git, giving me "enhanced" tools I can use with my federated identity, from my federated profile.

Ideally, I must be able to login with my federated identity (see Zot! and friendica remote auth, or OpenID) into the main instance to post bug reports, which lets me clone the repo in my instance (if supported) with a click of a button, from where I can send merge request.
Or I can just have my clone on cgit. so I must be able to initiate a merge request from the main instance. Then discussions in bug reports and merge request are federated, so I can interact with them in my timeline, If I want.
Fabio
6 meses atrás

Xfennec/progress

Linux tool to show progress for cp, mv, dd, ... (formerly known as cv)
#linux #bash #coutils #progress
Tobias
7 meses atrás
This one https://github.com/chummer5a/chummer5a I was told it does a decent job assisting the creation of characters.
Fabio
8 meses atrás de Friendly
Un'applicazione GNOME per leggere i qrcode che mi sto divertendo a scrivere
https://github.com/fabrixxm/cuer
Fabio
9 meses atrás
Cuer - QRCode scanner for GNOME
Here it is: version 0.1.0

https://github.com/fabrixxm/cuer

Imagem/foto
Fabio
9 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 :-)

edit:
The GStreamer plugin
https://github.com/fabrixxm/gst-plugin-qrcode
Fabio
9 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.
Cheers,


@Davide De Prisco :-D
Fabio
9 meses atrás

JacobEvelyn/friends

friends - Spend time with the people you care about. Introvert-tested. Extrovert-approved.
Fabio
9 meses atrás

Quiet Modem Project

Transmit data with sound. Includes binaries for soundcards and .wav files.
Fabio
10 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...
Fabio
10 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: http://github.com/italia http://l.fsfe.org/Bolz3t #fsfe #FreeSoftware

Developers Italia

The community of developers of Italian Public Services


@Gruppo Linux Como
Michael Vogel
10 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 🎄
10 meses atrás

CyberShadow/aconfmgr

aconfmgr - A configuration manager for Arch Linux
#ArchLinux
Andy H3
11 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
11 meses atrás
Very nice! In the spirit of this, I'd like to edit the "mission statement" blob for plain and concise language. https://github.com/friendica/friendica/blob/develop/README.md

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.
Fabio
12 meses atrás
Rabuzarus
1 ano 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. https://github.com/friendica/friendica/blob/develop/include/event.php#L280 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.
Rabuzarus
1 ano 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 https://github.com/friendica/friendica/issues/2646 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 https://github.com/rabuzarus/friendica/tree/20170904_-_extend_event_html and an example frio event at https://test.kommune4.de/display/9fd9b54c1359dcc60b622dd589375790

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>http://activitystrea.ms/schema/1.0/event</type>
  3.   <id>urn:X-dfrn:test.kommune4.de:2:9fd9b54c3759dcc60b584d0456260405</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=https://friendica.kommune4.de/search?tag=xD]xD[/url];
  8.  &#[url=https://friendica.kommune4.de/search?tag=xD]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=http://zope2.in-berlin.de:8100/wsb/elok]E-LOK[/url]</name>
  12.   <address>Laskerstra&#[url=https://friendica.kommune4.de/search?tag=xDF]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=https://friendica.kommune4.de/search?tag=xD]xD[/url];
  15.  &#[url=https://friendica.kommune4.de/search?tag=xD]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=http://zope2.in-berlin.de:8100/wsb/elok]E-LOK[/url]&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
  17.  &#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
  18.  [map]Laskerstra&#[url=https://friendica.kommune4.de/search?tag=xDF]xDF[/url];e 4-6, Berlin[/map][/event-location]</content>
  19.   <link rel="alternate" type="text/html" href="https://test.kommune4.de/display/9fd9b54c8359dcc61152d76696294856"/>
  20.   <author>
  21.   <name>Ronny Rabuzarus</name>
  22.   <address>rabuzarus@test.kommune4.de</address>
  23.   <link rel="alternate" type="text/html" href="https://test.kommune4.de/profile/rabuzarus"/>
  24.   <link rel="photo" type="image/jpeg" href="https://test.kommune4.de/photo/58c7a30eeacc6492c43daf582cfb3cba-5.jpg"/>
  25.   </author>
  26.  </object>


I'm unsure about the used tag names startTime and endTime. The naming was taken from https://github.com/activitystreams/activity-schema/blob/master/activity-schema.md#event . (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: http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array/ .
In addition I changed the behavior of xml::to_array( ) in 'attribute' priority mode a little bit. Formerly the

[link]=> array(
[value]= http://irgendwas.de
)


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

[link]=> array(
[@value] = http://irgendwas.de
)


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 :-)
Fabio
1 ano atrás

jupeter/clean-code-php

clean-code-php - :bathtub: Clean Code concepts adapted for PHP
Fabio
1 ano atrás
ok

https://github.com/fabrixxm/friendica-clippy

I think some of the enterprise functionalities will work only with Frio theme..

There will be a service pack with multiple, user configurable, assistants. And more annoying functionalities
Fabio
1 ano atrás
Jason Robinson wrote the following post:

johngrib/vim-game-code-break: Block-breaking game in vim 8.0



Imagem/foto

I kind of wish I used #Vim when I see things like this :D



johngrib/vim-game-code-break

vim-game-code-break - Block-breaking game in vim 8.0
Fabio
2 anos atrás
A small #python library to create very simple command line interface based on argparse from function definition.

Just because I'm lazy... :-)


Create command line interface from function definition

Create command line interface from function definition


#argparse
Fabio
2 anos atrás

vshatskyi/black-screen

black-screen - A terminal emulator for the 21st century.


Because nothing says "21st century" as 200M of RAM and an ENTIRE CHROME PROCESS to run a TERMINAL

#terminal #electron #fuckedup
Jason Robinson
2 anos atrás
What exactly is the federated-global-directory (https://github.com/beardyunixer/federated-global-directory)? The protocol library for federation?
Fabio
2 anos atrás

robertfoss/audio_shop

audio_shop - Your frinedly neighbourhood script for mangling images using audio editing tools
Fabio
2 anos atrás
David Revoy wrote the following post:
Petite vidéo de démo d'un jeu dérivé de Pepper&Carrot ( toujours en développement ) complètement gratuit, libre et open-source (GPLv3 et CC-By, hébergé sur Github ). C'est du Java et tourne sur PC et Android. Le *.jar , *.apk et les sources sont dispo ici sur le blog. Video : https://youtu.be/zvC1P6rXTQg





Note: j'ai donné un lien Youtube , un lien Github et j'ai mentionné Android et on est plus le 1er Avril... Je sens que je vais me faire frapper sur Diaspora xD

WinterLicht/PepperAndCarrotRunningGame

PepperAndCarrotRunningGame - Pepper&Carrot themed endless runner game made with libGDX (WIP)
Fabio
2 anos atrás

xoreaxeaxeax/movfuscator

movfuscator - The single instruction C compiler
mais recente antigo