Skip to content

Releases: eq19/feed

Reversal behaviour

13 Aug 23:26
5297986
Compare
Choose a tag to compare
1st layer:
It has a total of 1000 numbers
Total primes = π(1000) = 168 primes

2nd layer:
It will start by π(168)+1 as the 40th prime
It has 100x100 numbers or π(π(10000)) = 201 primes
Total cum primes = 168 + (201-40) = 168+161 = 329 primes

3rd layer:
Behave reversal to 2nd layer which has a total of 329 primes
The primes will start by π(π(π(1000th prime)))+1 as the 40th prime
This 1000 primes will become 1000 numbers by 1st layer of the next level
Total of all primes = 329 + (329-40) = 329+289 = 618 = 619-1 = 619 primes - Δ1 

Behave reversal

Bilateral way

24 Jul 17:08
Compare
Choose a tag to compare
# Sets global environtment variables
env:
  USER: ${{ github.actor }}
  REPO: ${{ github.repository }}
  OWNER: ${{ github.repository_owner }}
  ACTOR: ${{ github.triggering_actor }}
  
jobs:
  # Build job
  github-pages:
    if: github.event.workflow_run.conclusion == 'success'
    runs-on: ${{github.actor != github.repository_owner && 'ubuntu-latest' || (
             github.ref_name != 'main' && 'windows-latest' || 'self-hosted') }}

image

Setup self-hosted

22 Jul 16:30
Compare
Choose a tag to compare
jobs:
  # Build job
  github-pages:
    if: github.event.workflow_run.conclusion == 'success'
    runs-on: ${{github.actor != github.repository_owner && 'self-hosted' || (
             github.ref_name != 'main' && 'ubuntu-latest' || 'windows-latest')}}

Untitled

The Edge of Hexagon

20 Jul 08:58
d32e8ef
Compare
Choose a tag to compare

Figure shows the hexagon with all possible positions within the t-hexagon have been considered and three facts become apparent:

  1. Only “n” and “n+2” may host prime numbers, because all other cells are even or three divisible or both.

  2. No n or n+2 cell borders the edge of the hexagon, so spirals near the edge continue past and return to the center of the hexagon.

  3. No escape is possible

image

Digging Of Contents

18 Jul 09:19
Compare
Choose a tag to compare

By prime hexagon we can see that seven (7), hold the power to make the prime spin remain on the track. This power is then transfered to twelve (12) spins.

image

So basically there is a power transformation between an addition of 3 and 4 to 7 in to their multiplication in to 12 where this 7 will be treated as one of their member.

  #8 |----------- 5® --------|------------ 7® --------------|
     |  1  |---------------- 77 = 4² + 5² + 6² -------------|
-----+-----|-----+---+---+---+---+---+---+---+----+----+----+
 repo| {1} | {2} | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |{12}| 1,77
-----+-----|-----+---+---+---+---+---+---+---+----+----+----+
 user|  7  |  -  | - | - | - | 7 | 8 | - | - |  8 |  8 |  3 |
-----+-----|-----+---+---+---+---+---+---+---+----+----+----+ 7,78
 main|  -  |  9  | 7 | 9 | 6 | - | - | 8 | 5 |  - |  - |  - |
-----+-----|-----+---+---+---+---+---+---+---+----+----+----+
               Δ | Δ             |                       Δ  |   Δ
              Φ17|Φ29            |                     96-99|  200
                 |--- A,T,G,C ---|                          |  └── 30
                 Δ    2x2 = 4x   |-------  2x3 = 6x  -------|  └── 70
                {98}                                        |  └── 100

Therefore the 12 will consist of 11 groups runner and 1 profile of the transformation. We collect them in 19 gists as below.

$ gh api -H "${HEADER}" /users/eq19/gists --jq '.[].url'

https://api.github.com/gists/c9bdc2bbe55f2d162535023c8d321831 19 grammar 36
https://api.github.com/gists/e9832026b5b78f694e4ad22c3eb6c3ef 18 syntax
https://api.github.com/gists/e84a0961dc7636c01d5953d19d65e30a 17 parser
https://api.github.com/gists/dc30497160f3389546d177da901537d9 16 lexer
https://api.github.com/gists/b9f901cda16e8a11dd24ee6b677ca288 15 feed
https://api.github.com/gists/765ddc69e339079a5a64b56c1d46e00f 14 maps
https://api.github.com/gists/f78d4470250720fb18111165564d555f 13 io 30
                                                           --------
