- Create a folder at the root of your user home folder
(Example:
C:/Users/uname/) called.ssh. - Create the following files if they do not already exist (paths begin from the root of your user home folder):
.ssh/config
| // go on you labels pages | |
| // eg https://github.com/cssnext/cssnext/labels | |
| // paste this script in your console | |
| // copy the output and now you can import it using https://github.com/popomore/github-labels ! | |
| var labels = []; | |
| [].slice.call(document.querySelectorAll(".label-link")) | |
| .forEach(function(element) { | |
| labels.push({ | |
| name: element.textContent.trim(), |
| -- Installs "file_fdw" extension and creates foreign table to work with data from CSV file. | |
| -- See also the comment below which helps to automate the process for Google Spreadsheets | |
| -- Another option would be using Multicorn for Google Spreadsheets, but it requires additional steps | |
| -- (see https://wiki.postgresql.org/wiki/Foreign_data_wrappers). | |
| create extension file_fdw; | |
| create server "import" foreign data wrapper file_fdw; | |
| create foreign table "table1" ( | |
| col1 text, |
A metatable in Lua defines various extraneous behaviors for a table when indexed, modified, interacted with, etc. They are Lua's core metaprogramming feature; most well known for being useful to emulate classes much like an OOP language.
Any table (and userdata) may be assigned a metatable. You can define a metatable for a table as such:
-- Our sample table
local tab = {}
-- Our metatable
local metatable = {
-- This table is then what holds the metamethods or metafields| /* | |
| * Creator: Naman Dixit | |
| * Notice: © Copyright 2024 Naman Dixit | |
| * License: BSD Zero Clause License | |
| * SPDX: 0BSD (https://spdx.org/licenses/0BSD.html) | |
| * Language: -*- objective-c -*- | |
| */ | |
| /* | |
| * This is a minimal Objective-C runtime designed for easy embeddability and DLL-based hot-reloading. |