<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><description>i work on php, nodejs, python and i am developer at @motivolog
Twitter : @kulekci
Github : @hkulekci
In addition: kulekci.netPlease check my turkish elasticsearch blog elasticsearch.kulekci.net</description><title>scanf.info</title><generator>Tumblr (3.0; @scanf-info)</generator><link>https://scanf.info/</link><item><title>School - 1st Class Notes</title><description>&lt;ul&gt;&lt;li&gt;Search on Google as &amp;ldquo;inurl:https://www.sightwordsgame.com/wp-content/uploads&amp;rdquo;&lt;/li&gt;&lt;li&gt;Search on Google as &amp;ldquo;inurl:https://www.activityshelter.com/wp-content/uploads/&amp;rdquo;&lt;/li&gt;&lt;li&gt;&lt;a href="https://www.activityshelter.com/wp-content/uploads/2023/"&gt;https://www.activityshelter.com/wp-content/uploads/2023/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</description><link>https://scanf.info/post/728101329085579264</link><guid>https://scanf.info/post/728101329085579264</guid><pubDate>Sun, 10 Sep 2023 21:45:37 +0300</pubDate><category>school</category><category>1st class</category></item><item><title>Vector Databases with Different Index Types</title><description>&lt;div class="npf_row"&gt;&lt;figure class="tmblr-full" data-orig-height="1017" data-orig-width="882"&gt;&lt;img src="https://64.media.tumblr.com/b12150f9a291d9003411c258ee918bd4/3672f66627ab609e-1b/s640x960/97e80f72c482bb693168d7b507d48781c20e0698.png" data-orig-height="1017" data-orig-width="882" srcset="https://64.media.tumblr.com/b12150f9a291d9003411c258ee918bd4/3672f66627ab609e-1b/s75x75_c1/70960716309b7e7bc154248a7d528378ed1d86c2.png 75w, https://64.media.tumblr.com/b12150f9a291d9003411c258ee918bd4/3672f66627ab609e-1b/s100x200/1091bfdaaf7d8bb67faa28f8d4a7abb6cfcd4b1d.png 100w, https://64.media.tumblr.com/b12150f9a291d9003411c258ee918bd4/3672f66627ab609e-1b/s250x400/201d8a9247a8c0d29c73a163eae7b4b7e0da7730.png 250w, https://64.media.tumblr.com/b12150f9a291d9003411c258ee918bd4/3672f66627ab609e-1b/s400x600/8c1fbd33e436a635a6be8883f88d5aa6a2857938.png 400w, https://64.media.tumblr.com/b12150f9a291d9003411c258ee918bd4/3672f66627ab609e-1b/s500x750/a9f5fc01c434e50a4c08dda10e285e15990f5a0f.png 500w, https://64.media.tumblr.com/b12150f9a291d9003411c258ee918bd4/3672f66627ab609e-1b/s540x810/d1249bcdd79bb22d0fb3244365326357f91e960e.png 540w, https://64.media.tumblr.com/b12150f9a291d9003411c258ee918bd4/3672f66627ab609e-1b/s640x960/97e80f72c482bb693168d7b507d48781c20e0698.png 640w, https://64.media.tumblr.com/b12150f9a291d9003411c258ee918bd4/3672f66627ab609e-1b/s1280x1920/8cf9e9fa4ee70d07c142e093e9b5ba888ee12843.png 882w" sizes="(max-width: 882px) 100vw, 882px"/&gt;&lt;/figure&gt;&lt;/div&gt;</description><link>https://scanf.info/post/728056776369586176</link><guid>https://scanf.info/post/728056776369586176</guid><pubDate>Sun, 10 Sep 2023 09:57:28 +0300</pubDate><category>elasticsearch</category><category>vector database</category><category>qdrant</category></item><item><title>Git Aliases</title><description>&lt;pre&gt;&lt;code&gt;alias gs="git status"
alias gpo="git push origin"
alias guo="git pull origin"
alias gc="git commit -m"
alias ga="git add"
alias gt="git log --graph --oneline --all"
alias gb="git branch --all"
alias gbd="git branch -d"
&lt;/code&gt;&lt;/pre&gt;</description><link>https://scanf.info/post/715468710192857088</link><guid>https://scanf.info/post/715468710192857088</guid><pubDate>Mon, 24 Apr 2023 11:15:33 +0300</pubDate></item><item><title>Elasticsearch Troubleshoot</title><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="https://opster.com/guides/opensearch/opensearch-basics/opensearch-heap-size-usage-and-jvm-garbage-collection/"&gt;https://opster.com/guides/opensearch/opensearch-basics/opensearch-heap-size-usage-and-jvm-garbage-collection/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://opster.com/guides/elasticsearch/operations/elasticsearch-max-shards-per-node-exceeded/"&gt;https://opster.com/guides/elasticsearch/operations/elasticsearch-max-shards-per-node-exceeded/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://opster.com/guides/elasticsearch/how-tos/search-latency-guide/"&gt;https://opster.com/guides/elasticsearch/how-tos/search-latency-guide/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://opster.com/guides/elasticsearch/operations/elasticsearch-oversharding/"&gt;https://opster.com/guides/elasticsearch/operations/elasticsearch-oversharding/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/blogs/big-data/understanding-the-jvmmemorypressure-metric-changes-in-amazon-opensearch-service/"&gt;https://aws.amazon.com/blogs/big-data/understanding-the-jvmmemorypressure-metric-changes-in-amazon-opensearch-service/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://confluence.atlassian.com/bitbucketserverkb/elasticsearch-index-fails-due-to-garbage-collection-overhead-1044803633.html"&gt;https://confluence.atlassian.com/bitbucketserverkb/elasticsearch-index-fails-due-to-garbage-collection-overhead-1044803633.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/size-your-shards.html#shard-size-recommendation"&gt;https://www.elastic.co/guide/en/elasticsearch/reference/current/size-your-shards.html#shard-size-recommendation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-cloudwatchmetrics.html"&gt;https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-cloudwatchmetrics.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://discuss.elastic.co/t/elasticsearch-problem-search-thread-pool-rejected/114446"&gt;https://discuss.elastic.co/t/elasticsearch-problem-search-thread-pool-rejected/114446&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/premiumsupport/knowledge-center/opensearch-resolve-429-error/"&gt;https://aws.amazon.com/premiumsupport/knowledge-center/opensearch-resolve-429-error/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://opster.com/guides/opensearch/opensearch-basics/threadpool/"&gt;https://opster.com/guides/opensearch/opensearch-basics/threadpool/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/premiumsupport/knowledge-center/opensearch-troubleshoot-high-cpu/"&gt;https://aws.amazon.com/premiumsupport/knowledge-center/opensearch-troubleshoot-high-cpu/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://man.hubwiz.com/docset/ElasticSearch.docset/Contents/Resources/Documents/www.elastic.co/guide/en/elasticsearch/reference/current/modules-threadpool.html"&gt;http://man.hubwiz.com/docset/ElasticSearch.docset/Contents/Resources/Documents/www.elastic.co/guide/en/elasticsearch/reference/current/modules-threadpool.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://stackoverflow.com/questions/61788792/elasticsearch-understanding-threadpool"&gt;https://stackoverflow.com/questions/61788792/elasticsearch-understanding-threadpool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.elastic.co/guide/en/cloud/current/ec-monitoring.html"&gt;https://www.elastic.co/guide/en/cloud/current/ec-monitoring.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.elastic.co/guide/en/cloud/current/ec-cpu-usage-exceed-allowed-threshold.html"&gt;https://www.elastic.co/guide/en/cloud/current/ec-cpu-usage-exceed-allowed-threshold.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.elastic.co/blog/managing-and-troubleshooting-elasticsearch-memory"&gt;https://www.elastic.co/blog/managing-and-troubleshooting-elasticsearch-memory&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://opster.com/guides/elasticsearch/capacity-planning/elasticsearch-memory-usage/"&gt;https://opster.com/guides/elasticsearch/capacity-planning/elasticsearch-memory-usage/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>https://scanf.info/post/710421987878682624</link><guid>https://scanf.info/post/710421987878682624</guid><pubDate>Mon, 27 Feb 2023 18:20:03 +0300</pubDate></item><item><title>CORS Articles</title><description>&lt;p&gt;&lt;a href="https://simplelocalize.io/blog/posts/what-is-cors/"&gt;https://simplelocalize.io/blog/posts/what-is-cors/&lt;/a&gt;&lt;/p&gt;</description><link>https://scanf.info/post/698936437036515328</link><guid>https://scanf.info/post/698936437036515328</guid><pubDate>Sun, 23 Oct 2022 23:42:08 +0300</pubDate><category>cors</category></item><item><title>Algolia Alternatives</title><description>&lt;p&gt;Alternatives to algoila&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.luigisbox.com/"&gt;https://www.luigisbox.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/typesense/typesense"&gt;https://github.com/typesense/typesense&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.addsearch.com/"&gt;https://www.addsearch.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.bloomreach.com/en/products/discovery"&gt;https://www.bloomreach.com/en/products/discovery&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>https://scanf.info/post/696073946358022144</link><guid>https://scanf.info/post/696073946358022144</guid><pubDate>Thu, 22 Sep 2022 09:24:04 +0300</pubDate></item><item><title>Airtable Alternatives - OpenSource</title><description>&lt;p&gt;Alternatives to Airtable&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/directus/directus"&gt;https://github.com/directus/directus&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/bram2w/baserow"&gt;https://github.com/bram2w/baserow&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nocodb/nocodb"&gt;https://github.com/nocodb/nocodb&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>https://scanf.info/post/696073899211997184</link><guid>https://scanf.info/post/696073899211997184</guid><pubDate>Thu, 22 Sep 2022 09:23:19 +0300</pubDate><category>airtable</category><category>allternative</category><category>opensource</category></item><item><title>Final vs Const at Dart Lang</title><description>&lt;p&gt;&amp;ldquo;final&amp;rdquo; means single-assignment: a final variable or field must have an initializer. Once assigned a value, a final variable&amp;rsquo;s value cannot be changed. final modifies variables.&lt;/p&gt;

