Skip to content

Instantly share code, notes, and snippets.

View zishe's full-sized avatar
🏠
Working from home

Alexander Kireev zishe

🏠
Working from home
  • Ko Pha Ngan, Thailand
View GitHub Profile
@zishe
zishe / README.markdown
Created July 22, 2020 08:42 — forked from alexshk/README.markdown
List of countries in YAML, CSV and TXT format
~/Projects/TeamTrade rbenv:(2.6.3) ➜ react-native run-ios
info Found Xcode project "TeamTrade.xcodeproj"
info Building (using "xcodebuild -project TeamTrade.xcodeproj -configuration Debug -scheme TeamTrade -destination id=97F3CE0C-BCB9-4467-8007-C5FBB6377B21 -derivedDataPath build/TeamTrade")
....................
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening TeamTrade.xcodeproj. Run CLI with --verbose flag for more details.
User defaults from command line:
IDEDerivedDataPathOverride = /Users/alder/Projects/TeamTrade/ios/build/TeamTrade
note: Using new build system
note: Planning build
componentDidMount() {
document.title = 'Companies';
this.loadData();
}
async loadData() {
await this.getLocations();
await this.getIndustries();
await this.getCompanySizes();
@zishe
zishe / log
Created January 21, 2019 09:39
{"email":"arisbuinevicius@hotmail.com","first_name":"Aris","last_name":"Buinevicius","referral_url":"https://repvue.com/invite/4bf8842c0a964bde88773fbcf219dfd1","user_auth":"https://repvue.com/prelaunch/4bf8842c0a964bde88773fbcf219dfd1","location":"","country":"US","industry":["Computer Software"],"rating_count":1,"referral_count":"0","user-role":"","auth-link":""}{"email":"vsevolod.baranetc@ontarget-group.com","first_name":"Vsevolod","last_name":"Baranetc","referral_url":"https://repvue.com/invite/f300993c34314f8cab42d7a5888d807c","user_auth":"https://repvue.com/prelaunch/f300993c34314f8cab42d7a5888d807c","location":"","country":"US","industry":"","rating_count":6,"referral_count":"0","user-role":"","auth-link":""}{"email":"alexander.visotsky@ontarget-group.com","first_name":"Alexander","last_name":"Visotsky (OTG email)","referral_url":"https://repvue.com/invite/f2cdaa5a5e7945d39b6b38e4a7fb5f4a","user_auth":"https://repvue.com/prelaunch/f2cdaa5a5e7945d39b6b38e4a7fb5f4a","location":"United States VA AFTON VA
@zishe
zishe / log
Created November 25, 2018 14:12
log
wrong number of arguments (given 1, expected 3)
/usr/local/var/rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/graphql-1.9.0.pre1/lib/graphql/schema/field.rb:430:in `resolve'
/Users/alder/Projects/_apps/service_exchange/any-do-api/app/graphql/types/query_type.rb:7:in `block in <class:QueryType>'
/usr/local/var/rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/graphql-1.9.0.pre1/lib/graphql/schema/field.rb:222:in `instance_eval'
/usr/local/var/rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/graphql-1.9.0.pre1/lib/graphql/schema/field.rb:222:in `initialize'
/usr/local/var/rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/graphql-1.9.0.pre1/lib/graphql/schema/member/accepts_definition.rb:142:in `initialize'
/usr/local/var/rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/graphql-1.9.0.pre1/lib/graphql/schema/field.rb:88:in `new'
/usr/local/var/rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/graphql-1.9.0.pre1/lib/graphql/schema/field.rb:88:in `from_options'
/usr/local/var/rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/graphql-1.9.
@zishe
zishe / api.js
Created October 28, 2018 02:08
final-fb-passport
const express = require('express');
const passport = require('passport');
const router = express.Router();
const { fbAuth, fbCb } = require('../lib/facebook');
router.get('/oauth/:id/facebook', fbAuth);
router.get('/oauth/:id/facebook', fbAuth());
module.exports = router;
@zishe
zishe / api.js
Last active October 26, 2018 22:40
const express = require('express');
const passport = require('passport');
const router = express.Router();
const { fbAuth, fbCb } = require('../lib/facebook');
// this doesn't work:
// router.get('/oauth/:id/facebook', fbAuth);
// router.get('/oauth/:id/facebook', fbAuth());
@zishe
zishe / log
Last active March 19, 2018 12:17
[07:04:27] ➜ cancer_portal rbenv:(2.3.0) git:(master)
$ cap production deploy
DEBUG [61c9b3df] Running [ -d ~/.rvm ] as deploy@52.72.28.84
DEBUG [61c9b3df] Command: [ -d ~/.rvm ]
DEBUG [61c9b3df] Finished in 5.471 seconds with exit status 0 (successful).
DEBUG [8961986b] Running ~/.rvm/bin/rvm version as deploy@52.72.28.84
DEBUG [8961986b] Command: ~/.rvm/bin/rvm version
DEBUG [8961986b] rvm 1.29.1 (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io/]
DEBUG [8961986b] Finished in 0.771 seconds with exit status 0 (successful).
rvm 1.29.1 (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io/]
[05:16:01] ➜ dockers rbenv:(2.5.0) git:(master) ✗
$ docker pull alagiz/net-fortune
Using default tag: latest
latest: Pulling from alagiz/net-fortune
f2b6b4884fc8: Pull complete
af9b2e8b2ec3: Pull complete
0d2a655a0e66: Pull complete
6cccdcb87605: Pull complete
5e145b6ea5bc: Pull complete
d2697b049e66: Pull complete
players = [];
function onYouTubeIframeAPIReady() {
_.each($('.article__video-frame'), function(item, i) {
var player = new YT.Player('player' + i, {
height: '400',
width: '700',
videoId: $(item).attr('data-vid'),
events: {
'onStateChange': onPlayerStateChange
}