Skip to content

Instantly share code, notes, and snippets.

View GuillaumeFalourd's full-sized avatar
🏠
Working from home

Guillaume Falourd GuillaumeFalourd

🏠
Working from home
View GitHub Profile
name: Python Script Workflow
on: [push]
jobs:
job1:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
@GuillaumeFalourd
GuillaumeFalourd / get_job_datas_on_linkedin.py
Last active September 21, 2023 10:56
Script scraping linkedIn jobs datas on a CSV file according to city and profession
#!/usr/bin/python3
import requests
import csv
import os
import datetime
import time
import random
from bs4 import BeautifulSoup as soup
@GuillaumeFalourd
GuillaumeFalourd / 35-Useful-Git-Commands.md
Last active August 23, 2021 01:19
Git commands are essential, and they help to manage your source code effectively. In this guide, you will learn Git commands from Beginners to Advanced level.

35 useful Git commands

If you are a new or experienced developer, you have to use source control. And there are good chances that you are using Git to manage your source code.

And to use Git to its full potential, you need to know Git commands.

Here you will learn helpful Git commands that will take you from one level to another.

The guide has been divided into three different sections: Basic, Intermediate, and Advanced Git commands.

@GuillaumeFalourd
GuillaumeFalourd / github-context-push.json
Last active June 26, 2021 17:11
Example of github context payload for a PUSH event (on Github Actions)
{
"token": "***",
"job": "github-context",
"ref": "refs/heads/main",
"sha": "675027d26658e47a4928b124f620eb1c65528c40",
"repository": "GuillaumeFalourd/poc-github-actions",
"repository_owner": "GuillaumeFalourd",
"repositoryUrl": "git://github.com/GuillaumeFalourd/poc-github-actions.git",
"run_id": "974558253",
"run_number": "3",
@GuillaumeFalourd
GuillaumeFalourd / github-context-pull-request.json
Created June 26, 2021 17:15
Example of github context payload for a PULL REQUEST event (on Github Actions)
{
"token": "***",
"job": "github-context",
"ref": "refs/pull/16/merge",
"sha": "b4f1729888b5c99abdf8a7a250ecc6cff1e180be",
"repository": "GuillaumeFalourd/poc-github-actions",
"repository_owner": "GuillaumeFalourd",
"repositoryUrl": "git://github.com/GuillaumeFalourd/poc-github-actions.git",
"run_id": "974568708",
"run_number": "2",
@GuillaumeFalourd
GuillaumeFalourd / gha-ritchie-formula-demo-1.yml
Last active July 1, 2021 19:28
Execution of a Ritchie formula directly through command lines
name: Ritchie Formula Demo
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Golang Version
uses: actions/setup-go@v2
@GuillaumeFalourd
GuillaumeFalourd / gha-ritchie-formula-demo-2.yml
Last active July 1, 2021 19:25
Execution of a Ritchie formula using Docker image
name: Ritchie Formula Demo
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker://guillaumefalourd/ritchiecli:go-1.15.8
steps:
@GuillaumeFalourd
GuillaumeFalourd / gha-ritchie-formula-demo-3.yml
Last active July 1, 2021 19:28
Execution of a Ritchie formula using Ritchie CLI action
name: Ritchie Formula Demo
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Golang Version
uses: actions/setup-go@v2
name: Workflow Dispatch
on:
workflow_dispatch:
inputs:
input:
description: "Test"
required: false
default: "World"
name: Workflow Outputs
on:
workflow_dispatch:
jobs:
job1:
runs-on: ubuntu-latest
# Map a step output to a job output