&lt;p&gt;&amp;ldquo;const&amp;rdquo; has a meaning that&amp;rsquo;s a bit more complex and subtle in Dart. const modifies values. You can use it when creating collections, like const [1, 2, 3], and when constructing objects (instead of new) like const Point(2, 3). Here, const means that the object&amp;rsquo;s entire deep state can be determined entirely at compile time and that the object will be frozen and completely immutable.&lt;/p&gt;

&lt;h4&gt;So, what does this mean?&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;Const:&lt;/em&gt;
If the value you have is computed at runtime (new DateTime.now(), for example), you can not use a const for it. However, if the value is known at compile time (const a = 1;), then you should use const over final. There are 2 other large differences between const and final. Firstly, if you&amp;rsquo;re using const inside a class, you have to declare it as static const rather than just const. Secondly, if you have a const collection, everything inside of that is in const. If you have a final collection, everything inside of that is not final.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Final:&lt;/em&gt;
final should be used over const if you don&amp;rsquo;t know the value at compile time, and it will be calculated/grabbed at runtime. If you want an HTTP response that can&amp;rsquo;t be changed, if you want to get something from a database, or if you want to read from a local file, use final. Anything that isn&amp;rsquo;t known at compile time should be final over const.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://stackoverflow.com/questions/50431055/what-is-the-difference-between-the-const-and-final-keywords-in-dart"&gt;https://stackoverflow.com/questions/50431055/what-is-the-difference-between-the-const-and-final-keywords-in-dart&lt;/a&gt;&lt;/p&gt;</description><link>https://scanf.info/post/694741321807773696</link><guid>https://scanf.info/post/694741321807773696</guid><pubDate>Wed, 07 Sep 2022 16:22:35 +0300</pubDate></item><item><title>Eloquent way</title><description>&lt;pre&gt;&lt;code&gt; * hasOne / hasMany (1-1, 1-M)
    -save(new or existing child)
    -saveMany(array of models new or existing)
    -create(array of attributes)
    -createMany(array of arrays of attributes)
    ---------------------------------------------------------------------------

 * belongsTo (M-1, 1-1)
    -associate(existing model)
    ---------------------------------------------------------------------------

 *  belongsToMany (M-M)
    -save(new or existing model, array of pivot data, touch parent = true)
    -saveMany(array of new or existing model, array of arrays with pivot ata)
    -create(attributes, array of pivot data, touch parent = true)
    -createMany(array of arrays of attributes, array of arrays with pivot data)
    -attach(existing model / id, array of pivot data, touch parent = true)
    -sync(array of ids OR ids as keys and array of pivot data as values, detach = true)
    -updateExistingPivot(relatedId, array of pivot data, touch)
    ---------------------------------------------------------------------------

 *  morphTo (polymorphic M-1)
    // the same as belongsTo
    ---------------------------------------------------------------------------

 *  morphOne / morphMany (polymorphic 1-M)
    // the same as hasOne / hasMany
    ---------------------------------------------------------------------------

 *  morphedToMany /morphedByMany (polymorphic M-M)
    // the same as belongsToMany

