text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```javascript /** * Croatian localisation */ ;(function($){ $.fn.datepicker.dates['hr'] = { days: ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "etvrtak", "Petak", "Subota", "Nedjelja"], daysShort: ["Ned", "Pon", "Uto", "Sri", "et", "Pet", "Sub", "Ned"], daysMin: ["Ne", "Po", "Ut", "Sr", "e", "Pe", "Su", "N...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.hr.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
267
```javascript /** * Lithuanian translation for bootstrap-datepicker * arnas Gliebus <ssharunas@yahoo.co.uk> */ ;(function($){ $.fn.datepicker.dates['lt'] = { days: ["Sekmadienis", "Pirmadienis", "Antradienis", "Treiadienis", "Ketvirtadienis", "Penktadienis", "etadienis", "Sekmadienis"], daysShor...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.lt.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
284
```javascript /** * Korean translation for bootstrap-datepicker * Gu Youn <path_to_url */ ;(function($){ $.fn.datepicker.dates['kr'] = { days: ["", "", "", "", "", "", "", ""], daysShort: ["", "", "", "", "", "", "", ""], daysMin: ["", "", "", "", "", "", "", ""], months: ["1", "2", "3", "4", "5", "6", "7",...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.kr.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
165
```javascript /** * Slovak translation for bootstrap-datepicker * Marek Lichtner <marek@licht.sk> * Fixes by Michal Remi <michal.remis@gmail.com> */ ;(function($){ $.fn.datepicker.dates["sk"] = { days: ["Nedea", "Pondelok", "Utorok", "Streda", "tvrtok", "Piatok", "Sobota", "Nedea"], daysShort: ["Ned", "Pon", "...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.sk.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
272
```javascript /** * Albanian translation for bootstrap-datepicker * Tomor Pupovci <path_to_url */ ;(function($){ $.fn.datepicker.dates['sq'] = { days: ["E Diel", "E Hn", "E mart", "E mrkur", "E Enjte", "E Premte", "E Shtun", "E Diel"], daysShort: ["Die", "Hn", "Mar", "Mr", "Enj", "Pre", "Shtu", "Die"], daysMi...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.sq.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
270
```javascript /** * Swahili translation for bootstrap-datepicker * Edwin Mugendi <path_to_url * Source: path_to_url */ ;(function($){ $.fn.datepicker.dates['sw'] = { days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi", "Jumapili"], daysShort: ["J2", "J3", "J4",...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.sw.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
266
```javascript /** * Bulgarian translation for bootstrap-datepicker * Apostol Apostolov <apostol.s.apostolov@gmail.com> */ ;(function($){ $.fn.datepicker.dates['bg'] = { days: ["", "", "", "", "", "", "", ""], daysShort: ["", "", "", "", "", "", "", ""], daysMin: ["", "", "", "", "", "", "", ""], months: [""...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.bg.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
135
```javascript /** * Thai translation for bootstrap-datepicker * Suchau Jiraprapot <seroz24@gmail.com> */ ;(function($){ $.fn.datepicker.dates['th'] = { days: ["", "", "", "", "", "", "", ""], daysShort: ["", "", "", "", "", "", "", ""], daysMin: ["", "", "", "", "", "", "", ""], months: ["", "", "", "", "",...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.th.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
143
```javascript /** * Slovene translation for bootstrap-datepicker * Gregor Rudolf <gregor.rudolf@gmail.com> */ ;(function($){ $.fn.datepicker.dates['sl'] = { days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "etrtek", "Petek", "Sobota", "Nedelja"], daysShort: ["Ned", "Pon", "Tor", "Sre", "et", "Pet", "Sob", "Ned...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.sl.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
255
```javascript /** * Czech translation for bootstrap-datepicker * Matj Koubk <matej@koubik.name> * Fixes by Michal Remi <michal.remis@gmail.com> */ ;(function($){ $.fn.datepicker.dates['cs'] = { days: ["Nedle", "Pondl", "ter", "Steda", "tvrtek", "Ptek", "Sobota", "Nedle"], daysShort: ["Ned", "Pon", "te", "St", ...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.cs.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
269
```javascript /** * Traditional Chinese translation for bootstrap-datepicker * Rung-Sheng Jang <daniel@i-trend.co.cc> * FrankWu <frankwu100@gmail.com> Fix more appropriate use of Traditional Chinese habit */ ;(function($){ $.fn.datepicker.dates['zh-TW'] = { days: ["", "", "", "", "", "", "", ""], daysShort: [...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.zh-TW.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
176
```javascript /** * German translation for bootstrap-datepicker * Sam Zurcher <sam@orelias.ch> */ ;(function($){ $.fn.datepicker.dates['de'] = { days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"], daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"]...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.de.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
267
```javascript /** * Persian translation for bootstrap-datepicker * Mostafa Rokooie <mostafa.rokooie@gmail.com> */ ;(function($){ $.fn.datepicker.dates['fa'] = { days: ["", "", "", "", "", "", "", ""], daysShort: ["", "", "", "", "", "", "", ""], daysMin: ["", "", "", "", "", "", "", ""], months: ["", "", ""...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.fa.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
155
```javascript /** * Spanish translation for bootstrap-datepicker * Bruno Bonamin <bruno.bonamin@gmail.com> */ ;(function($){ $.fn.datepicker.dates['es'] = { days: ["Domingo", "Lunes", "Martes", "Mircoles", "Jueves", "Viernes", "Sbado", "Domingo"], daysShort: ["Dom", "Lun", "Mar", "Mi", "Jue", "Vie", "Sb", "Dom"...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.es.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
250
```javascript /** * Latvian translation for bootstrap-datepicker * Artis Avotins <artis@apit.lv> */ ;(function($){ $.fn.datepicker.dates['lv'] = { days: ["Svtdiena", "Pirmdiena", "Otrdiena", "Trediena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svtdiena"], daysShort: ["Sv", "P", "O", "T", "C", ...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.lv.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
277
```javascript /** * Danish translation for bootstrap-datepicker * Christian Pedersen <path_to_url */ ;(function($){ $.fn.datepicker.dates['da'] = { days: ["Sndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lrdag", "Sndag"], daysShort: ["Sn", "Man", "Tir", "Ons", "Tor", "Fre", "Lr", "Sn"], daysMin: ...
/content/code_sandbox/system/static/plugins/datepicker/locales/bootstrap-datepicker.da.js
javascript
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
252
```css .faceDetectedColor { color: white; background-color: #000000; padding: 5px; } .person { border: 5px solid ; margin-bottom: 1px; width: 80%; height: 80%; border-color: #f1f1f1; } .person:hover { border-color: #f1f1f1; } body { background-color: #FFF...
/content/code_sandbox/system/static/css/main.css
css
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
151
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Home Surveillance | Dashboard</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name...
/content/code_sandbox/system/templates/index3.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
7,848
```html <!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed markup only. --> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Home Surveillance</title> ...
/content/code_sandbox/system/templates/starter.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
9,754
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Home Surveillance | Log in</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="v...
/content/code_sandbox/system/templates/login.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
937
```html <!-- # Web Socket Server # Brandon Joffe # 2016 # # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatibl...
/content/code_sandbox/system/templates/index.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
11,447
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Home Surveillance Dashboard</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="...
/content/code_sandbox/system/templates/index2.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
11,070
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Calendar</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpo...
/content/code_sandbox/system/templates/pages/calendar.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
8,918
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Flot Charts</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="vie...
/content/code_sandbox/system/templates/pages/charts/flot.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
9,590
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Widgets</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpor...
/content/code_sandbox/system/templates/pages/widgets.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
16,028
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | ChartJS</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpor...
/content/code_sandbox/system/templates/pages/charts/chartjs.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
8,610
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Morris.js Charts</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name...
/content/code_sandbox/system/templates/pages/charts/morris.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
8,521
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Inline Charts</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="v...
/content/code_sandbox/system/templates/pages/charts/inline.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
12,541
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Simple Tables</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="v...
/content/code_sandbox/system/templates/pages/tables/simple.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
9,512
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Data Tables</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="vie...
/content/code_sandbox/system/templates/pages/tables/data.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
13,868
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Boxed Layout</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="vi...
/content/code_sandbox/system/templates/pages/layout/boxed.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
6,081
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Top Navigation</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="...
/content/code_sandbox/system/templates/pages/layout/top-nav.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
2,491
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Collapsed Sidebar Layout</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=...
/content/code_sandbox/system/templates/pages/layout/collapsed-sidebar.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
8,209
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Fixed Layout</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="vi...
/content/code_sandbox/system/templates/pages/layout/fixed.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
6,129
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | General UI</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="view...
/content/code_sandbox/system/templates/pages/UI/general.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
16,161
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Modals</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport...
/content/code_sandbox/system/templates/pages/UI/modals.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
8,103
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | UI Sliders</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="view...
/content/code_sandbox/system/templates/pages/UI/sliders.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
8,628
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Timeline</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpo...
/content/code_sandbox/system/templates/pages/UI/timeline.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
8,133
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Icons</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"...
/content/code_sandbox/system/templates/pages/UI/icons.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
47,279
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Buttons</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpor...
/content/code_sandbox/system/templates/pages/UI/buttons.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
16,569
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Advanced form elements</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no...
/content/code_sandbox/system/templates/pages/forms/advanced.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
10,445
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | General Form Elements</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"...
/content/code_sandbox/system/templates/pages/forms/general.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
9,838
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Editors</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpor...
/content/code_sandbox/system/templates/pages/forms/editors.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
7,398
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Read Mail</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewp...
/content/code_sandbox/system/templates/pages/mailbox/read-mail.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
8,272
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Mailbox</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpor...
/content/code_sandbox/system/templates/pages/mailbox/mailbox.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
9,600
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Compose Message</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name=...
/content/code_sandbox/system/templates/pages/mailbox/compose.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
7,319
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Blank Page</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="view...
/content/code_sandbox/system/templates/pages/examples/blank.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
6,019
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Pace Page</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewp...
/content/code_sandbox/system/templates/pages/examples/pace.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
6,254
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Invoice</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpor...
/content/code_sandbox/system/templates/pages/examples/invoice-print.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
1,428
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Lockscreen</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="view...
/content/code_sandbox/system/templates/pages/examples/lockscreen.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
618
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | User Profile</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="vi...
/content/code_sandbox/system/templates/pages/examples/profile.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
9,916
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Home Surveillance | Log in</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="v...
/content/code_sandbox/system/templates/pages/examples/login.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
912
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Invoice</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpor...
/content/code_sandbox/system/templates/pages/examples/invoice.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
8,076
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | 404 Page not found</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" na...
/content/code_sandbox/system/templates/pages/examples/404.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
6,945
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Registration Page</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" nam...
/content/code_sandbox/system/templates/pages/examples/register.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
896
```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | 500 Error</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewp...
/content/code_sandbox/system/templates/pages/examples/500.html
html
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
6,934
```python """OpenFace helper functions.""" import errno import os def mkdirP(path): """ Create a directory and don't error if the path already exists. If the directory already exists, don't do anything. :param path: The directory to create. :type path: str """ assert path is not None ...
/content/code_sandbox/openface/helper.py
python
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
118
```python # flake8: noqa from .align_dlib import AlignDlib from .torch_neural_net import TorchNeuralNet import data import helper ```
/content/code_sandbox/openface/__init__.py
python
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
36
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """Module for Torch-based neural network usage.""" import atexit import binascii from subprocess import Popen, PIPE import os import os.pat...
/content/code_sandbox/openface/torch_neural_net.py
python
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
939
```lua #!/usr/bin/env th -- -- -- -- path_to_url -- -- Unless required by applicable law or agreed to in writing, software -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. require 'torch' require 'nn' require 'dpnn' require 'image' io.stdout:setvbuf 'no' torch.setdefaulttensortype('tor...
/content/code_sandbox/openface/openface_server.lua
lua
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
505
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """Module for dlib-based alignment.""" import cv2 import dlib import numpy as np TEMPLATE = np.float32([ (0.0792396913815, 0.33922374...
/content/code_sandbox/openface/align_dlib.py
python
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
2,332
```python # coding=utf8 # # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """Module for image data.""" import os import cv2 class Image: """Object containing image metadata.""" def __in...
/content/code_sandbox/openface/data.py
python
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
594
```python # Raspberry PI GPIO Alarm interface # Brandon Joffe # 2016 # # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # This Flask implementation is used to demonstrate the potential of the # syste...
/content/code_sandbox/rpi-alarm/alarmAPI.py
python
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
764
```lua local ffi = require 'ffi' local batchNumber, nImgs = 0 torch.setdefaulttensortype('torch.FloatTensor') function batchRepresent() local loadSize = {3, opt.imgDim, opt.imgDim} print(opt.data) local cacheFile = paths.concat(opt.data, 'cache.t7') print('cache lotation: ', cacheFile) local dumpLoa...
/content/code_sandbox/batch-represent/batch-represent.lua
lua
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
563
```lua #!/usr/bin/env th require 'torch' require 'optim' require 'paths' require 'xlua' require 'csvigo' require 'nn' require 'dpnn' local opts = paths.dofile('opts.lua') opt = opts.parse(arg) print(opt) torch.setdefaulttensortype('torch.FloatTensor') if opt.cuda then require 'cutorch' require 'cunn' c...
/content/code_sandbox/batch-represent/main.lua
lua
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
202
```lua -- Source: path_to_url require 'torch' torch.setdefaulttensortype('torch.FloatTensor') local ffi = require 'ffi' local dir = require 'pl.dir' local argcheck = require 'argcheck' require 'sys' require 'xlua' require 'image' local dataset = torch.class('dataLoader') local initcheck = argcheck{ pack=true, ...
/content/code_sandbox/batch-represent/dataset.lua
lua
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
3,568
```lua local M = { } -- path_to_url function script_path() local str = debug.getinfo(2, "S").source:sub(2) return str:match("(.*/)") end function M.parse(arg) local cmd = torch.CmdLine() cmd:text() cmd:text('OpenFace') cmd:text() cmd:text('Options:') ------------ General options -------------...
/content/code_sandbox/batch-represent/opts.lua
lua
2016-08-01T21:18:23
2024-08-12T19:24:07
home_surveillance
BrandonJoffe/home_surveillance
1,223
311
```javascript // simple node web server that displays hello world // optimized for Docker image const express = require('express'); // this example uses express web framework so we know what longer build times // do and how Dockerfile layer ordering matters. If you mess up Dockerfile ordering // you'll see long build ...
/content/code_sandbox/index.js
javascript
2016-03-31T19:13:33
2024-08-12T09:27:32
node-docker-good-defaults
BretFisher/node-docker-good-defaults
2,326
520
```shell #!/bin/bash set -euo pipefail # usage: file_env VAR [DEFAULT] # ie: file_env 'XYZ_DB_PASSWORD' 'example' # (will allow for "$XYZ_DB_PASSWORD_FILE" to fill in the value of # "$XYZ_DB_PASSWORD" from a file, especially for Docker's secrets feature) file_env() { local var="$1" local fileVar="${var}_FILE" l...
/content/code_sandbox/docker-entrypoint.sh
shell
2016-03-31T19:13:33
2024-08-12T09:27:32
node-docker-good-defaults
BretFisher/node-docker-good-defaults
2,326
215
```yaml version: '3.9' # a stack-file version of this for running in Swarm services # Swarm still needs the 3.x version for stacks services: node: # reminder, don't use latest tag in production, use versions created by CI/CD image: bretfisher/node-docker-good-defaults:latest ports: - "80:3000" ...
/content/code_sandbox/docker-stack.yml
yaml
2016-03-31T19:13:33
2024-08-12T09:27:32
node-docker-good-defaults
BretFisher/node-docker-good-defaults
2,326
341
```yaml # version: '2.4' # versions no longer needed for compose CLI use (as of 2020) # If using swarm, you'll still need version 3.9 services: node: build: context: . args: - NODE_ENV=development # you can use legacy debug config or new inspect # NOTE: if nodemon isn't restarting on...
/content/code_sandbox/docker-compose.yml
yaml
2016-03-31T19:13:33
2024-08-12T09:27:32
node-docker-good-defaults
BretFisher/node-docker-good-defaults
2,326
766
```javascript var http = require('http'); var options = { timeout: 2000, host: 'localhost', port: process.env.PORT || 8080, path: '/healthz' // must be the same as HEALTHCHECK in Dockerfile }; var request = http.request(options, (res) => { console.info('STATUS: ' + res.statusCode); process.exitCode = (res...
/content/code_sandbox/healthcheck.js
javascript
2016-03-31T19:13:33
2024-08-12T09:27:32
node-docker-good-defaults
BretFisher/node-docker-good-defaults
2,326
131
```javascript const app = require('../index'); const chai = require('chai'); const chaiHttp = require('chai-http'); chai.use(chaiHttp); chai.should(); describe('API /healthz', () => { it('it should return 200', (done) => { chai.request(app) .get('/healthz') .end((err, res) => { ...
/content/code_sandbox/test/sample.js
javascript
2016-03-31T19:13:33
2024-08-12T09:27:32
node-docker-good-defaults
BretFisher/node-docker-good-defaults
2,326
258
```javascript db.documents.insertMany([ // MongoDB adds the _id field with an ObjectId if _id is not present { name: 'Sample Document', tags: ['docker', 'containers', 'javascript'] }, { name: 'Another sample document', tags: ['development', 'compose'] }, { name: 'Third sample document', tags: ['...
/content/code_sandbox/database/seed.js
javascript
2016-03-31T19:13:33
2024-08-12T09:27:32
node-docker-good-defaults
BretFisher/node-docker-good-defaults
2,326
92
```ruby Pod::Spec.new do |s| s.name = 'Cuckoo' s.version = '2.0.9' s.summary = 'Cuckoo - first boilerplate-free Swift mocking framework.' s.description = <<-DESC Cuckoo is a mocking framework with an easy to use API (inspired by Mockito). ...
/content/code_sandbox/Cuckoo.podspec
ruby
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
511
```json PODS: - OCMock (3.8.1) DEPENDENCIES: - OCMock (= 3.8.1) SPEC REPOS: trunk: - OCMock SPEC CHECKSUMS: OCMock: 29f6e52085b4e7d9b075cbf03ed7c3112f82f934 PODFILE CHECKSUM: a731a298685f1cde188c8b7e929bdf40ab18e7d6 COCOAPODS: 1.14.3 ```
/content/code_sandbox/Podfile.lock
json
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
128
```swift // swift-tools-version:5.7 import PackageDescription let package = Package( name: "Cuckoo", platforms: [ .iOS("13.0"), .tvOS("13.0"), .macOS("10.15"), ], products: [ .library( name: "Cuckoo", targets: ["Cuckoo"] ), .plugi...
/content/code_sandbox/Package.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
655
```swift import ProjectDescription let workspace = Workspace( name: "Cuckoo", projects: ["./", "./Generator"], generationOptions: .options(autogeneratedWorkspaceSchemes: .disabled) ) ```
/content/code_sandbox/Workspace.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
44
```toml # output = "Tests/Swift/Generated/GeneratedMocks.swift" [modules.Cuckoo] imports = ["Foundation"] testableImports = ["Cuckoo"] sources = [ "Tests/Swift/Source/*.swift", ] exclude = [ "ExcludedTestClass", "ExcludedProtocol", ] # regex = "" output = "Tests/Swift/Generated/GeneratedMocks.swift" [modu...
/content/code_sandbox/Cuckoofile.toml
toml
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
123
```swift import ProjectDescription import ProjectDescriptionHelpers let commonBuildSettingsBase: [String: SettingValue] = [ "PRODUCT_NAME": .string("Cuckoo"), "SYSTEM_FRAMEWORK_SEARCH_PATHS": .string("$(PLATFORM_DIR)/Developer/Library/Frameworks"), ] let objCBuildSettingsBase: [String: SettingValue] = [ "S...
/content/code_sandbox/Project.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
1,133
```swift import XCTest @testable import Cuckoo final class CuckooFunctionsTest: XCTestCase { func testReset() { let mock = MockTestedClass().withEnabledSuperclassSpy() stub(mock) { mock in when(mock.count(characters: anyString())).thenReturn(10) } XCTAssertEqual(mock.cou...
/content/code_sandbox/Tests/Swift/CuckooFunctionsTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
391
```swift import Foundation import XCTest import Cuckoo final class MultiNestedClassTest: XCTestCase { private var mock: Multi.Nested.MockMultiNestedTestedSubclass! override func setUp() { super.setUp() mock = Multi.Nested.MockMultiNestedTestedSubclass() } func testReadOnlyProperty()...
/content/code_sandbox/Tests/Swift/MultiNestedClassTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
1,505
```swift import XCTest // This test case is intentionally ran only without `OCMock` because it depends on creating some very particular classes. // Other test cases are included in the `OCMock` target because they test general Cuckoo functionality. final class ExcludedStubTest: XCTestCase { func testClassAvailabil...
/content/code_sandbox/Tests/Swift/ExcludedStubTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
269
```swift import Foundation import XCTest import Cuckoo final class NestedStructExtensionClassTests: XCTestCase { private var mock: NestedStruct.MockNestedExtensionTestedClass! override func setUp() { super.setUp() mock = NestedStruct.MockNestedExtensionTestedClass() } func testReadO...
/content/code_sandbox/Tests/Swift/NestedStructExtensionClassTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
1,495
```swift import XCTest import Cuckoo final class StubTest: XCTestCase { private var stub: ClassForStubTestingStub! override func setUp() { super.setUp() stub = ClassForStubTestingStub() } func testIntProperty() { stub.intProperty = 1 XCTAssertEqual(0, stub.int...
/content/code_sandbox/Tests/Swift/StubTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
536
```swift import XCTest import Cuckoo extension GenericClass: Mocked { typealias MockType = MockGenericClass<T, U, V> } final class GenericClassTest: XCTestCase { private var mock: MockGenericClass<Int, String, Bool>! private var original: GenericClass<Int, String, Bool>! override func setUp() { ...
/content/code_sandbox/Tests/Swift/GenericClassTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
1,459
```swift import XCTest import Cuckoo private class GenericProtocolConformerClass<C: AnyObject, V>: GenericProtocol { let readOnlyPropertyC: C var readWritePropertyV: V let constant: Int = 0 var optionalProperty: V? required init(theC: C, theV: V) { readOnlyPropertyC = theC readWri...
/content/code_sandbox/Tests/Swift/GenericProtocolTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
2,222
```swift import Foundation import XCTest import Cuckoo final class MultiNestedExtensionClassTests: XCTestCase { private var mock: Multi.Nested.MockNestedExtensionTestedClass! override func setUp() { super.setUp() mock = Multi.Nested.MockNestedExtensionTestedClass() } func testReadOn...
/content/code_sandbox/Tests/Swift/MultiNestedExtensionClassTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
1,501
```swift import XCTest import Cuckoo extension TestedClass: Mocked { typealias MockType = MockTestedClass } final class ClassTest: XCTestCase { private var mock: MockTestedClass! override func setUp() { super.setUp() mock = MockTestedClass() } func testReadOnlyPropertyWithMockC...
/content/code_sandbox/Tests/Swift/ClassTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
5,392
```swift @testable import Cuckoo struct TestUtils { static func catchCuckooFail(inClosure closure: () -> Void) -> String? { let fail = MockManager.fail var msg: String? MockManager.fail = { parameters in let (message, _) = parameters msg = message } c...
/content/code_sandbox/Tests/Swift/TestUtils.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
86
```swift import XCTest import Cuckoo final class GenericMethodClassTest: XCTestCase { private var kawaiiMock: MockGenericMethodClass<Int>! private var angeryMock: MockGenericMethodClass<Int>! private var original: GenericMethodClass<Int>! override func setUp() { super.setUp() kawaiiMo...
/content/code_sandbox/Tests/Swift/GenericMethodClassTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
429
```swift import XCTest import Cuckoo final class DefaultValueRegistryTest: XCTestCase { override func setUp() { super.setUp() DefaultValueRegistry.reset() } override func tearDown() { super.tearDown() DefaultValueRegistry.reset() } fu...
/content/code_sandbox/Tests/Swift/DefaultValueRegistryTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
745
```swift import Foundation import XCTest import Cuckoo extension Nested.NestedExtensionTestedClass: Mocked { typealias MockType = Nested.MockNestedExtensionTestedClass } final class NestedExtensionClassTests: XCTestCase { private var mock: Nested.MockNestedExtensionTestedClass! override func setUp() { ...
/content/code_sandbox/Tests/Swift/NestedExtensionClassTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
1,592
```swift import Foundation // should generate a compiler error if `FinalClass` isn't ignored and `MockFinalClass` is generated class MockFinalClass {} class FinalClassStub {} ```
/content/code_sandbox/Tests/Swift/CollisionClasses.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
37
```swift import XCTest import Cuckoo final class ProtocolTest: XCTestCase { private var mock: MockTestedProtocol! override func setUp() { super.setUp() mock = MockTestedProtocol() } func testReadOnlyProperty() { stub(mock) { mock in when(mock.readOnlyProperty.get...
/content/code_sandbox/Tests/Swift/ProtocolTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
1,550
```swift import XCTest import Cuckoo extension Nested.NestedTestedClass: Mocked { typealias MockType = Nested.MockNestedTestedClass } final class NestedClassTest: XCTestCase { private var mock: Nested.MockNestedTestedClass! override func setUp() { super.setUp() mock = Nested.MockNestedT...
/content/code_sandbox/Tests/Swift/NestedClassTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
1,578
```swift import XCTest @testable import Cuckoo final class FailTest: XCTestCase { func testMissingInvocation() { let error = TestUtils.catchCuckooFail { let mock = MockTestedClass() verify(mock).noReturn() } XCTAssertEqual(error, "Wanted 1 times but not invoked.") ...
/content/code_sandbox/Tests/Swift/FailTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
798
```swift import Foundation import XCTest import Cuckoo final class NestedStructSubclassTest: XCTestCase { private var mock: NestedStruct.MockNestedTestedSubclass! override func setUp() { super.setUp() mock = NestedStruct.MockNestedTestedSubclass() } func testReadOnlyProperty() { ...
/content/code_sandbox/Tests/Swift/NestedStructTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
1,495
```swift import XCTest final class NSObjectProtocolTest: XCTestCase { private var mockProtocolNotInheritingFromNSObjectProtocol: MockProtocolNotInheritingFromNSObjectProtocol! override func setUp() { super.setUp() mockProtocolNotInheritingFromNSObjectProtocol = MockProtocolNotInheritingFromN...
/content/code_sandbox/Tests/Swift/NSObjectProtocolInheritanceTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
99
```swift import Foundation import XCTest import Cuckoo final class NestedSubclassTest: XCTestCase { private var mock: Nested.MockNestedTestedSubclass! override func setUp() { super.setUp() mock = Nested.MockNestedTestedSubclass() } func testReadOnlyProperty() { let mock = Ne...
/content/code_sandbox/Tests/Swift/NestedSubclassTest.swift
swift
2016-01-12T14:30:36
2024-08-15T17:36:01
Cuckoo
Brightify/Cuckoo
1,657
1,488