Skip to content

Instantly share code, notes, and snippets.

View ashwnacharya's full-sized avatar
🎯
Focusing

ashwin ashwnacharya

🎯
Focusing
View GitHub Profile
@ashwnacharya
ashwnacharya / python_defconfig
Created July 24, 2019 10:20
minimal python3 docker image using buildroot
BR2_x86_64=y
BR2_SHARED_STATIC_LIBS=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_BINUTILS_VERSION_2_31_X=y
BR2_GCC_VERSION_8_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_BASH=y
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_BUSYBOX_SELINUX=y
@ashwnacharya
ashwnacharya / nodejs_defconfig
Created July 24, 2019 10:18
minimal nodejs docker image using buildroot
BR2_x86_64=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_GCC_VERSION_8_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_INIT_NONE=y
BR2_PACKAGE_NODEJS=y
BR2_PACKAGE_NODEJS_NPM=y
@ashwnacharya
ashwnacharya / profiles.json
Created July 18, 2019 13:49
Windows Terminal profiles.json
{
"globals" :
{
"alwaysShowTabs" : true,
"defaultProfile" : "{2c4de342-38b7-51cf-b940-2309a097f518}",
"initialCols" : 120,
"initialRows" : 30,
"keybindings" :
[
{
import re
regex = re.compile('<DT><A HREF=\"(?P<urls>.+)" ADD_DATE=\".+" ICON=\".+\">(?P<names>.+)<\/A>')
results = regex.findall(contents)
for result in results:
print "{}, {}".format(result[1],result[0])
@ashwnacharya
ashwnacharya / d3 indicators
Created July 18, 2013 17:12
d3 indicators
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>d3.js gauges</title>
<style>
body
{