&lt;/code&gt;&lt;/pre&gt;</description><link>https://scanf.info/post/684388060031500288</link><guid>https://scanf.info/post/684388060031500288</guid><pubDate>Mon, 16 May 2022 09:41:55 +0300</pubDate></item><item><title>Log Viewers</title><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="https://goaccess.io/"&gt;https://goaccess.io/&lt;/a&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.netdata.cloud/"&gt;https://www.netdata.cloud/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/rolandstarke/access-log-viewer"&gt;https://github.com/rolandstarke/access-log-viewer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.graylog.org/products/open-source"&gt;https://www.graylog.org/products/open-source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.nagios.org/downloads/"&gt;https://www.nagios.org/downloads/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://logstalgia.io/"&gt;https://logstalgia.io/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Octopussy-Project/Octopussy_Documentation/blob/master/00_Documentation.md"&gt;https://github.com/Octopussy-Project/Octopussy_Documentation/blob/master/00_Documentation.md&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>https://scanf.info/post/679184332330500096</link><guid>https://scanf.info/post/679184332330500096</guid><pubDate>Sat, 19 Mar 2022 23:10:53 +0300</pubDate></item><item><title>Laravel Redis Cache</title><description>&lt;p&gt;To reach the redis instance and get the keys of the cache :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$prefix = config('cache.prefix') . ':programatic_prefix_';
$redisInstance = app('cache')-&amp;gt;store('redis')-&amp;gt;getRedis();
$redisInstance-&amp;gt;select(config('database.redis.cache.database'));
$keys = $redisInstance-&amp;gt;keys($prefix . '*"');
$redisInstance-&amp;gt;del($keys);
&lt;/code&gt;&lt;/pre&gt;</description><link>https://scanf.info/post/632369848101584896</link><guid>https://scanf.info/post/632369848101584896</guid><pubDate>Mon, 19 Oct 2020 05:34:42 +0300</pubDate><category>laravel</category><category>redis</category><category>instance</category><category>cache</category><category>keys</category></item><item><title>Macbook Pro Restart after Sleep</title><description>&lt;p&gt;Source : &lt;a href="https://apple.stackexchange.com/questions/361635/macbook-pro-error-report"&gt;https://apple.stackexchange.com/questions/361635/macbook-pro-error-report&lt;/a&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;panic(cpu 0 caller 0xffffff800c49167c): Sleep transition timed out after 180 seconds while calling power state change callbacks. Suspected bundle: com.apple.iokit.IOGraphicsFamily. Thread 0x6565.
Backtracing specified thread
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You need to run below command if the macbook pro restarting after sleep cycle with above error report:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;sudo pmset -a darkwakes 0
&lt;/code&gt;&lt;/pre&gt;</description><link>https://scanf.info/post/621009454338572288</link><guid>https://scanf.info/post/621009454338572288</guid><pubDate>Mon, 15 Jun 2020 20:06:06 +0300</pubDate></item><item><title>
https://blog.ankuranand.com/2019/02/20/a-visual-guide-to-golang-memory-allocator-from-ground-up/


