diff --git a/.gitignore b/.gitignore index f335f686..34c61ec7 100644 --- a/.gitignore +++ b/.gitignore @@ -21,7 +21,6 @@ /storage/pail /vendor /supervisor -/textfiles Homestead.json Homestead.yaml Thumbs.db diff --git a/composer.lock b/composer.lock index 715dac35..0e919ad7 100644 --- a/composer.lock +++ b/composer.lock @@ -12815,12 +12815,12 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": true, "prefer-lowest": false, "platform": { "php": "^8.3" }, - "platform-dev": [], - "plugin-api-version": "2.6.0" + "platform-dev": {}, + "plugin-api-version": "2.9.0" } diff --git a/storage/tools/prox2.php b/storage/tools/proxy.php similarity index 100% rename from storage/tools/prox2.php rename to storage/tools/proxy.php diff --git a/storage/tools/proxydb1.php b/storage/tools/proxy_logi_auth.php similarity index 100% rename from storage/tools/proxydb1.php rename to storage/tools/proxy_logi_auth.php diff --git a/storage/tools/logifuture_proxy.php b/storage/tools/proxy_logi_data.php similarity index 100% rename from storage/tools/logifuture_proxy.php rename to storage/tools/proxy_logi_data.php diff --git a/textfiles/.env.example b/textfiles/.env.example new file mode 100644 index 00000000..384fd456 --- /dev/null +++ b/textfiles/.env.example @@ -0,0 +1,67 @@ +APP_NAME=Monitor +APP_ENV=local +APP_KEY=base64:xhigDJOEk2dBUc3pfYXm7yo8a14PTtVCIU4PAt+F2dM= +APP_DEBUG=true +APP_URL=http://nuhodds_fi4.test +BETSAPI_TOKEN="36152-aeTRNnZxSPUwGe" +TXODDS_TOKEN="Dy59vpRC" + +APP_LOCALE=en +APP_FALLBACK_LOCALE=en +APP_FAKER_LOCALE=en_US + +APP_MAINTENANCE_DRIVER=file +# APP_MAINTENANCE_STORE=database + +PHP_CLI_SERVER_WORKERS=4 + +BCRYPT_ROUNDS=12 + +LOG_CHANNEL=stack +LOG_STACK=single +LOG_DEPRECATIONS_CHANNEL=null +LOG_LEVEL=debug + +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=nuhodds_fi4 +DB_USERNAME=root +DB_PASSWORD=salam + +SESSION_DRIVER=database +SESSION_LIFETIME=120 +SESSION_ENCRYPT=false +SESSION_PATH=/ +SESSION_DOMAIN=null + +BROADCAST_CONNECTION=log +FILESYSTEM_DISK=local +QUEUE_CONNECTION=database + +CACHE_STORE=database +# CACHE_PREFIX= + +MEMCACHED_HOST=127.0.0.1 + +REDIS_CLIENT=phpredis +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_MAILER=log +MAIL_SCHEME=null +MAIL_HOST=127.0.0.1 +MAIL_PORT=2525 +MAIL_USERNAME=null +MAIL_PASSWORD=null +MAIL_FROM_ADDRESS="hello@example.com" +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= +AWS_USE_PATH_STYLE_ENDPOINT=false + +VITE_APP_NAME="${APP_NAME}" diff --git a/textfiles/ARTISAN.md b/textfiles/ARTISAN.md new file mode 100644 index 00000000..17fe5a0f --- /dev/null +++ b/textfiles/ARTISAN.md @@ -0,0 +1,46 @@ +a make:model Textblock -m + +a make:filament-resource KontoTextblock + +a make:model ModelName -m // creates migration too +a make:model ModelName -c // creates controller too +a make:model ModelName -f // also creates a factory +a make:model ModelName -s // also creates a database seeder +a make:model ModelName -mfcs // creates migration, factory, controller and seeder + +a make:factory GutachterFactory + +https://fakerphp.org/ + +a make:model ZuAbschlaege -m + +a make:filament-resource ProjekteImport --nested +a make:filament-relation-manager ProjekteResource ProjekteImports name + +a make:filament-relation-manager ProjektObjekteImDetailResource ProjektObjekteImDetails geschoss + +a make:model ProjektAllgemeinflaechen -ms +a make:model ProjektObjekteImDetail -ms + +php artisan make:filament-importer ProjektObjekteImDetail + +A make:filament-resource ProjektAllgemeinflaechen --nested + +a make:filament-relation-manager KontoTextblockResource konto_textblocks name + +for import in prod run +a queue:listen +in supervisord + +MAIL +php artisan vendor:publish --tag=laravel-notifications +php artisan vendor:publish --tag=laravel-mail + +php artisan tinker +Mail::raw('Hello World!', function($msg) {$msg->to('ht@webwerkstatt.tirol')->subject('Test Email'); }); + + +# Add this line in your .gitignore file +bootstrap/cache +# and then run +git rm -r --cached bootstrap/cache \ No newline at end of file diff --git a/textfiles/DocInstalled.md b/textfiles/DocInstalled.md new file mode 100644 index 00000000..111f5b28 --- /dev/null +++ b/textfiles/DocInstalled.md @@ -0,0 +1,6 @@ +https://packagist.org/packages/joaopaulolndev/filament-edit-profile +https://github.com/bezhanSalleh/filament-shield/tree/4.x + + +TABULATOR +npm install tabulator-tables --save \ No newline at end of file diff --git a/textfiles/DocLearn.md b/textfiles/DocLearn.md new file mode 100644 index 00000000..b96e6558 --- /dev/null +++ b/textfiles/DocLearn.md @@ -0,0 +1,12 @@ +https://www.youtube.com/watch?v=v3xSO11wLH4 + + + +https://laracasts.com/series/build-advanced-components-for-filament/episodes/3 + +https://txodds.net/wp-content/uploads/2023/01/TXODDS-XML-Feeds-v5.14.pdf + + + + +$table->string('full_name')->virtualAs('concat(first_name, \' \', last_name)'); diff --git a/textfiles/DocLinks.md b/textfiles/DocLinks.md new file mode 100644 index 00000000..95e416e7 --- /dev/null +++ b/textfiles/DocLinks.md @@ -0,0 +1,38 @@ +plugins +https://github.com/bezhanSalleh/filament-shield/tree/4.x + +extras +https://daisyui.com/docs/config/ +https://joyofcode.xyz/dark-mode-favicon +https://favicon.io/favicon-converter/ + +util +https://filamentphp.com/plugins/agence-twogether-hooks-helper +https://filamentphp.com/plugins/pxlrbt-environment-indicator + +log +https://filamentphp.com/plugins/ralphjsmit-pulse +https://filamentphp.com/plugins/tapp-network-mail-log +https://filamentphp.com/plugins/tapp-network-authentication-log +https://filamentphp.com/plugins/jeffersongoncalves-fathom + +Icon +https://lucide.dev/icons/ +https://filamentphp.com/plugins/codewithdennis-lucide-icons +composer require codewithdennis/filament-lucide-icons + +bg +https://filamentphp.com/plugins/swisnl-backgrounds + +chart +https://filamentphp.com/plugins/leandrocfe-apex-charts + +user +https://filamentphp.com/plugins/martin-petricko-sentry-feedback +https://filamentphp.com/plugins/cmsmax-error-pages +https://filamentphp.com/plugins/jeffersongoncalves-cookie-consent +https://filamentphp.com/plugins/ysfkaya-phone-input + +work +https://laraveldaily.com/post/filament-disable-dashboard-auto-redirect-url-after-login +https://laracasts.com/discuss/channels/filament/filament-redirect-unauthenticated-and-non-admin-users-from-admin-to-a-certain-other-route diff --git a/textfiles/DocWork.md b/textfiles/DocWork.md new file mode 100644 index 00000000..8647e1c0 --- /dev/null +++ b/textfiles/DocWork.md @@ -0,0 +1,13 @@ +https://www.freecodecamp.org/news/laravel-logging/ +https://www.freecodecamp.org/news/how-to-use-facades-in-laravel/ +https://laraveldaily.com/post/filament-get-urls-route-names-resources-pages + + + + +ARTISAN +a make:filament-resource ModelName --simple --model --migration + + +LEARN +https://laracasts.com/series/build-advanced-components-for-filament/episodes/2 \ No newline at end of file diff --git a/textfiles/formatting.json b/textfiles/formatting.json new file mode 100644 index 00000000..9915b512 --- /dev/null +++ b/textfiles/formatting.json @@ -0,0 +1,163 @@ +{ + "id": 13523903, + "e": "Colorado Springs Switchbacks v New Mexico United", + "x": 0, + "s": 1758762000, + "stc": 1743890400, + "day": 25, + "g": "USL Championship > Regular Season", + "gid": 172998, + "cid": 1133, + "c": "USA", + "fav": 0, + "i": "us", + "hip": 0, + "sid": 1, + "blc": 0, + "lc_ht": 0, + "lc_hp": 0, + "note": 0, + "sb": true, + "mode": 0, + "meth": "Nigeria - Base", + "cm3w": 0, + "ml1": 0, + "p3w": 0, + "a5": 14, + "ax": 0, + "a1": 1.79, + "a2": 3.95, + "a3": 3.65, + "a4": 108.6, + "aval": { + "f": 11, + "t": 12, + "v": 1, + "p": 8 + }, + "b1": 1.8, + "b2": 3.95, + "b3": 3.7, + "b4": 107.9, + "b11": 0, + "b21": 0, + "b31": 0, + "b41": 0, + "b12": 0, + "b22": 0, + "b32": 0, + "b42": 0, + "b13": 0, + "b23": 0, + "b33": 0, + "b43": 0, + "b14": 0, + "b24": 0, + "b34": 0, + "b44": 0, + "b15": 1.78, + "b25": 4.1, + "b35": 3.7, + "b45": 107.6, + "b55": 1, + "cmto": 0, + "ml2": 0, + "pto": 0, + "c5": 14, + "cx": 0, + "c1": 2.5, + "c2": 1.74, + "c3": 1.9, + "c4": 110.1, + "cval": { + "f": 11, + "t": 12, + "v": 1, + "p": 8 + }, + "d1": 2.5, + "d2": 1.77, + "d3": 1.94, + "d4": 108, + "d11": 0, + "d21": 0, + "d31": 0, + "d41": 0, + "d12": 0, + "d22": 0, + "d32": 0, + "d42": 0, + "d13": 0, + "d23": 0, + "d33": 0, + "d43": 0, + "d14": 0, + "d24": 0, + "d34": 0, + "d44": 0, + "d15": 2.5, + "d25": 1.78, + "d35": 1.96, + "d45": 107.2, + "d55": 1, + "m5": 0, + "mx": 0, + "m1": 0, + "m2": 0, + "m3": 0, + "mval": { + "f": 0, + "t": 0, + "v": 0, + "p": 0 + }, + "n1": 0, + "n2": 0, + "n3": 0, + "n11": 0, + "n21": 0, + "n31": 0, + "n12": 0, + "n22": 0, + "n32": 0, + "n13": 0, + "n23": 0, + "n33": 0, + "n14": 0, + "n24": 0, + "n34": 0, + "n15": 0, + "n25": 0, + "n35": 0, + "n55": 0, + "g5": 539, + "gx": 1, + "g1": 1.72, + "g2": 1.95, + "g3": 109.4, + "gval": { + "f": 4, + "t": 12, + "v": 8, + "p": 67 + }, + "h1": 1.69, + "h2": 2.03, + "h3": 108.4, + "h11": 1.72, + "h21": 1.95, + "h31": 109.4, + "h12": 0, + "h22": 0, + "h32": 0, + "h13": 0, + "h23": 0, + "h33": 0, + "h14": 0, + "h24": 0, + "h34": 0, + "h15": 1.73, + "h25": 2.04, + "h35": 106.8, + "h55": 1 +} \ No newline at end of file diff --git a/textfiles/odds_types.php.xml b/textfiles/odds_types.php.xml new file mode 100644 index 00000000..33f7b084 --- /dev/null +++ b/textfiles/odds_types.php.xml @@ -0,0 +1,433 @@ + + + + 0 + 1x2 + three way + + + 1 + ml + money line + + + 3 + pts + points + + + 4 + tot + totals + + + 5 + ah + asian handicap + + + 65536 + 3wht + three way - ht + + + 65537 + 2wht + money line - ht + + + 65539 + ptsht + spread - ht + + + 65540 + totht + totals - ht + + + 65541 + ahht + asian handicap - ht + + + 131072 + 3wq1 + three way - q1 + + + 131073 + mlq1 + money line - q1 + + + 131075 + ptsq1 + points - q1 + + + 131076 + totq1 + totals - q1 + + + 196608 + 3wq3 + three way - q3 + + + 196609 + mlq3 + money line - q3 + + + 196611 + ptsq3 + points - q3 + + + 196612 + totq3 + totals - q3 + + + 262147 + ptset + points - et + + + 262148 + totet + totals - et + + + 327680 + 3w2hf + three way - 2nd hf + + + 327681 + ml2hf + money line - 2nd hf + + + 327683 + pts2hf + points - 2nd hf + + + 327684 + tot2hf + totals - 2nd hf + + + 327685 + ah2hf + asian handicap - 2nd hf + + + 393216 + 3wq2 + three way - q2 + + + 393217 + mlq2 + money line - q2 + + + 393219 + ptsq2 + points - q2 + + + 393220 + totq2 + totals - q2 + + + 458752 + 3wq4 + three way - q4 + + + 458753 + mlq4 + money line - q4 + + + 458755 + ptsq4 + points - q4 + + + 458756 + totq4 + totals - q4 + + + 524288 + 3w1o + three way - 1st over + + + 524292 + tot1o + totals - 1st over + + + 655361 + mlrt + moneyline - rt + + + 1048577 + g/ng + goal/nogoal + + + 2097153 + od/ev + odd/even + + + 2162689 + od/evht + odd/even - ht + + + 2424833 + od/ev2h + odd/even - 2nd hf + + + 4194304 + tg + total goals (0-2/3/4+) + + + 5242880 + dc + double chance (1x/x2/12) + + + 5308416 + dcht + double chance (1x/x2/12) - ht + + + 5373952 + dcq1 + double chance (1x/x2/12) - q1 + + + 5439488 + dcq3 + double chance (1x/x2/12) - q3 + + + 5570560 + dc2h + double chance (1x/x2/12) - 2nd h + + + 5636096 + dcq2 + double chance (1x/x2/12) - q2 + + + 6291457 + dnb + draw no bet + + + 6356993 + dnbht + draw no bet - ht + + + 6619137 + dnb2h + draw no bet - 2nd hf + + + 7340033 + toprog + to progress + + + 8388608 + 1x2hc + three way handicap (h:g) + + + 8454144 + 1x2hcht + three way handicap (h:g) - ht + + + 8716288 + 1x2hc2hf + three way handicap (h:g) - 2nd h + + + 9437188 + totcor + total corners + + + 9502724 + totcor1fh + total corners - ht + + + 9699332 + totcoret + total corners - extra time + + + 10027012 + totcor10min + total corners - 1st 10 mins + + + 10485761 + gtd + to go the distance + + + 11534337 + btts + both teams to score + + + 11599873 + bttsht + both teams to score - ht + + + 11862017 + btts2hf + both teams to score - 2nd hf + + + 12582912 + hwmg + half with more goals + + + 13631489 + wbh + win both halves + + + 14680065 + wtt + win the toss + + + 15728644 + totsix + total sixes + + + 16777220 + totro + total runouts + + + 17825792 + m180 + most 180s + + + 18874369 + 170f + 170 finish + + + 19922945 + 9df + 9 dart finish + + + 20971520 + 1x2cor + three way corners + + + 21037056 + 1x2corht + three way corners - ht + + + 22020099 + ptscor + handicap corners + + + 22085635 + ptscorht + handicap corners - ht + + + 23068673 + od/evcor + odd/even corners + + + 23134209 + od/evcorht + odd/even corners - ht + + + 24117249 + nextcor + next corner + + + 25165825 + lastcor + last corner + + + 26214401 + 1stcor + first corner + + + 27262976 + 1stcor1x2 + first corner threeway + + + 28311555 + ptsset + handicap sets + + + 28311556 + totset + total sets + + + 29360129 + wtbo + will there be overtime + + + 30408705 + wtn + win to nil + + + 31457284 + tothome + totals home + + + 32505860 + totaway + totals away + + \ No newline at end of file diff --git a/textfiles/text.html b/textfiles/text.html new file mode 100644 index 00000000..e05ceb06 --- /dev/null +++ b/textfiles/text.html @@ -0,0 +1,27 @@ + + + + + + + NuhOdds Proxy + + + + +

NuhOdds Proxy Server

+

+ You are not authorized! +

+ + + \ No newline at end of file diff --git a/todo.todo b/todo.todo new file mode 100644 index 00000000..725d2527 --- /dev/null +++ b/todo.todo @@ -0,0 +1,16 @@ + +# TO DO + +TODO TX last call +TODO Betsapi last call +# Service auto mapper +# Role inside roles make standard user with roles by action +# move IP from tiger to DB1 then close tiger +# Integrate inactive and closed Events Feeds from TXdds +# Add start and end time to groups (make groups garpper?) +# Counry Icons in prod not showing + + + +DONE: +# Stars \ No newline at end of file