Skip to content

Instantly share code, notes, and snippets.

View gsaslis's full-sized avatar

Yorgos Saslis gsaslis

View GitHub Profile
@gsaslis
gsaslis / docker-compose.yaml
Created May 17, 2024 09:28
boards docker-compose deployment
version: '3.8'
services:
boards:
build:
dockerfile: ./Containerfile
context: ./radicle-planning-boards/
environment:
NUXT_PUBLIC_PARENT_ORIGIN: http://localhost:3080
ports:
```bash
running 101 tests
test canonical::formatter::test::ascii_control_characters ... ok
test canonical::formatter::test::ordered_nested_object ... ok
test canonical::formatter::test::securesystemslib_asserts ... ok
test cob::identity::test::test_ordering ... ok
test cob::common::test::test_color ... ok
test cob::issue::test::test_issue_create_and_get ... ok
test cob::issue::test::test_issue_create_and_unassign ... ok
@gsaslis
gsaslis / 01_Radicle_in_containers.md
Last active March 28, 2024 11:30
Running Radicle Nodes in Containers

Running in Containers

In case you want to run radicle in containers, on the same host (e.g. your laptop), you can use the docker-compose.yml file provided within this repo.

1. Create a profile

  1. Create a folder where you will store the data of your node. e.g. mkdir -p ~/radicle/profiles/bob/.radicle
  2. Set RAD_HOME : export RAD_HOME=~/radicle/profiles/bob/.radicle
  3. Create a key:
  • Pick a good passphrase and store it in your password manager
@gsaslis
gsaslis / answer.txt
Created January 22, 2023 09:38
Απάντηση σε unsolicited emails πολιτικών
Καλημέρα σας,
Βάσει νομοθεσίας 4624/2019 (GDPR), θα ήθελα παρακαλώ να με ενημερώσετε πότε έκανα εγγραφή για να λαμβάνω αυτές τις ενημερώσεις καθώς και να μου στείλετε αντίγραφο όλων των προσωπικών δεδομένων που τηρείτε για εμένα.
Ευχαριστώ.
@gsaslis
gsaslis / README.md
Last active September 28, 2022 18:13
Radicle VS Code Extension

Radicle VS Code Extension

Push / Pull / Sync buttons in Source Control Panel

At the top, next to the Commit button.

Radicle Panel with 3 buttons: Push / Pull / Sync

New panel with Radicle icon in the Primary Sidebar. For now it just has 3 buttons: Push, Pull and Sync.

@gsaslis
gsaslis / Step0_Web3-Greece_SmartContracts_Introduction.asciidoc
Last active December 16, 2021 20:17
Web3 Greece - Publishing our first smart contract on Ethereum
@gsaslis
gsaslis / README.markdown
Last active February 19, 2021 10:05
Download rubygems.org gems from Gemfile.lock

Fetch Rubygems.org dependencies

When you only have / want to use a Gemfile.lock to retrieve the Ruby dependencies for a project, you can use this little ruby script.

There might be several reasons why you may want to do this:

  • You may not have the original Gemfile available
  • You may not want to interpret the ruby code in Gemfiles to avoid arbitrary code execution risks.

Usage

{"level":"info","ts":1593446313.444076,"logger":"cmd","msg":"Operator Version: 0.6.0"}
{"level":"info","ts":1593446313.4441144,"logger":"cmd","msg":"Go Version: go1.13.4"}
{"level":"info","ts":1593446313.444122,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1593446313.4441288,"logger":"cmd","msg":"Version of operator-sdk: v0.15.2"}
{"level":"info","ts":1593446313.444699,"logger":"leader","msg":"Trying to become the leader."}
{"level":"info","ts":1593446316.1480718,"logger":"leader","msg":"No pre-existing lock was found."}
{"level":"info","ts":1593446316.154836,"logger":"leader","msg":"Became the leader."}
{"level":"info","ts":1593446318.8108034,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"0.0.0.0:8383"}
{"level":"info","ts":1593446318.81121,"logger":"cmd","msg":"Registering Components."}
{"level":"info","ts":1593446342.765852,"logger":"metrics","msg":"Metrics Service object created","Service.Name":"threescale-operator-metrics","Service.Namesp
@gsaslis
gsaslis / DistGitCreateSpec.groovy
Last active May 8, 2019 13:23
Invalid mocked method
package com.redhat.threescale.productization
import com.homeaway.devtools.jenkins.testing.JenkinsPipelineSpecification
class DistGitCreateSpec extends JenkinsPipelineSpecification {
def distGit = null
Map <String, ?> config = null
def mockValidatingUtils = null
def mockDistGitUtils = null