h...</title><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="https://blog.ankuranand.com/2019/02/20/a-visual-guide-to-golang-memory-allocator-from-ground-up/"&gt;https://blog.ankuranand.com/2019/02/20/a-visual-guide-to-golang-memory-allocator-from-ground-up/&lt;/a&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.techiedelight.com/list-of-problems/"&gt;https://www.techiedelight.com/list-of-problems/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.quora.com/What-is-a-coders-worst-nightmare/answer/Mick-Stute?share=1"&gt;https://www.quora.com/What-is-a-coders-worst-nightmare/answer/Mick-Stute?share=1&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>https://scanf.info/post/185490963587</link><guid>https://scanf.info/post/185490963587</guid><pubDate>Mon, 10 Jun 2019 10:13:23 +0300</pubDate><category>read later</category></item><item><title>Hive vs HBase</title><description>&lt;p&gt;Source : &lt;a href="https://www.dezyre.com/article/hive-vs-hbase-different-technologies-that-work-better-together/322"&gt;https://www.dezyre.com/article/hive-vs-hbase-different-technologies-that-work-better-together/322&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hive is query engine that whereas HBase is a data storage particularly for unstructured data.&lt;/li&gt;
&lt;li&gt;Apache Hive is mainly used for batch processing i.e. OLAP but HBase is extensively used for transactional processing wherein the response time of the query is not highly interactive i.e. OLTP.&lt;/li&gt;
&lt;li&gt;Unlike Hive, operations in HBase are run in real-time on the database instead of transforming into mapreduce jobs.
HBase is to real-time querying and Hive is to analytical queries.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Links :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.facebook.com/note.php?note_id=454991608919"&gt;https://www.facebook.com/note.php?note_id=454991608919&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.xplenty.com/blog/hive-vs-hbase/"&gt;https://www.xplenty.com/blog/hive-vs-hbase/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dzone.com/articles/big-data-versus-apache-hive-vs-apache-hbase"&gt;https://dzone.com/articles/big-data-versus-apache-hive-vs-apache-hbase&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>https://scanf.info/post/184484357022</link><guid>https://scanf.info/post/184484357022</guid><pubDate>Sat, 27 Apr 2019 20:24:15 +0300</pubDate><category>hive</category><category>hbase</category><category>hadoop</category></item><item><title>Systemctl looping error fix</title><description>&lt;pre&gt;&lt;code&gt;Dec 19 07:40:13 vmi46714 systemd[1]: Looping too fast. Throttling execution a little.
Dec 19 07:40:15 vmi46714 systemd[1]: Looping too fast. Throttling execution a little.
Dec 19 07:40:16 vmi46714 systemd[1]: Looping too fast. Throttling execution a little.
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;to fix that :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;systemctl daemon-reexec
&lt;/code&gt;&lt;/pre&gt;</description><link>https://scanf.info/post/181237113202</link><guid>https://scanf.info/post/181237113202</guid><pubDate>Wed, 19 Dec 2018 07:48:26 +0300</pubDate><category>systemclt</category><category>looping-fast</category><category>looping</category><category>centos</category><category>linux</category></item><item><title>Free Inactive Memory for Linux</title><description>&lt;pre&gt;&lt;code&gt;free -m &amp;amp;&amp;amp; sync &amp;amp;&amp;amp; echo 3 &amp;gt; /proc/sys/vm/drop_caches &amp;amp;&amp;amp; echo "" &amp;amp;&amp;amp; free -m
&lt;/code&gt;&lt;/pre&gt;</description><link>https://scanf.info/post/180649120152</link><guid>https://scanf.info/post/180649120152</guid><pubDate>Fri, 30 Nov 2018 14:07:17 +0300</pubDate><category>linux</category><category>memory</category><category>free</category><category>inactive</category></item><item><title>Swagger PHP</title><description>&lt;pre&gt;&lt;code&gt;/**
 * @OA\Info(title="API Interface",
 *      description="",
 *      version="0.1"
 * )
 *
 * @OA\SecurityScheme(
 *     type="apiKey",
 *     securityScheme="Bearer",
 *     name="Authorization",
 *     description="Please insert JWT with Bearer into field",
 *     in="header"
 * )
 * @OA\SecurityScheme(
 *     type="oauth2",
 *     scheme="bearer",
 *     securityScheme="oauth2",
 *     description="OAuth2 Security",
 *     bearerFormat="JWT",
 *     name="Authorization",
 *     in="header",
 *     flows={
 *         @OA\Flow(
 *             flow="password",
 *             tokenUrl="/access_token",
 *             scopes={"basic"}
 *         ),
 *         @OA\Flow(
 *             flow="authorizationCode",
 *             authorizationUrl="/authorize",
 *             tokenUrl="/access_token",
 *             scopes={"basic"}
 *         )
 *     }
 * )
 */


    /**
     * Authenticated Member Information
     *
     * @OA\Get(
     *     path="/me",
     *     tags={"me"},
     *     security={ { "Bearer": {} }, {"oauth2": {}} },
     *     @OA\Response(response="200", description="Autheticated Member Information"),
     *     @OA\Response(response="500", description="Internal Server Error"),
     * )
     */
