Skip to content

Instantly share code, notes, and snippets.

View Syakhisk's full-sized avatar
💻
most likely on my laptop at the moment

Syakhisk Al-Azmi Syakhisk

💻
most likely on my laptop at the moment
View GitHub Profile

via (https://www.linux.com/learn/tutorials/442438-vim-tips-folding-fun)

  • zf#j creates a fold from the cursor down # lines.
  • zf/string creates a fold from the cursor to string .
  • zj moves the cursor to the next fold.
  • zk moves the cursor to the previous fold.
  • zo opens a fold at the cursor.
  • zO opens all folds at the cursor.
  • zm increases the foldlevel by one.
  • zM closes all open folds.
@Syakhisk
Syakhisk / mock-axios.js
Created June 12, 2023 07:57 — forked from cowboy/mock-axios.js
axios mocking via interceptors
import axios from 'axios'
let mockingEnabled = false
const mocks = {}
export function addMock(url, data) {
mocks[url] = data
}
@Syakhisk
Syakhisk / Pipfile
Created October 7, 2021 20:35 — forked from dazfuller/Pipfile
Multi-process loading of data into MySQL from Python
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
mysql-connector-python = "*"