Define a protocol for an IAM request, example
{
request_type: assume-role,
roles: [],
assume_roles: []
}
| { | |
| "python.pythonPath": "venv/bin/python", | |
| "python.linting.pylintArgs": [ | |
| "--extension-pkg-whitelist=torch" | |
| ] | |
| } |
| 23> Person = {person, {age, 34}, {hobby, "biking"}}. | |
| {person,{age,34},{hobby,"biking"}} | |
| 24> A. | |
| * 1: variable 'A' is unbound | |
| 25> B. | |
| * 1: variable 'B' is unbound | |
| 26> A, B = Person. | |
| * 1: variable 'A' is unbound | |
| 27> {A, B} = Person | |
| 27> . |
| -export([ride_bike/0]). | |
| ride_bike() -> io:fwrite("Ride bike", []). |
| # urls.py | |
| url(r'^api/logout/$', apiauth_views.LogoutView.as_view()), | |
| # views.py | |
| from django.contrib import auth | |
| from rest_framework.views import APIView | |
| class LogoutView(APIView): |
| # coco_checker.py | |
| from pathlib import Path | |
| class LabeledData: | |
| @classmethod | |
| def images_numbered_sequentially(cls, filepath): | |
| """ | |
| Returns a tuple (bool, list) |
| -module(complete_a_task). | |
| -author("Aaron Lelevier"). | |
| -export([ | |
| %% prod | |
| completion_date/2, | |
| add_days/2, | |
| total_weeks_to_complete/1, | |
| total_days_to_complete/1, | |
| work_days_to_complete/1, |
| Erlang/OTP 20 [erts-9.2.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace] | |
| Eshell V9.2.1 (abort with ^G) | |
| 1> bob. | |
| bob | |
| 2> % ok let's go. | |
| 2> ab. | |
| ab | |
| 3> bob. | |
| bob |
| Python 2.7.16 (v2.7.16:413a49145e, Mar 2 2019, 14:32:10) | |
| [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> # let's do this the same way. It has to be command line. If it were in Jupyter notebook, then that just wouldn't be fair. Right?! | |
| ... | |
| >>> d = {'foo': 1, 'bar': 2} | |
| >>> # what are they keys | |
| ... | |
| >>> d.keys() | |
| ['foo', 'bar'] |
Define a protocol for an IAM request, example
{
request_type: assume-role,
roles: [],
assume_roles: []
}
| <keymap version="1" name="Mac OS X 10.5+ copy" parent="Mac OS X 10.5+"> | |
| <action id="ChangesView.Diff" /> | |
| <action id="ChangesView.GroupBy.Directory" /> | |
| <action id="CompareTwoFiles" /> | |
| <action id="Diff.ShowDiff" /> | |
| <action id="EditorDuplicate" /> | |
| <action id="FileChooser.GotoDesktop" /> | |
| <action id="FileChooser.TogglePathShowing" /> | |
| <action id="FileStructurePopup"> | |
| <keyboard-shortcut first-keystroke="meta f12" /> |