I hereby claim:
- I am isuvorov on github.
- I am isuvorov (https://keybase.io/isuvorov) on keybase.
- I have a public key ASD5qn4ExWcLTwlUu47d3UDiQqy_Q11g9EvlEIKuc5ZC9Qo
To claim this, I am signing this object:
import { dirname } from 'node:path'; | |
import { fileURLToPath } from 'node:url'; | |
export const getFilename = (meta) => fileURLToPath(meta.url); | |
export const getDirname = (meta) => dirname(getFilename(meta)); | |
const __filename = getFilename(import.meta); | |
const __dirname = getDirname(import.meta); |
I hereby claim:
To claim this, I am signing this object:
{"lastUpload":"2019-10-18T15:35:18.403Z","extensionVersion":"v3.4.3"} |
import React from 'react'; | |
import Avatar from './Avatar'; | |
import _ from 'lodash'; | |
const rndNum = _.random(99); | |
const avatarImg = `https://randomuser.me/api/portraits/men/${rndNum}.jpg`; | |
const smallImg = 'http://placeimg.com/32/32/people'; | |
const largeImg = 'http://placeimg.com/1920/1920/people'; | |
const noProportionalImg = 'http://placeimg.com/640/320/people'; |
/* eslint-disable */ | |
import _ from 'lodash' | |
export const R = 6371 | |
export function deg2rad(deg) { | |
return deg * (Math.PI / 180) | |
} | |
export function getDistance(point1, point2) { | |
const vector = { |
///// | |
// Mongoose | |
// user.server.js | |
import schema from '/models/user' | |
const MongooseUser = mongoose.model('User', schema.getMongooseSchema()) | |
MongooseUser.findOne({ | |
username: 'isuvorov' | |
}) | |
.then(user => { |
export default class CoursePage extends Component { | |
componentDidMount() { | |
this.startLoad() | |
} | |
startLoad() { | |
const params = this.props.params | |
this.course = this.props.user.api.getCourse(params.courseId) | |
} | |
const SocketManager = { | |
// unmapper: { | |
// socket: ['Post_1', 'Post_2'] | |
// }, | |
mapper: { | |
'Post_1': [ {socket, events:[]}, socket2, socket3 ], | |
'Post_2': [], | |
}, |
# README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# | |
# In addition, I recommend the | |
# [Tomorrow Night theme](https://github.com/chriskempson/tomorrow-theme) and, if | |
# you're using it on Mac OS X, [iTerm 2](http://www.iterm2.com/) over | |
# Terminal.app - it has significantly better color fidelity. |
<VirtualHost *:80 *:443> | |
ServerName ruletka.plexdrop.ru | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/ruletka | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride All | |
</Directory> |