Insomnia программа что это
Обзор программы Insomnia (Apple iPhone)
Платформа: | Apple iPhone |
Категория: | Система/Менеджеры |
Название: | Insomnia (1.0) |
Разработчик: | Malkolm Hall (blog.psmxy.org) |
Распространение: | Бесплатно |
Источник: | http://repo.smxy.org/iphone-apps |
. | |
На диске: | 23.0 Кб |
Меню обзора Работа программы Плюсы, недостатки, выводы |
«Insomnia» (бессонница) — приложение, позволяющее другим программам продолжать работать и не прерываться работе WiFi после того, как экран будет выключен.
Работа программы
Настроек программа не имеет. Единственное, что можно сделать, это включить её либо выключить. Состояние отображается сообщением «On» на иконке программы.
Во время запуска программы на пару секунд проскакивает окошко со стандартной иконкой.
Оно, конечно, и не очень нужно, но мало ли, если вдруг это кому-то несимпатично, то эту картинку можно заменить: в /Applications/Insomnia.app положите свою картинку в формате PNG и с размерами 320х480.
Работает же программа следующим образом: будучи запущенной, она препятствует приостановке работы других приложений и WiFi, которые, так уж устроен iPhone, «сворачивают» свою деятельность. В частности, это можно использовать при обновлении источников в инсталлере, которое иногда, бывает, подвисает на такое время, что экран успевает выключиться, и тогда обновление и вовсе останавливается.
То же самое касается, например, работы Интернета — идёт, скажем, скачивание большого файла. Смотреть на работу соответствующего плагина не особо интересно и нужно, чтобы энергия не расходовалась почём зря, можно выключить экран. В случае, когда «Insomnia» не запущена, выключение экрана приведёт к тому, что процесс загрузки сразу же остановится (главное — не приостановится, а именно прервётся). А если запущена, то скачивание нормально завершится.
Один из нюансов работы программы: она не может запомнить своё состояние и не имеет автозапуска. То есть, включая аппарат, нужно будет и эту программу запустить. Перезапуск SpringBoard тоже выключит её. То есть, такие вещи как смена языка, работа с программой Poof — тоже выключают «Insomnia», т.к. сопровождается перезапуском рабочего стола.
Плюсы, недостатки, выводы
Insomnia программа что это
Insomnia REST Client
Insomnia is an open-source, cross-platform API Client for GraphQL, REST, and gRPC.
Insomnia is available for Mac, Windows, and Linux and can be downloaded from the website.
Bugs and Feature Requests
Have a bug or a feature request? First, read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.
For more generic product questions and feedback, join the Slack Team or email support@insomnia.rest
Please read through our contributing guidelines and code of conduct. Included are directions for opening issues, coding standards, and notes on development.
Develop Insomnia app
If you are on Linux, you may need to install the following supporting packages:
Also on Linux, if Electron is failing during the bootstrap process, run the following
If you are on Windows and have problems, you may need to install Windows Build Tools
You can use any editor you’d like, but make sure to have support/plugins for the following tools:
Search for, discover, and install plugins from the Insomnia Plugin Hub!
testing
Installation
This plugin is designed to provide a group of functionality that can be configured and used to help test single or multiple requests that are stored in your Insomnia environment. The functionality can also be used seperately to enhance the overall usage of Insomnia.
This takes a JSON object under an environment defined key and runs through each key in the section to transform the corresponding JSON value into environment defined fields with values derived by JSON paths. This can be used to digest multiple existing requests who have the same response structure through the use of the Insomnia Chaining Requests with response reference type «Raw Body».
Usage
The request body is JSON with a key of a reference name and a value of JSON. This can be set up to trigger existing request to run by setting the value JSON to be a Response hook with response reference type of «Raw Body» and trigger behaviour of «Always».
The response field names and value paths are defined in the Insomnia environment. This will be the structure of the value under the key defined by the environment variable «test-group-key».
Test Result Assertion
Optional functionality of the test request formatter that allows the value of each field to be compared with another value to see if they are equal.
Usage
To turn on, the «assert-equality» environment variable is present and set to true, and next to the field name an array containing first, a JSON path to extract the value to be tested and second, a JSON path to extract the expected value.
In the body of the request, the value of each reference name is set to an array with the JSON to be tested first and a JSON object containing the expected results second. If no expected value JSON given then no assertions are made for that reference. If the JSON path for the testing JSON isn’t expected to bring anything back or an empty string, the expected value should be set to «not present». This can be used as an option in «CONTAINS ONE» as well.
Optional environmental fields:
«result-reporting»:
«report-metrics»:
Set to true wiil add a key of «metrics» under the test group key. The value is a JSON object of «passed-assertions», «failed-assertions», «skipped-values», and «skipped-references» all with totals of those events.
Equality type
There is an optional third argument to the field name to sepcify the type of equality to use:
These can all be prefixed with «NOT» which will invert the assertion.
Google Sheet Posting Helper
This will output a given body of JSON to an environment defined Google Sheet. This also comes as a serperate plugin and can be installed using insomnia-plugin-google-sheets-helper.
Usage
Allows easy insertion of a JSON structure to a Google sheet whose ID is specified in the Insomnia Environment. The user must set up OAuth 2 token for the Google Sheet API to work. Here are instructions to authorise on the Google API and set up OAuth in Insomnia
The JSON structure will be converted to key value pairs being in adjacent columns. JSON objects as values will leave space in the key column and populate down the value column. JSON objects will cascade through repeating the pattern described, moving across the columns as the tree gets deeper. Currently limited to maximum right column of ZZ.
Corresponding sheet layout:
The end point must be set to PUT «g-sheet-request[setting option number]» for the intended request to be picked up. The actual request URL is automatically generated from the Sheet’s ID. It will be the Google spreadsheets.values.update end point.
Examples
Example 1:
You have a collection of requests that you have been using to test an end point of your API. You have changed the behaviour of that end point and you want to see what each request now returns:
Example 2:
Taking the same situation as above but the response you get back from your end point is quite large. You are quite confident that only a couple of values in your response will be changed. These results can be filered out and returned using the JSON path in the TEST_ENV:
Example 3:
You want to perform the previous example but you don’t have an end point that you want to post the results to. A useful place to display the results would be in a Google Sheet. Configuring the Google Sheet Helper will allow you to send the results to a sheet in your drive without worrying about formatting the JSON:
Before setting up the Insomnia environment variables, make sure you have authorised your Google API to allow updating to Google Sheets and the OAuth token is setup in Insomnia.
Now configure the environmental variables to refer to the sheet you want to see the results in.
[Mac OS X] Insomnia: Отучаем спать наш MacBook
Эта программа написана для тех, кто использует MacBook. Смысл ее работы сводится к одному — не дать спать вашему ноутбуку даже если вы закрыли на нем крышку. Это удобно, если к примеру он воспроизводит музыку, или конвертирует видео. Что бы случайно на него что-то не пролить, или просто что бы не пылился. Гавное не нужно забывать, что воздух для охлаждения внутренностей MacBook попадает через отверстия в клавиатуре, а потому я бы не стал закрывать крышку если вентиляторы работают как сумасшедшие.
Название: Insomnia
Разработчик: semaja2
Цена: Free
Ссылка: Mac OS X
Новости, статьи и анонсы публикаций
Свободное общение и обсуждение материалов
Лонгриды для вас
Apple внесла в iOS 15 больше знаковых изменений, чем могло показаться на презентации. Ведь многие мелочи, которые мы приняли за таковые, оказались куда более масштабными с точки зрения развития ОС
Знали, что на Android тоже есть хорошие телефоны? Речь не о флагманах, которые покупают единицы, а о массовом сегменте и о смартфонах для каждого. Например, о Tecno Pova 2, который является символом того, как надо делать телефоны.
Сейчас про технологию VPN знают все. Однако с возросшей популярностью этой технологии, в сети появилось огромное количество мифов по поводу его работы. В статье рассказываем, как расходуется заряд батареи при использовании VPN.
Insomnia программа что это
Here are the answers to the most frequently asked questions that we receive. For community support, see our support page.
General Questions
The following are general questions we frequently get about Insomnia.
What platforms does Insomnia run on?
Insomnia has desktop apps for 64-bit versions of Mac, Windows, and Linux.
Does Insomnia provide 32-bit binaries?
At this time, Insomnia is 64-bit only.
What software license does Insomnia use?
The Insomnia desktop application and related software packages are open source software under the MIT license and the source code is available at github.com/kong/insomnia. The server-side software that backs the paid sync service is closed source.
Can I use Insomnia for commercial use?
Yes, of course! See our pricing page for plan information.
How can I support Insomnia?
First of all, thank you! Insomnia is currently building momentum, and the best thing you can do is help spread the word! You can also submit bug reports, request features, or contribute all through our open source repository, let us know how you use Insomnia using our documentation, or sign up for a paid plan.
Does Insomnia have a EULA agreement?
Currently there is no EULA that is provided for Insomnia. As of now we only have our Terms of Service and Privacy Policy.
Currently we consider the MIT license as a EULA but we are looking to change this in the future.
What is the team size limit for a free trial?
The free trial is limited to 5 team members. Once the trial has expired you will be billed for each team member, which means the post-trial limit is the number of member seats you purchase. Learn more about our pricing.
How do I increase the number of seats on my team?
How can I customize receipt data?
Add any information, such as company name, address, or VAT number, when creating or updating a subscription. Any changes to this information will appear on any invoices downloaded from the Invoice History page.
Note: Invoice data will only appear on downloaded invoices, not invoices received by email.
Why do I have multiple charges on my plan?
If you notice multiple charges for your Insomnia plan, it’s because some banks may display charge attempts as multiple entries when the currency differs. Our payment provider, Stripe, will only attempt to charge your designated payment method once. If you have additional questions, reach us through our support page.
Technical Questions
These technical questions commonly come up when user interact with Insomnia.
My app is not responding. What should I do?
Sometimes, if you make a request that returns a lot of data, Insomnia will become unresponsive. If this happens, manually delete the large response file by doing the following.
Locate the Application Data Folder
You can find the application data folder in the Help menu. If the help menu is not accessible, here are the default paths for each operating system.
/Library/Application Support on macOS
Delete the Offending Response Body
Each response stores the body inside its own file in the “responses” folder. Locate the large responses and delete them, then restart Insomnia.
It’s safe to delete responses. Insomnia will simply report that it cannot locate the body.
How can I temporarily disable Nunjucks template?
You can disable templating of the request body via the request settings dialog (accessed from the sidebar). For more control, you can also disable templating by wrapping the desired content in the Nunjucks <% raw %>Tag.
Why don’t I see anything after importing a backup?
The import/export feature acts similarly to copying files in a filesystem. If the import contains data that originated from your application, data will be overwritten. However, if the import contains data that did not originate from your application, new data (including Request Collections and Design Documents) may have be created.
Note: Check for newly created Collections and Documents on the Dashboard.
Where does the application store data?
/.config/Insomnia on Linux
/Library/Application Support/Insomnia on macOS
The app data directory can also be shown by navigating to Help > Show App Data Folder.
Where does the application store logs?
Insomnia stores logs in the following location, depending on the platform:
/.config/Insomnia/logs on Linux
/Library/Logs/Insomnia on macOS
Open the parent folder by navigating to Help > Show App Logs Folder in Insomnia.
Where do I find keyboard shortcuts?
A list of all keyboard shortcuts can be found within the application under Preferences > Keyboard.
Where does Insomnia store environment information on a Linux (snap) install?
Various forms of user data, log files and environment information — the kind of data that’s generated and consumed by applications during operations can be located in the /var/snap/ directory. Additionally, the
I’m having issues with a third-party plugin
Insomnia cannot make guarantees around the usability, maintenance, and security of third-party plugins. If you’re having issues with a plugin built and maintained by the Insomnia team, reach out to our community.