This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| map $http_origin $allow_origin { | |
| default ""; | |
| "~^https?://(?:[^/]*\.)?(stevebuzonas\.(?:com|local))(?::[0-9]+)?$" "$http_origin"; | |
| } | |
| map $request_method $cors_method { | |
| default "allowed"; | |
| "OPTIONS" "preflight"; | |
| } |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| zipcode,lat,lng,radius_in_miles,bounds_west,bounds_east,bounds_north,bounds_south | |
| 23883,37.13,-76.83,7,-76.840094,-76.641581,37.210962,37.034273 | |
| 23884,36.92,-77.28,13,-77.29079,-77.269319,36.91969,36.913262 | |
| 23885,37.19,-77.56,5,-77.645795,-77.50547,37.250782,37.114609 | |
| 23887,36.58,-77.83,6,-77.879894,-77.744203,36.613827,36.544878 | |
| 23888,36.96,-76.98,8,-77.095809,-76.84547,37.037233,36.854508 | |
| 23889,36.89,-77.74,7,-77.844347,-77.657867,36.958291,36.8423 | |
| 23890,37.03,-77.09,12,-77.295957,-76.946848,37.14819,36.844721 | |
| 23891,37.05,-77.21,2,-77.230106,-77.192022,37.064772,37.040587 | |
| 23893,36.63,-77.91,6,-77.978475,-77.866649,36.702117,36.544446 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "gorm.io/gorm" | |
| "gorm.io/gorm/clause" | |
| ) | |
| var ( | |
| db gorm.DB | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Просмотреть код, назвать, что выведется в stdout | |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| "sync" | |
| ) | |
| type Agent struct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {'A1E', | |
| 'B3H', | |
| 'B3J', | |
| 'B3L', | |
| 'B3S', | |
| 'E2L', | |
| 'E2R', | |
| 'G0B', | |
| 'G1A', | |
| 'G2C', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <iframe src="https://johakr.github.io/html5-slot-machine/" style="width: 100%; height: 800px; border: none;"></iframe> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [!] /bin/bash -c | |
| set -e | |
| #!/bin/bash | |
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # | |
| # This source code is licensed under the MIT license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| set -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Host t1 | |
| HostName t1.selsup-team.ru | |
| User valery_v | |
| IdentityFile ~/.ssh/id_rsa | |
| Host t2 | |
| HostName t2.selsup-team.ru | |
| User valery_v | |
| IdentityFile ~/.ssh/id_rsa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # details on rabbitMQ password hashing | |
| # https://www.rabbitmq.com/passwords.html#computing-password-hash | |
| from __future__ import print_function | |
| import base64 | |
| import os | |
| import hashlib | |
| import struct | |
| import getpass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| let comments = [ | |
| { | |
| id: 1, | |
| text: "message 1", | |
| }, | |
| { | |
| id: 2, | |
| text: "message 2", |