I hereby claim:
- I am scerelli on github.
- I am v00d0 (https://keybase.io/v00d0) on keybase.
- I have a public key ASDn_503gx0AdKlJaDaE8he_bf1PHPIHkWpRsaMhUh1qGAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| int elementToFind // questo e' il numero che vuoi cercare nell'array, nel tuo caso lo mette l'utente | |
| array data = [...some data] // qua ci metti il tuo array con tutta la roba | |
| int mid; | |
| int low = 0; | |
| int high = data.length - 1; | |
| while (high - low > 1) { | |
| mid = Math.floor((low + high) / 2); | |
| if (data[mid] < ) { | |
| low = mid; |
| [{ | |
| "id": 0, | |
| "description": "laborum aliqua sunt", | |
| "amount": 438, | |
| "date": "2018-11-26T08:56:36", | |
| "currency": "£", | |
| "category": "shopping" | |
| }, { | |
| "id": 1, | |
| "description": "pariatur enim occaecat", |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| { | |
| "Seti_SB_bright": true, | |
| "Seti_blue_label": true, | |
| "Seti_sb_tree_miny": true, | |
| "Seti_show_group_arrows": true, | |
| "Seti_sidebar_font_Fira": true, | |
| "Seti_tabs_small": true, | |
| "always_show_minimap_viewport": true, | |
| "bold_folder_labels": true, | |
| "caret_extra_bottom": 3, |
| Folder structure might be: | |
| app/views/view.html | |
| app/index.html | |
| app/assets/styles/application.sass |
| // @author: Stefano Cerelli | |
| // @grid system like Bootstrap | |
| +layout(12) | |
| $total-columns: 12 | |
| $gutter: 0 | |
| $screen-sm: 768px | |
| $screen-md: 992px | |
| $screen-lg: 1200px | |
| $spacer-base: 8 |
| %position-fixed | |
| position: fixed | |
| %position-relative | |
| position: relative | |
| %position-absolute | |
| position: absolute | |
| %width-100 | |
| width: 100% |