Skip to content

Commit

Permalink
add pre-commit workflow (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn authored Apr 27, 2024
1 parent 2b1a3cc commit 92e0160
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 9 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: pre-commit

on:
pull_request:
branches: [ master ]
push:
branches: [ master ]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v5.24.0
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-xml
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11.8
2 changes: 1 addition & 1 deletion _includes/custom-head.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{% seo %}
{% seo %}
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ <h1 class="post-title">{{ page.title }}</h1>

{% include comments.html %}
{% include related_posts.html %}
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Le SDK contengono software e documentazione necessaria a chi vuol sviluppare sia
<h2><a name="step1">Abilita USB Debugging</a></h2>
Menu -> Impostazioni -> Applicazioni -> Sviluppo -> Debug USB
<code>$ ./tools/adb devices
List of devices attached
List of devices attached
HT935NG08417 device</code>
Se il vostro device viene riportato, siete pronti per poter utilizzare Fastboot

Expand Down Expand Up @@ -75,7 +75,7 @@ Così a naso, sembra che il miglior Android mantenuto dalla comunità è Cyanog

<h2><a name="step3">Installazione rom di recovery</a></h2>
<del datetime="2010-09-04T10:06:00+00:00">Scarica la più recente versione della <a href="http://www.cyanogenmod.com/downloads/recovery-image">Recovery Image CyanogenMod</a> (sostituisce il sistema minimale di recovery, sarà  utilizzato per poter installare facilmente Android+CyanogenMod)</del>
Scarica la più recente versione della ra-recovery da <a href="http://forum.xda-developers.com/showpost.php?p=4647751&postcount=1">XDA</a>.
Scarica la più recente versione della ra-recovery da <a href="http://forum.xda-developers.com/showpost.php?p=4647751&postcount=1">XDA</a>.

Scompatta e copia la prima immagine direttamente nella cartella principale della tua memoria SD (con il telefono collegato al pc, seleziona l'avviso che esce fra le notifiche in alto del device e fai Connetti) e riapri una shell:
<code>$ ./tools/adb shell
Expand Down
7 changes: 3 additions & 4 deletions _posts/2010-07-10-connect-to-freenode-via-tor-with-irssi.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,17 @@ As an additional note, I <a name="patch">added a line</a> to the perl script to
+++ cap_sasl.pl 2010-07-10 13:10:04.000000000 +0200
@@ -4,6 +4,7 @@
# $Id$

use MIME::Base64;
+use Irssi::Irc;

$VERSION = "1.1";
</code></pre>

For macports users:
<pre><code>sudo port install p5-crypt-blowfish p5-crypt-dh p5-crypt-openssl-bignum \
p5-math-gmp p5-math-pari</code></pre>
Although I've installed these libraries, I continue to get the error:
<pre><code>Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at
<pre><code>Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at
/opt/local/lib/perl5/vendor_perl/5.8.9/Crypt/DH.pm line 6</code></pre>
Comments welcome.

Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ We can configure Squid to simply ignore that request header, and usually client

Add in squid.conf:
<code>ignore_expect_100 on</code>

Android application like AppBrain and Facebook Contact Sync, and BOINC client was having login issues due to this reason.

0 comments on commit 92e0160

Please sign in to comment.