https://api.github.com/gists/4ffc4d02579d5cfd336a553c6da2f267 12 group11 77
https://api.github.com/gists/80c8098f16f3e6ca06893b17a02d910e 11 group10
https://api.github.com/gists/b541275ab7deda356feef32d600e44d8 10 group9
https://api.github.com/gists/6e2fcc2138be6fb68839a3ede32f0525 9 group8
https://api.github.com/gists/f21abd90f8d471390aad23d6ecc90d6d 8 group7
https://api.github.com/gists/6c89c3b0f109e0ead561a452720d1ebf 7 group6
https://api.github.com/gists/f1af4317b619154719546e615aaa2155 6 group5
https://api.github.com/gists/54600a56d20163c2da8910dd804ec406 5 group4
https://api.github.com/gists/8cab5e72d52ecb338a2f2187082a1699 4 group3
https://api.github.com/gists/88d09204b2e5986237bd66d062406fde 3 group2
https://api.github.com/gists/b32915925d9d365e2e9351f0c4ed786e 2 group1
https://api.github.com/gists/0ce5848f7ad62dc46dedfaa430069857 1 eq19/* 37

By the prime hexagon the 19th spin is touching back to the first node. So the workflow will be proceeded as bilateral way:

https://api.github.com/gists/4ffc4d02579d5cfd336a553c6da2f267 12 group11 77
https://api.github.com/gists/80c8098f16f3e6ca06893b17a02d910e 11 group10
https://api.github.com/gists/b541275ab7deda356feef32d600e44d8 10 group9
https://api.github.com/gists/6e2fcc2138be6fb68839a3ede32f0525 9 group8
https://api.github.com/gists/f21abd90f8d471390aad23d6ecc90d6d 8 group7
https://api.github.com/gists/6c89c3b0f109e0ead561a452720d1ebf 7 group6
https://api.github.com/gists/f1af4317b619154719546e615aaa2155 6 group5
https://api.github.com/gists/54600a56d20163c2da8910dd804ec406 5 group4
https://api.github.com/gists/8cab5e72d52ecb338a2f2187082a1699 4 group3
https://api.github.com/gists/88d09204b2e5986237bd66d062406fde 3 group2
https://api.github.com/gists/b32915925d9d365e2e9351f0c4ed786e 2 group1
https://api.github.com/gists/0ce5848f7ad62dc46dedfaa430069857 1 eq19/* 37
12 months (moon)
-------- bilateral 9 sums
7 days (sun)
https://api.github.com/gists/c9bdc2bbe55f2d162535023c8d321831 19 grammar 36
https://api.github.com/gists/e9832026b5b78f694e4ad22c3eb6c3ef 18 syntax
https://api.github.com/gists/e84a0961dc7636c01d5953d19d65e30a 17 parser
https://api.github.com/gists/dc30497160f3389546d177da901537d9 16 lexer
https://api.github.com/gists/b9f901cda16e8a11dd24ee6b677ca288 15 feed
https://api.github.com/gists/765ddc69e339079a5a64b56c1d46e00f 14 maps
https://api.github.com/gists/f78d4470250720fb18111165564d555f 13 io 30

Screenshot_2023-07-18-16-10-48-655_com android chrome

Fix almost all warning on build

11 Jul 15:23
Compare
Choose a tag to compare
FROM jekyll/jekyll:latest
LABEL version=v0.0.1

ADD . /maps

ENV PATH="${PATH}:/maps/_plugins"
ENV BUNDLE_GEMFILE=/maps/_plugins/Gemfile

RUN apk update && apk upgrade
RUN apk add -U bash curl github-cli jq yq
RUN bundle install &>/dev/null && bundle add webrick

ENTRYPOINT ["entrypoint.sh"]

image

By this part we are going to collect all of the schemes we have documented starting from the beginning. Here we will explain the way we choosed ‘eq19' as our root domain where the ‘eq' is standing for equivalent. So it would mean equivalent to 19.

image

Defines a curve

08 Jul 05:52
Compare
Choose a tag to compare

image

