Skip to content

Instantly share code, notes, and snippets.

Avatar

Artur Chmarusso

View GitHub Profile
@Chmarusso
Chmarusso / ipb4.rb
Last active Jan 11, 2020
Put this file in: discourse_dir/scripts/import_scripts/ipb4.rb
View ipb4.rb
# migration script from IPB4 to Discourse
require "mysql2"
require File.expand_path(File.dirname(__FILE__) + "/base.rb")
require 'htmlentities'
class ImportScripts::Ipb4 < ImportScripts::Base
IPB_DB_USER = "user"
IPB_DB_PASSWORD = "password"
IPB_4_DB = "mmo_forum"
@Chmarusso
Chmarusso / settings.json
Created Jan 8, 2019
My VS Code settings
View settings.json
{
"window.zoomLevel": 3,
"editor.renderWhitespace": "boundary",
"editor.tabSize": 2,
"workbench.iconTheme": "eq-material-theme-icons-palenight",
"editor.rulers": [80],
"editor.scrollBeyondLastLine": false,
"editor.wrappingIndent": "none",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
View vs-code-notatki.md

VS Code - wtyczki, porady, tricki

  • Terminal ( toggle CTRL + ` )
  • Go to file
  • Ctrl + click = jump to file from console
  • Theme "Material Theme Palenight High Contrast"
  • Icons "material-icon-theme"
  • Plugin: ESLint
  • Switch between projects (CTRL + R)
  • Plugin: ES7 React/Redux/GraphQL/React-Native snippets
You can’t perform that action at this time.