Skip to content

Instantly share code, notes, and snippets.

View EMPAT94's full-sized avatar

Pritesh Tupe EMPAT94

View GitHub Profile
@stormwild
stormwild / sqlite3.md
Last active August 23, 2022 15:17
SQLite 3 on WSL
@mengwangk
mengwangk / cmp.lua
Last active May 10, 2022 07:15
nvim-cmp Configuration
local cmp = require('cmp')
local t = function(str)
return vim.api.nvim_replace_termcodes(str, true, true, true)
end
local check_back_space = function()
local col = vim.fn.col(".") - 1
return col == 0 or vim.fn.getline("."):sub(col, col):match("%s") ~= nil
end
@GandaG
GandaG / rss_royalroad
Created September 16, 2018 12:58
A small script that takes a royalroad.com RSS feed and outputs one with the full contents of each chapter.
#!/usr/bin/python3
# MIT License
# Copyright (c) 2018 Daniel Nunes
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

Comparison of configuration file languages

We need to PEPify a static format for writing down bootstrap information in Python source trees. The initial target is a list of PEP 508 package requirement strings. It's possible that in the future we might want to add more features like a build system backend specification (as in PEPs 516, 517), or an extension namespace feature to allow third-party developer tools (flit, pytest, coverage, flake8, etc.) to consolidate their configuration in this file in a systematic

@jnwhiteh
jnwhiteh / install-ljitrocks.sh
Created August 4, 2011 14:49
Install luajit+luarocks in sandboxed environment
#!/usr/bin/env bash
set -e
die() {
echo "$1";
exit 1;
}
# Fetch and install LuaJIT/LuaRocks into the local directory