Skip to content

Instantly share code, notes, and snippets.

View oshalygin's full-sized avatar

Oleg Shalygin oshalygin

  • Los Angeles, CA
View GitHub Profile
<?xml version="1.0" encoding="UTF-8" ?>
<service>
<id>AORUS LCD Panel Service</id>
<name>AORUS LCD Panel Service</name>
<description>AORUS LCD Panel Service</description>
<executable>C:\Program Files (x86)\GIGABYTE\AORUS LCD Panel Setting\MonitorService.exe</executable>
<logpath>C:\Program Files (x86)\GIGABYTE\AORUS LCD Panel Setting\</logpath>
<logmode>roll</logmode>
<depend></depend>
<startargument></startargument>
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "shift+cmd+f",
"command": "editor.action.format",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+f",
"command": "editor.action.formatDocument",
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# if [ "$TMUX" = "" ]; then tmux; fi
# source ~/.fonts/*.sh
export TERM="xterm-256color"
# Path to your oh-my-zsh installation.
export ZSH=/Users/oleqshalygin/.oh-my-zsh

Keybase proof

I hereby claim:

  • I am oshalygin on github.
  • I am oshalygin (https://keybase.io/oshalygin) on keybase.
  • I have a public key ASAkN5Gzk7ie_XgMYR2o4e1AKXtAnx9tWShbuTTDHZcWMAo

To claim this, I am signing this object:

@oshalygin
oshalygin / mongodb_lookup.go
Created May 28, 2018 02:34 — forked from sindbach/mongodb_lookup.go
A simple example of how to use $lookup in Golang using mgo.
package main
import (
"fmt"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)
func main() {
session, err := mgo.Dial("localhost")
if err != nil {
@oshalygin
oshalygin / clink.lua
Created December 26, 2017 02:41
cmder prompt configuration
@oshalygin
oshalygin / hyper.js
Created December 26, 2017 01:43
Hyper.js config on Windows
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
import GoogleAuth from 'google-auth-library';
import { googleAuthClientId } from '../../src/constants/config';
import { User } from '../utilities/database';
import { path } from 'ramda';
const checkUserToken = token => {
return new Promise((resolve, reject) => {
const auth = new GoogleAuth();
const client = new auth.OAuth2(googleAuthClientId, '', '');
client.verifyIdToken(token, googleAuthClientId, (error, login) => {
import GoogleAuth from 'google-auth-library';
import { googleAuthClientId } from '../../src/constants/config';
import { User } from '../utilities/database';
import { path } from 'ramda';
const checkUserToken = token => {
return new Promise((resolve, reject) => {
const auth = new GoogleAuth();
const client = new auth.OAuth2(googleAuthClientId, '', '');
client.verifyIdToken(token, googleAuthClientId, (error, login) => {
@oshalygin
oshalygin / .hyper-sync-settings.json
Last active August 3, 2017 20:35
hyper sync settings
//