&lt;/code&gt;&lt;/pre&gt;</description><link>https://scanf.info/post/177932616042</link><guid>https://scanf.info/post/177932616042</guid><pubDate>Mon, 10 Sep 2018 09:58:31 +0300</pubDate></item><item><title>Docker internal IP host name :

elasticsearch.url: http://host.docker.internal:9200/
</title><description>&lt;p&gt;Docker internal IP host name :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;elasticsearch.url: &lt;a href="http://host.docker.internal:9200/"&gt;http://host.docker.internal:9200/&lt;/a&gt;
&lt;/code&gt;&lt;/pre&gt;</description><link>https://scanf.info/post/177355145502</link><guid>https://scanf.info/post/177355145502</guid><pubDate>Sat, 25 Aug 2018 01:23:14 +0300</pubDate><category>docker</category><category>docker-compose</category></item><item><title>For Django 2.x allow_tags attribute removed from ModelAdmin methods and link to the extenal resource...</title><description>&lt;p&gt;For Django 2.x allow_tags attribute removed from ModelAdmin methods and link to the extenal resource from list changed. Use &lt;code&gt;mark_safe&lt;/code&gt; instead. Check the gist for more information.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://gist.github.com/hkulekci/5acefd4b5d587b98b99f4c2de49faf3e"&gt;https://gist.github.com/hkulekci/5acefd4b5d587b98b99f4c2de49faf3e&lt;/a&gt;&lt;/p&gt;</description><link>https://scanf.info/post/176767520242</link><guid>https://scanf.info/post/176767520242</guid><pubDate>Wed, 08 Aug 2018 15:28:06 +0300</pubDate><category>python</category><category>django</category><category>django-admin</category><category>admin</category></item><item><title>Django reverse function usage information</title><description>&lt;p&gt;The AdminSite provides the following named URL patterns&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Page                        URL name                Parameters
Index                       index   
Logout                    logout    
Password change           password_change   
Password change done        password_change_done    
Application index page    app_list  app_label
Redirect to object’s page   view_on_site             content_type_id, object_id
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Each ModelAdmin instance provides an additional set of named URLs&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Changelist  {{ app_label }}_{{ model_name }}_changelist 
Add         {{ app_label }}_{{ model_name }}_add    
History     {{ app_label }}_{{ model_name }}_history    object_id
Delete      {{ app_label }}_{{ model_name }}_delete   object_id
Change      {{ app_label }}_{{ model_name }}_change   object_id
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;If you want to get a reference to the Change view for a particular Post object (from the posts application) in the default admin&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;from django.core import urlresolvers
post = Post.objects.get(pk=7)
change_url = urlresolvers.reverse('admin:posts_post_change', args=(post.id,))
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Source : &lt;a href="https://en.proft.me/2014/10/12/reversing-admin-urls-django/"&gt;https://en.proft.me/2014/10/12/reversing-admin-urls-django/&lt;/a&gt;&lt;/p&gt;</description><link>https://scanf.info/post/176767158162</link><guid>https://scanf.info/post/176767158162</guid><pubDate>Wed, 08 Aug 2018 15:09:44 +0300</pubDate></item></channel></rss>
