Skip to content

Instantly share code, notes, and snippets.

@yebekhe
Last active August 21, 2023 16:56
Show Gist options
  • Save yebekhe/4f300ba3527dfba3af70c66c635842c8 to your computer and use it in GitHub Desktop.
Save yebekhe/4f300ba3527dfba3af70c66c635842c8 to your computer and use it in GitHub Desktop.
config-gen.ipynb
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/yebekhe/4f300ba3527dfba3af70c66c635842c8/config-gen.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"source": [
"!apt update"
],
"metadata": {
"id": "rMvKSCmzhoDY"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!apt upgrade"
],
"metadata": {
"id": "utI_m5WxihGA"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!wget https://github.com/ViRb3/wgcf/releases/download/v2.2.17/wgcf_2.2.17_linux_amd64"
],
"metadata": {
"id": "BWRwOhpuijIF"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!chmod u+x wgcf_2.2.17_linux_amd64"
],
"metadata": {
"id": "eVF3risBisI3"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!echo | ./wgcf_2.2.17_linux_amd64 register"
],
"metadata": {
"id": "pbgNQzcUiyqJ"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!./wgcf_2.2.17_linux_amd64 generate"
],
"metadata": {
"id": "8cnvDpwujMWI"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!WGCF_LICENSE_KEY=\"m5S17oG3-81B0aZG5-16u7nCd9\" ./wgcf_2.2.17_linux_amd64 update"
],
"metadata": {
"id": "N8GJgXyFjSvA"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!cat wgcf-profile.conf"
],
"metadata": {
"id": "KAPGOT86jhaX"
},
"execution_count": null,
"outputs": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment