Files:
- PatientDescriptor-commented.js: the concept design with (hopefully) explanatory comments
- PatientDescriptor-without-comments.js: the same file without the comments
- usage.js: a dummy controller that will show the use of the concept
| static arr : [[uint, ..20], ..20] = [ | |
| [8, 2, 22, 97, 38, 15, 0, 40, 0, 75, 4, 5, 7, 78, 52, 12, 50, 77, 91, 8], | |
| [49, 49, 99, 40, 17, 81, 18, 57, 60, 87, 17, 40, 98, 43, 69, 48, 4, 56, 62, 0], | |
| [81, 49, 31, 73, 55, 79, 14, 29, 93, 71, 40, 67, 53, 88, 30, 3, 49, 13, 36, 65], | |
| [52, 70, 95, 23, 4, 60, 11, 42, 69, 24, 68, 56, 1, 32, 56, 71, 37, 2, 36, 91], | |
| [22, 31, 16, 71, 51, 67, 63, 89, 41, 92, 36, 54, 22, 40, 40, 28, 66, 33, 13, 80], | |
| [24, 47, 32, 60, 99, 3, 45, 2, 44, 75, 33, 53, 78, 36, 84, 20, 35, 17, 12, 50], | |
| [32, 98, 81, 28, 64, 23, 67, 10, 26, 38, 40, 67, 59, 54, 70, 66, 18, 38, 64, 70], | |
| [67, 26, 20, 68, 2, 62, 12, 20, 95, 63, 94, 39, 63, 8, 40, 91, 66, 49, 94, 21], |
| @numbers = { | |
| 0 => '', | |
| 1 => 'one', | |
| 2 => 'two', | |
| 3 => 'three', | |
| 4 => 'four', | |
| 5 => 'five', | |
| 6 => 'six', | |
| 7 => 'seven', | |
| 8 => 'height', |
| <?php | |
| /** | |
| * Uploading files from computer, step 1 | |
| * Shows the plupload form that handles the uploads and moves | |
| * them to a temporary folder. When the queue is empty, the user | |
| * is redirected to step 2, and prompted to enter the name, | |
| * description and client for each uploaded file. | |
| * | |
| * @package ProjectSend | |
| * @subpackage Upload |
| .align32 | |
| .section .code | |
| f_function: | |
| cmp $f_function, 8(%esp) ; compare the return address with f_function address | |
| je f_end ; if so, job has been done | |
| pop %eax | |
| mul $-1, %eax | |
| push %eax | |
| f_end: |
| $bi-themes: ( | |
| "teal" "blue" "purple" "dark-purple" "red" "orange" "green" | |
| ); | |
| $bi-themes-colors: ( | |
| (#008299 #00A0B1), | |
| (#2672EC #2E8DEF), | |
| (#8c0095 #a700ae), | |
| (#5133ab #643EBF), | |
| (#AC193D #BF1E4B), |
| set nocompatible | filetype indent plugin on | syn on | |
| source ~/.vim/bootstrap.vim | |
| let g:addons = [ | |
| \ 'github:sjl/vitality.vim', 'sensible', 'github:sjl/badwolf', | |
| \ 'vim-airline', 'ctrlp', 'Syntastic', 'github:myusuf3/numbers.vim', | |
| \ 'github:rking/ag.vim', 'delimitMate', 'endwise', 'WebAPI', 'Gist', | |
| \ 'fugitive', 'github:spiiph/vim-space', 'armasm', 'localrc', | |
| \ 'github:mtth/scratch.vim', 'surround', 'JSON', 'github:slim-template/vim-slim.git', |
| angular.module('').service 'exemple', () -> | |
| hidden = () -> 'CACHÉ' | |
| @function1 = () -> true | |
| @function2 = () -> false |
Files:
| angular.module('feetmeApp').factory 'Patient', () -> | |
| class Patient | |
| constructor: (object) -> | |
| @id = object.id | |
| @firstname = object.firstname | |
| @lastname = object.lastname | |
| @birthdate = Date.create(object.birthdate) | |
| @tel = object.tel | |
| @gender = object.gender | |
| @address = object.address |
| # Activate the Bluebird (promises) debug mode | |
| global.process.env.BLUEBIRD_DEBUG = 1 unless window.ENV is 'production' | |
| # Expose the WebSQL methods to nodejs | |
| global.openDatabase = window.openDatabase | |
| global.Knex = knex = require('knex')({ | |
| client: 'websql' | |
| version: '2.0' | |
| name: "feetme-#{window.ENV}" | |
| estimated: 1 * (1024 ** 2) # 1 Mio |