Markdown is a lightweight markup language for creating formatted text using
a plain-text editor. John Gruber and Aaron Swartz created Markdown in 2004
as a markup language that is appealing to the human users in its source form.
This file contains hidden or 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
| // Download file from URL (redirect allowed). | |
| function download(url, filename) { | |
| return new Promise((fres, frej) => { | |
| var req = http.get(url, (res) => { | |
| var code = res.statusCode; | |
| if (code>=300 && code<400) return download(res.headers.location, filename).then(fres); | |
| if (code>=400) return frej(res.statusCode); | |
| filename = filename || path.basename(url); | |
| var file = fs.createWriteStream(filename); | |
| res.pipe(file).on('close', () => fres(filename)); |
This file contains hidden or 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 toSnakeCase(x) { | |
| if(x.search(/[a-z]/)<0) return x.replace(/[^A-Za-z0-9]/, '-').toLowerCase(); | |
| return x.replace(/[^A-Za-z0-9]|[^A-Za-z0-9]?([A-Z])/g, '-$1').toLowerCase(); | |
| } |
This file contains hidden or 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 tempy = require('tempy'); | |
| const cp = require('child_process'); | |
| const path = require('path'); | |
| const fs = require('fs'); | |
| const os = require('os'); | |
| // Global variables. | |
| const ORG = 'nodef'; | |
| const PACKAGE = 'extra-integer'; | |
| const STANDALONE = 'integer'; |
This file contains hidden or 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
| // # browserify | |
| // # uglify | |
| // 1. process .js -> single .js | |
| // 2. process .js + package.json -> package.json | |
| // 3. process .js + README.md -> README.md | |
| // 4. create package and publish | |
| const findNpmPrefix = require('find-npm-prefix'); | |
| const recast = require('recast'); | |
| const path = require('path'); | |
| const fs = require('fs'); |
This file contains hidden or 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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>GistRun</title> | |
| <link rel="stylesheet" href="styles.css"> | |
| </head> | |
| <body> | |
| <h1>Hello world!</h1> | |
| <script src="script.js"></script> |
This file contains hidden or 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
| https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1865130 |
This file contains hidden or 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 bash | |
| lspci | grep -i nvidia | |
| # References | |
| # - CUDA toolkit installation guide for Linux | |
| # https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html |
This file contains hidden or 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
| #pragma once | |
| #include <array> | |
| #include <vector> | |
| using std::array; | |
| using std::vector; | |
While doing research work with [Prof. Kishore Kothapalli], and [Prof. Dip Sankar Banerjee].
Abstract — The effect of adjusting damping factor α, from a small initial value α0 to the final desired αf value, upon then iterations needed for PageRank computation is observed. Adjustment of the damping factor is done in one or more steps. Results show no improvement in performance over a fixed damping factor based PageRank. (🎞️ [slides])
Index terms — PageRank algorithm, Step-wise adjustment, Damping factor.