Skip to content

Instantly share code, notes, and snippets.

View nmai's full-sized avatar

Nick nmai

  • San Francisco Bay Area
View GitHub Profile
@noelbundick
noelbundick / LICENSE
Last active April 11, 2024 16:12
Exclude WSL installations from Windows Defender realtime protection
MIT License
Copyright (c) 2018 Noel Bundick
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
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@bhuizi
bhuizi / axios_get_pipe_zip.js
Last active October 27, 2021 14:09
axios get request w/ piping
const axios = require('axios');
const fs = require('fs');
const url = <path_to_file>
axios({
method: 'get',
url: url,
responseType:'stream'
})
.then(res => {
res.data.pipe(fs.createWriteStream('new.zip'));

Windows Resource Kit Tools


Advanced tool-set to streamline administrative tasks for Microsoft® Windows®.

Overview

Description

The Microsoft® Windows® Resource Kit Tools (RK-Tools) are a set of tools to help System-Administrators, Developers, and Powerusers streamline a wide range of common, administrative tasks for the Microsoft® Windows® Operating System (OS).

@wohali
wohali / simple-view-no-null.erl
Created February 24, 2014 06:39
Simple Erlang views for CouchDB
%% this is an exact match for the original JS function
fun({Doc}) ->
case proplists:is_defined(<<"diet">>, Doc) of
true ->
Emit(proplists:get_value(<<"diet">>, Doc), 1);
false ->
ok
end
end.