set_target() {
  
  # Get Structure
  if [[ "$2" == *"github.io"* ]]; then
    [[ -n "$ID" ]] && SPIN=$( echo $ID | sed 's/.* //')
    IFS=', '; array=($(pinned_repos.rb ${OWNER} | yq eval -P | sed "s/ /, /g"))
  else
    HEADER="Accept: application/vnd.github+json"
    echo ${INPUT_TOKEN} | gh auth login --with-token
    gh api -H "${HEADER}" /users/eq19/gists --jq '.[].files.[].raw_url' > /tmp/tempout
    IFS=', '; array=($(gh api -H "${HEADER}" /user/orgs  --jq '.[].login' | sort -uf | yq eval -P | sed "s/ /, /g"))
  fi

Triangular waves

06 Jul 15:18
Compare
Choose a tag to compare

image

#!/usr/bin/env bash
# Structure: Cell Types – Modulo 6
# https://www.hexspin.com/proof-of-confinement/

set_target() {
  
  # Get Structure
  if [[ "$2" == *"github.io"* ]]; then
    [[ -n "$ID" ]] && SPIN=$( echo $ID | sed 's/.* //')
    IFS=', '; array=($(pinned_repos.rb ${OWNER} | yq eval -P | sed "s/ /, /g"))
  else
    HEADER="Accept: application/vnd.github+json"
    echo ${INPUT_TOKEN} | gh auth login --with-token
    IFS=', '; array=($(gh api -H "${HEADER}" /user/orgs  --jq '.[].login' | sort -uf | yq eval -P | sed "s/ /, /g"))
  fi
  
  # Iterate the Structure
  printf -v array_str -- ',,%q' "${array[@]}"
  if [[ ! "${array_str},," =~ ",,$1,," ]]; then SPAN=0; echo ${array[0]}
  elif [[ "${array[-1]}" == "$1" ]]; then SPAN=${#array[@]}; echo $2
  else
    for ((i=0; i < ${#array[@]}; i++)); do
      if [[ "${array[$i]}" == "$1" && "$i" -lt "${#array[@]}-1" ]]; then SPAN=$(( $i + 1 )); echo ${array[$SPAN]}; fi
    done
  fi
  
  # Generate id from the Structure
  [[ -z "$SPIN" ]] && SPIN=0 || SPIN=$(( 6*SPIN+SPIN ))
  [[ -z "$2" ]] && echo $(( $SPAN )) || if [[ "$1" == "$2" ]]; then return 7; else return $(( $SPAN + $SPIN )); fi
}

# https://unix.stackexchange.com/a/615292/158462
[[ ${GITHUB_REPOSITORY} == *"github.io"* ]] && OWNER=$(set_target ${OWNER} ${GITHUB_ACTOR}) || ID=$(set_target ${OWNER} ${ID})
TARGET_REPOSITORY=$(set_target $(basename ${GITHUB_REPOSITORY}) ${OWNER}.github.io)
jekyll_build ${OWNER}/${TARGET_REPOSITORY} $?

Default configuration

03 Jul 03:11
Compare
Choose a tag to compare

image

Tested on grammar

lang: en
By default Html is compressed and use Jsdelivr CDN, 
Add following configuration to disable this
debug:
  compress: false

Configuration from GitHub Pages

Some configuration settings cannot be changed for GitHub Pages sites.

lsi: false
safe: true
source: [your repo's top level directory]
incremental: false
highlighter: rouge
gist:
  noscript: false
kramdown:
  math_engine: mathjax
  syntax_highlighter: rouge

Configuration from plugins

GitHub Pages uses plugins that are enabled by default and cannot be disabled:

jekyll-coffeescript
jekyll-default-layout
jekyll-gist
jekyll-github-metadata
jekyll-optional-front-matter
jekyll-paginate
jekyll-readme-index
jekyll-titles-from-headings
jekyll-relative-links

jekyll-github-metadata

  • Propagates the site.github namespace with repository metadata
  • Sets site.title as the repository name, if none is set
  • Sets site.description as the repository tagline if none is set
  • Sets site.url as the GitHub Pages domain (cname or user domain), if none is set
  • Sets site.baseurl as the project name for project pages if none is set

If it is not hosted on github, this plugin will become very bad, it is a good choice to close it! (github_metadata: false), When you set the value false, the options githubeditaddons_branchnav_version and commit information will no longer be available!

Maybe it is the best practice to set the github api site to the local host on your computer

Move all except _plugins

30 Jun 18:02
Compare
Choose a tag to compare

image

  echo -e "\n$hr\nCONFIG\n$hr"
  rm -Rf -- */ && mv -fn /mapa/_config.yml ${JEKYLL_CFG}
  find /maps/_* -maxdepth 0 \! -name '_plugins' -type d -exec mv {} . \; -prune
  
  sed -i "1s|^|target_repository: $1\n|" ${JEKYLL_CFG}
  sed -i "1s|^|repository: $GITHUB_REPOSITORY\n|" ${JEKYLL_CFG}
  sed -i "1s|^|id: $(( $2 + 30 ))\n|" ${JEKYLL_CFG} && cat ${JEKYLL_CFG}

  echo -e "\n$hr\nWORKSPACE\n$hr"
  if [[ $1 == *"github.io"* ]]; then mv _assets assets; fi && ls -al .