<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Malik Benkirane</title>
    <description>The latest articles on Forem by Malik Benkirane (@malikbenkirane).</description>
    <link>https://forem.com/malikbenkirane</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F65792%2F6df75ac1-0eed-4c66-b0bb-c589c53ad41e.jpg</url>
      <title>Forem: Malik Benkirane</title>
      <link>https://forem.com/malikbenkirane</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/malikbenkirane"/>
    <language>en</language>
    <item>
      <title>docker config auths reverse engineering</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Sat, 22 Jun 2024 06:30:03 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/docker-config-auths-reverse-engineering-b02</link>
      <guid>https://forem.com/malikbenkirane/docker-config-auths-reverse-engineering-b02</guid>
      <description>&lt;p&gt;&lt;code&gt;.docker/config.json&lt;/code&gt; auths secrets&lt;/p&gt;

&lt;p&gt;Before we start, backup &lt;code&gt;~/.docker/config.json&lt;/code&gt; and &lt;code&gt;export DOCKER_CONFIG=~/.docker&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;We will be using &lt;code&gt;sh&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;We should now have an empty &lt;code&gt;$DOCKER_CONFIG/config.json&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;If you are on Mac OS X like me, after we issue some &lt;code&gt;docker login&lt;/code&gt; command we should be able to spot a &lt;code&gt;credsStore&lt;/code&gt; attribute in our docker config.json:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;        "credsStore": "desktop"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or even&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;        "credsStore": "osxkeychain"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Let's make sure we remove that attribute. &lt;code&gt;docker login&lt;/code&gt; will now warn us that the authorizations values will be stored unencrypted:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;WARNING! Your password will be stored unencrypted in ~/.docker/config.json.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For example if we issue a &lt;code&gt;docker login ...&lt;/code&gt; with a service account on google cloud&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker login -u _json_key --password-stdin https://europe-west1-docker.pkg.dev  &amp;lt; ~/.gcp/sa-secret.json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We would also spot &lt;code&gt;auths&lt;/code&gt; attribute with a base64 encoded string value.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
        "auths": {
                "europe-west1-docker.pkg.dev": {
                        "auth": "BASE64ENCODEDxxxx",
        //...
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We can use &lt;code&gt;docker-credential-helpers&lt;/code&gt; from &lt;a href="https://github.com/docker/docker-credential-helpers/releases"&gt;docker credentials release&lt;/a&gt;&lt;br&gt;
to retrieve that &lt;code&gt;"auth"&lt;/code&gt; value.&lt;/p&gt;

&lt;p&gt;For example with &lt;code&gt;docker-credential-osxkeychain&lt;/code&gt; release:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;echo europe-west1-docker.pkg.dev | docker-credential-osxkeychain get
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "ServerURL": "europe-west1-docker.pkg.dev",
  "Username": "_json_key",
  "Secret": {
    // ...
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We would finally find that in &lt;code&gt;$DOCKER_CONFIG/config.json&lt;/code&gt; the base64 encoded value is nothing else than&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;_json_key:{
   // ... value retrieved from docker-credential-oskeychain
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But not that this is not rigorous JSON where we would had &lt;code&gt;"_json_key":{}&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I haven't gone further but let's take it further if we find the right time. &lt;/p&gt;

&lt;p&gt;Let's hope this gave you some ideas regarding your daily or uncommon routines. Let us know if you found that useful ;-)&lt;/p&gt;

&lt;h2&gt;
  
  
  See also
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://docs.docker.com/reference/cli/docker/login/#credential-stores"&gt;Docker credentials store&lt;/a&gt;&lt;br&gt;
&lt;a href="https://cloud.google.com/iam/docs/understanding-roles#artifact-registry-roles"&gt;IAM Predefined roles&lt;/a&gt;&lt;br&gt;
&lt;a href="https://kind.sigs.k8s.io/docs/user/private-registries/#use-an-access-token"&gt;Kind Private Registries&lt;/a&gt;&lt;br&gt;
&lt;a href="https://stackoverflow.com/questions/67494310/how-to-get-value-from-docker-credential-osxkeychain"&gt;StackOverflow "How to get value from docker-credential-osxkeychain"&lt;/a&gt;&lt;/p&gt;

</description>
      <category>docker</category>
      <category>login</category>
      <category>base64</category>
    </item>
    <item>
      <title>pinentry-touchid</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Wed, 22 Nov 2023 12:41:41 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/pinentry-touchid-3p21</link>
      <guid>https://forem.com/malikbenkirane/pinentry-touchid-3p21</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;❯ pinentry-touchid  --check                                                                                                                                                                                            
❌ /opt/homebrew/opt/pinentry/bin/pinentry is a symlink that resolves to /opt/homebrew/Cellar/pinentry/1.2.1/bin/pinentry-curses not to pinentry-mac
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  symlink correction
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo rm /opt/homebrew/opt/pinentry/bin/pinentry
sudo ln -s $(which pinentry-mac) /opt/homebrew/opt/pinentry/bin/pinentry
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or just&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pinentry-touchid -fix
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  gpg-agent
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;~/.gnupg/gpg-agent.conf&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pinentry-program $(which pinentry-touchid)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;do not forget to replace &lt;code&gt;$(which pinentry-touchid)&lt;/code&gt; with its evaluated result as &lt;code&gt;pinentry-touchid&lt;/code&gt; absolute path&lt;/p&gt;

&lt;p&gt;Then reloading the agent&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gpg-connect-agent reloadagent /bye
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>sudo touch id (mac 🚀🗒)</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Thu, 16 Nov 2023 06:49:05 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/sudo-touch-id-mac-rocket-2i4m</link>
      <guid>https://forem.com/malikbenkirane/sudo-touch-id-mac-rocket-2i4m</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fza3c17i261922zz2xxrx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fza3c17i261922zz2xxrx.png" alt="Image description" width="446" height="42"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ref: &lt;a href="https://github.com/artginzburg/sudo-touchid"&gt;https://github.com/artginzburg/sudo-touchid&lt;/a&gt;&lt;/p&gt;

</description>
      <category>oneline</category>
    </item>
    <item>
      <title>THx001</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Wed, 15 Nov 2023 04:28:17 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/thx001-j9n</link>
      <guid>https://forem.com/malikbenkirane/thx001-j9n</guid>
      <description>&lt;p&gt;Always feel free to open as many doors as you want. The beautiful door allegory you can also find in Mr Robot Season 2 episode 11 while White Rose is screening Angela. This reference done I would like to remind everyone out there, reaching this node, this can only happen because the IP protocol is open to all your packets. However the world scale regions are BGP routed, you get there. Internet is often synonym of freedom for a reason and we should more often exercise the possibility of opening some doors. But first as in the reference it is more than interesting to wonder first what is behind it. Of course, you already need to have some knowldege and skole time right? I hope that captured your interest and I want to keep this readable &amp;lt;1min (and by the way why is limiting by characters and not estimated time of read for your wall post app? e.g. X) If not go already read about Hannah Arendt - Between Past and Future: Six Exercises in Political Thought &lt;/p&gt;

</description>
      <category>philo</category>
      <category>exercise</category>
    </item>
    <item>
      <title>Blog0001 (6310)</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Mon, 23 Oct 2023 18:04:52 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/blog0001-6310-2mo2</link>
      <guid>https://forem.com/malikbenkirane/blog0001-6310-2mo2</guid>
      <description>&lt;p&gt;Some could say this is not useful and the easy way is what we should take because this make us reach better efficiency. Featuring functors this article is not about what is being introduced in this paragraph. Make it bad but do it till you make it so the "fake it" PrimeTime doctrine is interesting to try out at appropriate PWM peace. That is to be read by you my dear and I say my dear as I am at the moment desperate withing Germany trying to hop to H1B visa and fighting with unemployment as a Software Engineer. But I am 100% align with primea Gen (R) tech! Maybe I would do my own language tier review and I think everyone should go through the exercise of doing so.&lt;/p&gt;

&lt;p&gt;Today I bought a N6310 (NOKIA feat phone)&lt;/p&gt;

&lt;p&gt;Nokia Invested or decided at one critical time for SE (Sony Ericson) and they have now copyright on Erlang / Joe Amstrong. I would say that is not another Golang fan article and I am sure you saw that coming (#prewatched) and the style is more and more the style of automated generated billion of parameters GPT. I would be curious to fly away from writing this and checking right now at the moment I am writing this article that should feel long and dense to read. Kafkaesque almost threading of the lines that structure the voices of this story telling. Unrelated descriptions and very libre strongly opiniated kind of litterature. This has no reviewer and you are of course more than welcome to find out how much we would appreciate feedbacks and reviews as you are already a peer if you just do it. Another N brand (Nike) and they make today the most expensive shoes at scale featuring so many non barefoot runners.&lt;/p&gt;

&lt;p&gt;Back to my story though from where I bought a Nokia Phone.&lt;/p&gt;

&lt;p&gt;I would be just so lucky if this would be read from some famous Youtuber (aka Anonymous share you pub PGP)&lt;/p&gt;

&lt;p&gt;Oh and what about we redesign HTTPS?&lt;/p&gt;

&lt;p&gt;Back to Nokia 6310 Erlang friendly phone maybe.&lt;/p&gt;

&lt;p&gt;Let start with the ship&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1cynkfnusj10e6glknjp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1cynkfnusj10e6glknjp.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And that is ok as mothership landed.&lt;/p&gt;

&lt;p&gt;And a big thank you to Yto Berrada native from Tangier! Tanger la belle, Tanger la blanche et celle qui vous illumine sans regards mais que de visions pour blanchir la vertu des plus modestes.&lt;/p&gt;

&lt;p&gt;Enough poetry and I am more than happy to start my blog with saying I finally state&lt;/p&gt;

&lt;h2&gt;
  
  
  ❓state unknown
&lt;/h2&gt;

&lt;p&gt;Getting to Jailbreak maybe 6310 (starting with microchip 😅🦠)&lt;/p&gt;

&lt;p&gt;Get exploit&lt;/p&gt;

&lt;h2&gt;
  
  
  👤 state action (&lt;code&gt;*&lt;/code&gt;)
&lt;/h2&gt;

&lt;p&gt;infection vaccine reflection&lt;/p&gt;

&lt;h2&gt;
  
  
  👤 state action (&lt;code&gt;**&lt;/code&gt;)
&lt;/h2&gt;

&lt;p&gt;infection exploit x/ record&lt;/p&gt;

&lt;h2&gt;
  
  
  🏁 state done
&lt;/h2&gt;

&lt;p&gt;final state&lt;/p&gt;

</description>
      <category>nokia</category>
      <category>erlang</category>
      <category>jailbreak</category>
    </item>
    <item>
      <title>parallels macos 14.0 Starting...</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Thu, 19 Oct 2023 02:56:05 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/parallels-macos-140-starting-1227</link>
      <guid>https://forem.com/malikbenkirane/parallels-macos-140-starting-1227</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;rm&lt;/span&gt; &lt;span class="nt"&gt;-rf&lt;/span&gt; ~/Parallels 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;thank you and read also &lt;a href="https://kb.parallels.com/en/117333"&gt;https://kb.parallels.com/en/117333&lt;/a&gt; as well as &lt;a href="https://kb.parallels.com/5029"&gt;https://kb.parallels.com/5029&lt;/a&gt;&lt;/p&gt;

</description>
      <category>parallels</category>
      <category>macos</category>
      <category>remove</category>
      <category>uninstall</category>
    </item>
    <item>
      <title>scrot</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Thu, 19 Oct 2023 02:40:41 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/scrot-143e</link>
      <guid>https://forem.com/malikbenkirane/scrot-143e</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhjths1f0odnjve6rr8yh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhjths1f0odnjve6rr8yh.png" alt="Image description" width="800" height="245"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ffmpeg &lt;span class="nt"&gt;-f&lt;/span&gt; avfoundation &lt;span class="nt"&gt;-list_devices&lt;/span&gt; &lt;span class="nb"&gt;true&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;Note [] in the list beforementioned&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ffmpeg &lt;span class="nt"&gt;-f&lt;/span&gt; avfoundation &lt;span class="nt"&gt;-i&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;screen device index&amp;gt;:&amp;lt;audio device index&amp;gt;"&lt;/span&gt; output.mkv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Reference&lt;br&gt;
&lt;a href="https://trac.ffmpeg.org/wiki/Capture/Desktop"&gt;https://trac.ffmpeg.org/wiki/Capture/Desktop&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>surrealdb driver github.com/4sp1/surrealhigh</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Mon, 16 Oct 2023 23:19:59 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/surrealdb-driver-githubcom4sp1surrealhigh-51n3</link>
      <guid>https://forem.com/malikbenkirane/surrealdb-driver-githubcom4sp1surrealhigh-51n3</guid>
      <description>&lt;p&gt;❓Open-Source&lt;br&gt;
❓Side-Project&lt;br&gt;
❓SurrealDB driver&lt;/p&gt;

&lt;p&gt;👤 Surreal High "Coming Out"&lt;/p&gt;

&lt;p&gt;Open Source Side Project&lt;/p&gt;

&lt;p&gt;Higher level interface to the amazing SurrealDB Rusty DB engine featuring NoSQL, GraphDB, sqlDB with an original query language with permissions and more. They finally release the production edition.&lt;/p&gt;

&lt;p&gt;I think Golang interface is lacking behind so I wrote a very handcrafted layer above the existing Go driver to make integrations and tasks easier. Indeed, this is a little trick to generate types for all of the data structures fields you would like to work with. At the moment support is limited and I already alpha tested it with 2 other side projects where I wanted to try a little more SurrealDB. Of course I have more projects to come so this will make the overall product better.&lt;/p&gt;

&lt;p&gt;Also there is very basic and incomplete query constructors but it should be seamlessly easy for you to start a discussion so we could get it done together!&lt;/p&gt;

&lt;p&gt;Looking forward to your feedback,&lt;br&gt;
Back to you!&lt;/p&gt;

&lt;p&gt;Malik&lt;/p&gt;

&lt;p&gt;PS&lt;/p&gt;

&lt;p&gt;❓Techinality&lt;br&gt;
❓Usability&lt;br&gt;
❓Underground&lt;/p&gt;

&lt;p&gt;👤 Install&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/4sp1/surrealhigh/commit/054984e9ac31"&gt;https://github.com/4sp1/surrealhigh/commit/054984e9ac31&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The link would get you to the version you should use&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;go install ./cmd/sh-gen-types
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;then in the package for your surrealdb adapter define some struct and for example prepose it with&lt;/p&gt;

&lt;p&gt;👤 Use&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="c"&gt;//go:generate sh-gen-types -doc=myDoc -pkg=mysdbdriver -o my_doc.sdb.gen.go&lt;/span&gt;
&lt;span class="k"&gt;type&lt;/span&gt; &lt;span class="n"&gt;myDoc&lt;/span&gt; &lt;span class="k"&gt;struct&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="c"&gt;//... non strictly typed doc&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;👤 Hack&lt;/p&gt;

&lt;p&gt;also have a look at the few following flags and meanings&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;var&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;doc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;flag&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"doc"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"comma-separated list of doc struct names; must be set"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;pkg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;flag&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"pkg"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"destination package"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;out&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;flag&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"o"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"destination file .go"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;from &lt;a href="https://github.com/4sp1/surrealhigh/blob/054984e9ac3130d4326f608351d316c88f772ac0/cmd/sh-gen-types/main.go"&gt;https://github.com/4sp1/surrealhigh/blob/054984e9ac3130d4326f608351d316c88f772ac0/cmd/sh-gen-types/main.go&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;the whole thing is backed with some template generator with some good and bad sides but it was worth trying and that might happen again:&lt;/p&gt;

&lt;p&gt;👤 Dig&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// :D
import "github.com/4sp1/surrealhigh/templates/jennifer"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🏁 We're done! It's amazing if you get done to the line&lt;/p&gt;

&lt;p&gt;🎪🎪🎪&lt;/p&gt;

</description>
      <category>sideprojects</category>
    </item>
    <item>
      <title>X.Com censorship&gt;?</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Mon, 09 Oct 2023 19:06:13 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/xcom-censorship-i6e</link>
      <guid>https://forem.com/malikbenkirane/xcom-censorship-i6e</guid>
      <description>&lt;h2&gt;
  
  
  Yet another
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmb6nhwpl56yclop5pfc3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmb6nhwpl56yclop5pfc3.png" alt="Image description" width="800" height="244"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Original post
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8wutuzlkyk42g1vm8clx.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8wutuzlkyk42g1vm8clx.jpeg" alt="Image description" width="800" height="937"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  no censure please
&lt;/h1&gt;

&lt;h1&gt;
  
  
  frozen giga factory in berlin
&lt;/h1&gt;

&lt;h1&gt;
  
  
  sensible
&lt;/h1&gt;

&lt;h1&gt;
  
  
  hidden
&lt;/h1&gt;

&lt;h2&gt;
  
  
  welcome to my intercom studio (ICS)
&lt;/h2&gt;

&lt;p&gt;no more bullshit&lt;/p&gt;

&lt;p&gt;x is the last great idea&lt;/p&gt;

&lt;p&gt;let us do this&lt;/p&gt;

&lt;p&gt;make it successful&lt;/p&gt;

&lt;p&gt;make things&lt;/p&gt;

&lt;p&gt;manifesto and cult of done&lt;/p&gt;

&lt;h2&gt;
  
  
  ref
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/@4sp1"&gt;https://www.youtube.com/@4sp1&lt;/a&gt;&lt;br&gt;
&lt;a href="https://malik-ben-kirane.de"&gt;https://malik-ben-kirane.de&lt;/a&gt;&lt;br&gt;
&lt;a href="https://go.with.mb.multisvc.com"&gt;https://go.with.mb.multisvc.com&lt;/a&gt;&lt;br&gt;
&lt;a href="https://twitter.com/4sp14f"&gt;https://twitter.com/4sp14f&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tesla</category>
      <category>berlin</category>
      <category>gigafactory</category>
    </item>
    <item>
      <title>Research: Putting consistency back to Eventual Consistency</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Wed, 04 Oct 2023 21:08:21 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/putting-consistency-back-to-eventual-consistency-277m</link>
      <guid>https://forem.com/malikbenkirane/putting-consistency-back-to-eventual-consistency-277m</guid>
      <description>&lt;p&gt;&lt;a href="https://hal.science/hal-01248191"&gt;https://hal.science/hal-01248191&lt;/a&gt;&lt;/p&gt;

</description>
      <category>paper</category>
      <category>consistency</category>
      <category>storage</category>
      <category>lip6</category>
    </item>
    <item>
      <title>one more referral ccc.de</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Thu, 28 Sep 2023 10:05:43 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/one-more-referral-cccde-2221</link>
      <guid>https://forem.com/malikbenkirane/one-more-referral-cccde-2221</guid>
      <description>&lt;p&gt;This is the chaos computer club next open event starting at 7:42 PM CEST in Hamburg at the &lt;a href="https://fux.eg"&gt;Fux.eG&lt;/a&gt;. Be ready on the 13th of October, 1942CEST!&lt;/p&gt;

&lt;p&gt;reference: &lt;a href="https://events.ccc.de/"&gt;events.ccc.de&lt;/a&gt;&lt;br&gt;
see also: &lt;a href="https://media.ccc.de/"&gt;media.ccc.de&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x ccc&amp;lt;/h4&amp;gt;
x 😻&amp;lt;/h4&amp;gt;
x socio
x 4sp1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;#2ndFri&lt;/em&gt;&lt;/p&gt;

</description>
      <category>event</category>
      <category>open</category>
      <category>public</category>
      <category>ccc</category>
    </item>
    <item>
      <title>gitea doctl</title>
      <dc:creator>Malik Benkirane</dc:creator>
      <pubDate>Wed, 27 Sep 2023 15:44:54 +0000</pubDate>
      <link>https://forem.com/malikbenkirane/gitea-doctl-12gn</link>
      <guid>https://forem.com/malikbenkirane/gitea-doctl-12gn</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;alias ks=kubectl # not to be confused with kube alias k
alias k9=k9s      # handy terminal user interface (HTUI)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;OOR aka. Open On Request vs. OSS aka. Open Source Software&lt;/p&gt;

&lt;p&gt;At the moment of writing this - and this symptomatic ADHD behavior -X is about a side project, and, a side note on this side project. So to tell the cat house is willing to produce cat memes and cat NFTs of course! That is finally need to be layered under security measures so that you are the only owner of the data being publicly available but ciphered in a way you remain the only one to be able to manage it (revoke access to others, grant access to others, etc.)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ks port-forward svc/gitea-http 3000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Ikagai The Kingdom of Heaven is Witihin&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;And what you were waiting for was this &lt;code&gt;helm&lt;/code&gt; gist:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# if you never had the chance to get the repo yet
helm repo add gitea-charts https://dl.gitea.com/charts/ 
helm repo update

# saving precious resources 🔌🤑
# simple install (no ha for postgres and no redis) and you can save resources 
helm install \
    gitea \
    gitea-charts/gitea \ 
    --set=postgresql-ha.enabled=false \
    --set=redis-cluster.enabled=false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;See also&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://gitea.com/gitea/helm-chart#user-content-minimal-configuration"&gt;https://gitea.com/gitea/helm-chart#user-content-minimal-configuration&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
    </item>
  </channel>
</rss>
