GithubHelp home page GithubHelp logo

development-env's Introduction

Extensions

VS Code

  • Out of box
  • Mac: ~/.vscode/extensions
    • Cmd + Shft + P -> Shell: install 'code' in Path
  • Ubuntu: Home/.vscode/extensions
  • USER SETTINGS: {
    "typescript.tsdk": "${npm list -g | head -n1}/node_modules/typescript/lib",
    "editor.detectIndentation": false,
    "editor.insertSpaces": true,
    "editor.tabSize": 3,
    "editor.fontSize": 13,
    "editor.fontLigatures": true,
    "window.zoomLevel": -0.5,
    "terminal.integrated.fontSize": 12,
    }
  • WORKSPACE SETTINGS: {
    "javascript.validate.enable": false, // if not using TS
    "flow.useNPMPackagedFlow": true,
    "flow.pathToFlow": "${workspaceRoot}/node_modules/.bin/flow" // or install npm i flow-bin -g
    }

Sublime

  • Git
    TypeScript
    Babel ES6/ES7
    JsFormat
    BracketHighlighter
    SideBarEnhancements
    Color Highlighter
    A File Icon
    Seti_UI, Materialize, Tomorrow Color Schemes, Predawn, Monokai - Spacegray

Atom

  • Atom-Typescript: https://github.com/TypeStrong/atom-typescript
    Atom-React: https://github.com/orktes/atom-react (clone into .atom\packages folder)
    Install: file-icons, atom-json-color, atom-bracket-highlight,
    Stylesheet:
    .tree-view { /* background-color: whitesmoke; */ font-size: 10px; }
     .bracket-matcher { position: absolute; top: -1px;    border-bottom: 1px solid lime; border: 1px solid rgba(0, 255, 0, 0.7); // background-color: rgba(150, 255, 150, 0.3);  }

Boilerplates

Client

Node


MAC

~/.bash_profile

export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export PATH=~/Downloads/mongodb/bin:$PATH
alias l='ls -CF'
alias la='ls -a'
alias ll='ls -all'
alias ld='ls -l'
alias cls='clear && printf "\e[3J"'
export PS1='[\033[01;32m]${PWD} [\033[00m]$ '
eval $(/usr/libexec/path_helper -s)

shortcuts

AC2V2zZQ
F11 => Show desktop
Cmd + Shift + . => show hidden files
Cmd + Q => close the application without trace
Cmd + ` => tab between windows of same application
cp -a <_source>/. <_dest> => copy the content of the <_source> into <_dest> recursively(a) including hidden files/folders(.)
ln -s <_source> <_dest> => creates a link of <_source> in the <_dest> folder
chown <_user> <_file> => changes the owner of <_file> to <_user>
defaults write -g com.apple.mouse.scaling -float 10

// MongoDB
$ ./mongod --dbpath ../data/db
$ mongo (another cmd)
$ show dbs
$ use
$ db
$ show collections
$ db..drop()
$ db..insert({…})
$ db..find()

// NPM
$ sudo chown -R $(whoami) | $(npm config get prefix)

UBUNTU

~/.bashrc

'# alias l='ls -CF'
'# alias la='ls -a'
'# alias ll='ls -all'
alias ld='ls -l'
alias cls='clear && reset'
PS1='[\033[01;32m]${PWD} [\033[00m]$ '

Programs

Gnome Tweaks, Gnome Global Application Menu, Docky (No need for Unity or Dash-to-dock),
GIMP, VLC, K3b,
Terminator,
GParted, KDE Partition Manager, UNetbootin,
https://atom.io,

Scripts

  • NodeJs: sudo apt install nodejs
  • NPM: sudo apt install npm
  • GIT: sudo apt install git
  • Chrome: sudo apt install google-chrome-stable
  • D (ntfs):
    sudo mkdir -p /media/c
    sudo fdisk -l (ex: sda3 is our D drive)
    sudo mount -t ntfs -o nls=utf8,umask=0222 /dev/sda3 /media/c
  • if there is a problem w/ icons:
    /usr/share/pixmaps/ or /usr/share/applications/ and open related files.
  • Printer: download drivers from http://support.brother.com/g/b/producttop.aspx?c=eu_ot&lang=en&prod=dcp9055cdn_eu_as
    ipp://192.168.1.9/ipp for the URI of the wifi printer (http://localhost:631/printers for administrations)

Terminator

  • Profiles -> default -> Colours -> Built-in Schemes: Gruvbox dark
  • First open terminator and set the window size according to your need and comfort.
    Right click and go to preference and then to layout.
    Click on the terminal name under window and then save the layout.
    Thats it, It will open the terminator in the same size, as you have set up, next time you open it.
  • ~home/.config/terminator/config:
    [global_config] suppress_multiple_term_dialog = True title_font = Sans 8 [keybindings] [layouts] [[default]] [[[child0]]] fullscreen = False last_active_term = 99a44a5b-9cc5-4c49-bdc8-6cac012dcfb8 last_active_window = True maximised = False order = 0 parent = "" position = 0:0 size = 1912, 425 title = /bin/bash type = Window [[[terminal1]]] order = 0 parent = child0 profile = default type = Terminal uuid = 99a44a5b-9cc5-4c49-bdc8-6cac012dcfb8 [plugins] [profiles] [[default]] background_color = "#282828" background_darkness = 0.95 background_type = transparent copy_on_selection = True cursor_color = "#aaaaaa" cursor_shape = ibeam font = Monospace 9 foreground_color = "#ffffff" show_titlebar = False use_system_font = False

Konsole

~/.config/konsolerc
[Desktop Entry] DefaultProfile=Default.profile [Favorite Profiles] Favorites= [MainWindow] Height 1080=480 Width 1920=1298 [TabBar] ShowQuickButtons=true TabBarVisibility=ShowTabBarWhenNeeded

~/.local/share/konsole/Default.profile
[Appearance] ColorScheme=Breeze [General] Name=Default Parent=FALLBACK/

Sublime Text 3

  • sudo add-apt-repository ppa:webupd8team/sublime-text-3
  • sudo apt-get update
  • sudo apt-get install sublime-text-installer

Docky

Open gconf-editor. Navigate to /apps/docky-2/Docky/Items/DockyItem/. Change Hue to 1 DockyItemCommand to gksu nautilus /usr/share/applications. Click on your Docky Anchor. Type in your password. Navigate to the program icon you would like to change.

Plasma

edit /usr/share/plasma/layout-templates/org.kde.plasma.desktop.defaultPanel/contents/layout.js:
var panel = new Panel var panelScreen = panel.screen var freeEdges = {"bottom": true, "top": true, "left": true, "right": true}

for (i = 0; i < panelIds.length; ++i) { var tmpPanel = panelById(panelIds[i]) if (tmpPanel.screen == panelScreen) { // Ignore the new panel if (tmpPanel.id != panel.id) { freeEdges[tmpPanel.location] = false; } } }

if (freeEdges["bottom"] == true) { panel.location = "bottom"; } else if (freeEdges["top"] == true) { panel.location = "top"; } else if (freeEdges["left"] == true) { panel.location = "left"; } else if (freeEdges["right"] == true) { panel.location = "right"; } else { // There is no free edge, so leave the default value panel.location = "top"; }

panel.height = gridUnit * 2

var kickoff = panel.addWidget("org.kde.plasma.kickoff") kickoff.currentConfigGroup = ["Shortcuts"] kickoff.writeConfig("global", "Alt+F1")

//panel.addWidget("org.kde.plasma.showActivityManager") panel.addWidget("org.kde.plasma.pager") panel.addWidget("org.kde.plasma.taskmanager")

/* Next up is determining whether to add the Input Method Panel

  • widget to the panel or not. This is done based on whether
  • the system locale's language id is a member of the following
  • white list of languages which are known to pull in one of
  • our supported IME backends when chosen during installation
  • of common distributions. */

var langIds = ["as", // Assamese "bn", // Bengali "bo", // Tibetan "brx", // Bodo "doi", // Dogri "gu", // Gujarati "hi", // Hindi "ja", // Japanese "kn", // Kannada "ko", // Korean "kok", // Konkani "ks", // Kashmiri "lep", // Lepcha "mai", // Maithili "ml", // Malayalam "mni", // Manipuri "mr", // Marathi "ne", // Nepali "or", // Odia "pa", // Punjabi "sa", // Sanskrit "sat", // Santali "sd", // Sindhi "si", // Sinhala "ta", // Tamil "te", // Telugu "th", // Thai "ur", // Urdu "vi", // Vietnamese "zh_CN", // Simplified Chinese "zh_TW"] // Traditional Chinese

if (langIds.indexOf(languageId) != -1) { panel.addWidget("org.kde.plasma.kimpanel"); }

panel.addWidget("org.kde.plasma.systemtray") panel.addWidget("org.kde.plasma.digitalclock")



$ git config credential.helper store
$ git push http://example.com/repo.git
Username:
Password:



COMMON

Terminal

  • RGB(0, 43, 54): Turkuaz
  • RGB(0, 43, 0): Green
  • RGB(26, 26, 26): Grey

development-env's People

Contributors

aytekinyaliz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.