Skip to content

Instantly share code, notes, and snippets.

View koca's full-sized avatar

Mesut Koca koca

View GitHub Profile
@koca
koca / readme.md
Last active March 20, 2022 18:56
repo:vue-prism-editor repro:newline

Weird line numbers issue

if i copy the text below and paste it to editor, it works because the text ** contains** the new line char \n at the end of the string

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nThis is a second line of text.
hello world gist
{"lastUpload":"2020-04-20T22:43:26.336Z","extensionVersion":"v3.4.3"}
@koca
koca / WSL
Created January 14, 2019 12:43
# WSL Ubuntu Terminal
## WSL
Before installing any Linux distros for WSL, you must ensure that the "Windows Subsystem for Linux" optional feature is enabled:
1. Open PowerShell as Administrator and run:
```sh
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
@koca
koca / selenium_ubuntu.sh
Last active December 14, 2016 16:45
Selenium on ubuntu
#!/bin/bash
# Following the guide found at this page
# http://programmingarehard.com/2014/03/17/behat-and-selenium-in-vagrant.html
echo "\r\nUpdating system ...\r\n"
sudo apt-get update
# Create folder to place selenium in