This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# <type>: <subject> | |
# Using a Maximum Of 50 Characters ------------->| | |
# Try To Limit Each Line to a Maximum Of 72 Characters --------------->| | |
# Explain how the commit addresses the issue | |
# ^-- NOTE: The line above is emptied by intended | |
# Enter commit message below | |
# --- COMMIT END --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function iterateIPRange(start, end) { | |
const prefix = start.split('.')[0] | |
console.assert(prefix === end.split('.')[0]) | |
const from = start.split('.')[1] | |
const to = end.split('.')[1] | |
const results = [] | |
for (let i = from; i <= to; ++i) { | |
results.push([prefix, i].join('.')) | |
} | |
return results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Custom page change event | |
// @namespace http://xvezda.com/ | |
// @version 0.1 | |
// @description fire event on page changed. | |
// @author Xvezda | |
// @match http://*/* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
".123" : "application/vnd.lotus-1-2-3", | |
".3dml" : "text/vnd.in3d.3dml", | |
".3g2" : "video/3gpp2", | |
".3gp" : "video/3gpp", | |
".a" : "application/octet-stream", | |
".aab" : "application/x-authorware-bin", | |
".aac" : "audio/x-aac", | |
".aam" : "application/x-authorware-map", | |
".aas" : "application/x-authorware-seg", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by fist; The fast gist uploader - https://github.com/Xvezda/fist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by fist; The fast gist uploader - https://github.com/Xvezda/fist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sed -e 's/[[:space:]][[:space:]]\([^[:space:]]\)/ \| \1/g' -e 's/^/\| /' -e 's/$/ \|/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by fist; The fast gist uploader - https://github.com/Xvezda/fist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/*! | |
* Copyright (c) 2020 Xvezda <xvezda@naver.com> | |
* | |
* Use of this source code is governed by an MIT-style | |
* license that can be found in the LICENSE file or at | |
* https://opensource.org/licenses/MIT. | |
*/ | |
function ordinal(i) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { src, dest } = require('gulp'); | |
exports.default = function(cb) { | |
src('src/*').on('data', function(chunk) { | |
console.log(chunk); | |
}); | |
cb(); | |
}; | |
NewerOlder