21 Matching Annotations
  1. Oct 2023
    1. Once Docker Desktop

      To remove the credsStore and currentContext properties from the ~/.docker/config.json file on a Linux host, you can follow these steps: Open a terminal window on your Linux host. Use a text editor or JSON editor to open the ~/.docker/config.json file. You can use a command like nano ~/.docker/config.json or json_editor ~/.docker/config.json to open the file. Locate the credsStore and currentContext properties in the JSON file. They should look something like this: { "credsStore": { "docker-desktop": { "credentials": { "username": "your-username", "password": "your-password", "email": "your-email@example.com" } } }, "currentContext": "docker-desktop" }

      Remove the entire credsStore property, including the curly braces {} that enclose it. This will remove the credentials for the Docker Desktop authentication provider. Remove the currentContext property, including the string value "docker-desktop". This will remove the current context, which is set to Docker Desktop. The resulting config.json file should look something like this: { "version": 1 }

      Save the changes to the config.json file and exit the text editor or JSON editor. Verify that the changes have taken effect by running a Docker command, such as docker run -it ubuntu /bin/bash. If you are prompted to enter your Docker credentials, it means that the changes have not taken effect. If you are not prompted to enter your credentials, it means that the changes have taken effect and you are now using the default Docker authentication provider. That's it! You have successfully removed the credsStore and currentContext properties from the ~/.docker/config.json file on your Linux host.

    1. This is a Docker Compose file that defines a stack of services for a web application that includes a frontend, backend, and database, as well as a documentation server and a Minio object storage server.

      The services are:

      • nginx: A reverse proxy and load balancer that routes requests to the appropriate service. It also serves static files from the /papad-assets directory.
      • api: A backend service that provides the API for the web application. It is built from the janastu/papad-api:2.4 Docker image and has a number of environment variables defined in the service_config.env file.
      • bg-app: A background service that runs periodically to perform tasks such as cleaning up old data. It is built from the janastu/papad-bg-apps:2.4 Docker image and has a number of environment variables defined in the service_config.env file.
      • ui: A frontend service that serves the user interface for the web application. It is built from the janastu/papad-ui:2.4 Docker image and has a number of environment variables defined in the service_config.env file.
      • docs: A documentation server that serves the documentation for the web application. It is built from the janastu/papad-docs:2.4 Docker image.
      • minio: A Minio object storage server that provides storage for the web application. It is built from the quay.io/minio/minio Docker image and has a number of environment variables defined in the service_config.env file.

      The services are linked together using Docker Compose links, which allow them to communicate with each other. For example, the api service is linked to the minio service, which allows it to store and retrieve data from the Minio object store. The nginx service is also linked to the minio service, which allows it to serve static files from the Minio storage.

      The services are also configured to depend on each other, so that if one service fails, the others will be restarted. For example, if the api service fails, the bg-app service will be restarted to ensure that the background tasks continue running.

      The Docker Compose file also defines a number of volumes, which allow the services to persist data even if the containers are restarted or recreated. For example, the api service has a volume mounted at /app/db, which allows it to store data in a persistent database. The minio service also has a volume mounted at /data, which allows it to persist data in the Minio object store.

      Overall, this Docker Compose file defines a complex stack of services for a web application that includes a frontend, backend, database, and documentation server, as well as a Minio object storage server. It uses environment variables and volumes to configure the services and allow them to communicate with each other and persist data.

  2. Mar 2023
    1. What kind of intellectual work is possible after the rise of digital media? Examining some aspects of contemporary technology and critical theory, this essay serves both as a meditation on the contemporary cybernetic world and as a proposal for what ought to be done about it.
    1. micahchoo committed Mar 21, 2023 Verified This commit was created on GitHub.com and signed with GitHub’s verified signature. GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.

      Welcome to the <span class="npf_color_monica">Fever Dream of the Folder Sorter</span>

      <small>click here and highlights will appear on the page outside the sidebar</small>

      The Context -

      I found a script that did something close to what I wanted to do. So I decided to ask ChatGPT to modify the code to add the features that I wanted. This was an arduous 24-hour process.

      However, in the course of that, a new idea started in my head. I want to use Github's Commits interface as the stage to perform the story of those 24 hours.

      Instructions

      1. You can read the main chapter by expanding the <figure data-orig-height="10" data-orig-width="20"></figure>button.

      2. The code is used as both a setting for the story as well as code as illustration. You can see the code and comments by click on the button that looks like this <figure data-orig-height="10" data-orig-width="20"></figure>

      Additional Notes

      I added * Hypothesis' Via as the narrator * Github's different features for branching and commenting as the narrative spine

      <small>The code conflicts in each new revision, the way the code is presented and the comments are all elements of the story.</small> <small>The split view might be better to view the code with to compare from one version to another</small>

      Read what this code was supposed to do

    2. Sort Files in Folders.py

      Here we commit to the Fever Dream

      This is the page where the story is. The story is told through the three C's. Commits, Code and Comments. Wander through.

    1. Update Sort Files in Folders.py …

      the first point in the story i'm telling you. Click around, see the code, see the changes, see the comments

    2. Downloads-Folder-Sorter

      For every click, you do on this page - open it in a new tab

    3. Update Sort Files in Folders.py

      Click the three dots for the story of this commit. if you click on the <> button at the end of the line, you can see how the code looked for this story

  3. Jan 2023
  4. Oct 2021
    1. AS13335.

      what does peering db mean?

    2. a unified internal routing policy

      is this like what yggdrasil does?

    3. BGP allows one network (say Facebook) to advertise its presence to other networks that form the Internet.

      sailboat?

    4. resolving

      DNS (Domain Name Server) resolution is the process of translating IP addresses to domain names.more here

  5. May 2021
    1. Right click on the post in the feed to see linked articles and related posts

  6. Apr 2021
  7. Mar 2021
  8. Nov 2020
    1. Scenario

      Inshot Storytelling app, Video Editor & Video Maker InShot has a lot of photo and video editing features in one. There is a small learning curve. Many girls on the field have creatively combined photo and video content, applied effects and enhancements to specific sections and added transitions too. Harnessing the capabilities of InShot for storytelling has immense possibilities. It could potentially lead to a creators movement where people share details about their lives through videos and narration. It also could be used for product stories and marketing. InShot app runs on a phone and ASPi is used as a repository and exchange node - during COVID lockdown, a server online is also used so physical movement is reduced.

      Syncthing. A continuous file synchronization program Ever thought of connotations of sharing in today’s world. Well, Syncthing allows us to securely backup data without the need to trust a third-party cloud provider. Sharing and syncing files between devices on a local network or over the internet is made easier through Syncthing. This could help in fostering community archives as access to files over multiple devices can be made effortless. In localised sense, people can also look up resources or their queries and find answers with their peers.

    2. Scenario 1

      Kolibri The offline app for universal education Kolibri makes high quality education technology available in low-resource communities such as rural schools, refugee camps, orphanages, non-formal school systems, and prison systems. While the internet has thoroughly transformed the availability of educational content for much of the world, many people still live in places where online access is poor or even nonexistent. Kolibri is a great solution for these communities. It's an app that creates an offline server to deliver high-quality educational resources to learners. What makes Kolibri unique is that it offers a way to bring different content sources offline into a central repository in a structured way. Beyond that, it brings in a host of tools to help align the content with national and local curricular standards, and on the student side it offers a self-paced personalized learning experience with support tools for teachers to track student progress. Kolibri can be envisioned also for local teaching, DIY courses, self initiated inquiries, equal opportunities for 21st century skills etc.

  9. Oct 2020
    1. Moreover, the villagers speak of the Bathery as having apparently housed a cow, a sheep, hens and other animals during the “times” — my annotating mind is now linking this to the Noah’s arc!

      Very interesting restoration ideas