Skip to content

Instantly share code, notes, and snippets.

View pvzhelnov's full-sized avatar
📣
Translating knowledge

Pavel Zhelnov pvzhelnov

📣
Translating knowledge
View GitHub Profile
@pvzhelnov
pvzhelnov / empty-wp-plugin.php
Created September 8, 2019 17:19 — forked from sareiodata/empty-wp-plugin.php
Empty WordPress plugin
<?php
/**
* Plugin Name: Name Of The Plugin
* Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
* Description: A brief description of the Plugin.
* Version: The Plugin's Version Number, e.g.: 1.0
* Author: Name Of The Plugin Author
* Author URI: http://URI_Of_The_Plugin_Author
* License: A "Slug" license name e.g. GPL2
*/
@pvzhelnov
pvzhelnov / export-vscode-search-to-csv.js
Created May 25, 2024 19:30 — forked from jakebellacera/export-vscode-search-to-csv.js
Export VSCode search results to CSV
// How to use:
// 1. In VS Code, perform a search.
// 2. Click "Open in editor" to open the search results in a `.code-search` file
// 3. Save the file
// 4. In terminal, run `node export-vscode-search-to-csv.js path/to/results.code-search path/to/exported.csv`
const fs = require("fs");
const path = require("path");
const readline = require("readline");