Easter Eggs & Hidden Features in Claude Code
A collection of easter eggs, undocumented behaviors, internal codenames, and surprising details found in the Claude Code source code. Organized by category.
A collection of easter eggs, undocumented behaviors, internal codenames, and surprising details found in the Claude Code source code. Organized by category.
| # Run in terminal | |
| defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.4;}' | |
| defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType=public.data;LSHandlerRoleAll=com.sublimetext.4;}' | |
| # IMPORTANT: You must restart your Mac for the changes to take effect. |
Gist is dedicated to general changes in Cycle ORM 2.0 in relation to the first version.
It is being developed in the 2.0.x-dev branch and will be updated as updates are made.
In the composer.json set the directive minimum-stability: "dev",
then run composer require cycle/orm "2.0.x-dev" (or add by hand).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| window.onbeforeunload = function(e) { | |
| var e = e || window.event; | |
| if (e) { | |
| e.returnValue = wpp.exit_alert_text; | |
| } | |
| setTimeout( function(){ |
##ElasticSearch
Про настройку ElasticSearch: http://devacademy.ru/posts/effektivnaya-nastrojka-elasticsearch
Для работы с русской морфологией: https://github.com/imotov/elasticsearch-analysis-morphology
Введение: https://xakep.ru/2015/06/11/elasticsearch-tutorial
Документация на русском: http://elasticsearch.wikione.ru/guide/ru/elasticsearch/reference/1.5/index.html
##Конфигурация Yii2
http://www.elisdn.ru/blog/60/seo-service-on-yii2-installing-of-application
Есть блок с шириной 470px. Нужно вывести в нем список из 9 квадратов зеленого цвета размером 150px * 150px с расстоянием друг от друга по 10px. Схема изображена на рисунке. Использовать нужно приведенный ниже html код. Фактически от вас требуется написать css.
<style>
/* тут будет ваш css код */| /** | |
| * Fix for vw, vh, vmin, vmax on iOS 7. | |
| * http://caniuse.com/#feat=viewport-units | |
| * | |
| * This fix works by replacing viewport units with px values on known screen sizes. | |
| * | |
| * iPhone 6 and 6 Plus cannot run iOS 7, so are not targeted by this fix. | |
| * Target devices running iOS 8+ will incidentally execute the media query, | |
| * but this will still produce the expected result; so this is not a problem. |