Skip to content

Instantly share code, notes, and snippets.

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

Bogdan Nasikovsky Bogdan808

🏠
Working from home
  • Helium 10
  • Tiraspol
View GitHub Profile
bogdan@bogdan-VirtualBox:~/dusha$ rails server
=> Booting WEBrick
=> Rails 4.1.1 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
/home/bogdan/.rvm/gems/ruby-2.0.0-p598@railstutorial_rails_4_0/gems/actionpack-4.1.1/lib/action_dispatch/http/mime_type.rb:163: warning: already initialized constant Mime::PLUPLOAD
/home/bogdan/.rvm/gems/ruby-2.0.0-p598@railstutorial_rails_4_0/gems/actionpack-4.1.1/lib/action_dispatch/http/mime_type.rb:163: warning: previous definition of PLUPLOAD was here
[2014-12-08 14:55:36] INFO WEBrick 1.3.1
[2014-12-08 14:55:36] INFO ruby 2.0.0 (2014-11-13) [x86_64-linux]
Started GET "/" for 127.0.0.1 at 2014-12-08 14:58:35 +0200
ActiveRecord::SchemaMigration Load (0.6ms) SELECT `schema_migrations`.* FROM `schema_migrations`
Processing by Comfy::Cms::ContentController#show as HTML
(0.5ms) SELECT COUNT(*) FROM `comfy_cms_sites`
Comfy::Cms::Site Load (1.4ms) SELECT `comfy_cms_sites`.* FROM `comfy_cms_sites` WHERE `comfy_cms_sites`.`hostname` = 'localhost:3000'
Completed 404 Not Found in 1723ms
ActionController::RoutingError (Site Not Found):
comfortable_mexican_sofa (1.12.3) app/controllers/comfy/cms/base_controller.rb:26:in `load_cms_site'
activesupport (4.1.1) lib/active_support/callbacks.rb:424:in `block in make_lambda'
@Bogdan808
Bogdan808 / base.css
Last active December 9, 2015 11:52
base.scss
@import "./bootstrap.css";
@import "./rouble.css";
@import "./pfdincondpro_reg.css";
:global .rouble
{
font-family: 'rouble' !important;
font-style: normal;
}
this.init = function() {}
this.generateUI = function() {}
this.saveOptions = function() {}
this.getOptions = function() {}
this.fillOptions = function() {}
this.updateOptions = function(a) {}
this.valueChange = function(b) {}
this.dragTo = function(h) {}
this.toggleLock = function() {}
this.toggleLockToLocked = function() {}
Bogdan@BogdanPC MINGW64 /d/work/ticket (master)
$ npm run dev:install
> ticketchanger@0.0.1 dev:install D:\work\ticket
> npm install && npm run dev:link
> ticketchanger@0.0.1 postinstall D:\work\ticket
> ./node_modules/protractor/bin/webdriver-manager update
bogdan@bogdan-VirtualBox:~/ticket$ npm run dev
> ticketchanger@0.0.1 dev /home/bogdan/ticket
> npm run dev:live
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/home/bogdan/ticket/node_modules/.bin/npm" "run" "dev:live"
npm ERR! node v4.2.6
npm ERR! npm v3.10.10
webpack: bundle is now VALID.
webpack: bundle is now INVALID.
Hash: fafc381da2eca4fbcdac
Version: webpack 1.14.0
Time: 891ms
Asset Size Chunks Chunk Names
webterminal.css 89.8 kB 0, 2 [emitted] webterminal
webterminal.css.map 92 bytes 0, 2 [emitted] webterminal
chunk {0} webterminal.js, webterminal.css, webterminal.js.map, webterminal.css.map (webterminal) 2.96 MB {2}
+ 498 hidden modules
ymaps.ready(init);
function init() {
// Создание экземпляра карты.
var myMap = new ymaps.Map('mySuperMap', {
center: [50.443705, 30.530946],
zoom: 14
}, {
searchControlProvider: 'yandex#search'
@Bogdan808
Bogdan808 / jquery.mobile-events.js
Created November 26, 2017 10:43
swipe, pan effect
/*
* need include https://cdnjs.cloudflare.com/ajax/libs/jquery-touch-events/1.0.5/jquery.mobile-events.js
*/
var l = 0;
$('.indexnews__tabs').on('swipe', function(e, d) {
var a = parseInt($(this).width());
var y = parseInt($(this).parent().width());
var x = a - y;
var maxL = x;
@Bogdan808
Bogdan808 / gulp.js
Created February 2, 2018 08:32
My new gulp
'use strict';
// Подключения зависимостей
const fs = require('fs');
const gulp = require('gulp');
const gulpSequence = require('gulp-sequence');
const browserSync = require('browser-sync').create();
const realFavicon = require ('gulp-real-favicon');
const postcss = require('gulp-postcss');