Join my stream on Twitch to help build this app! Feel free to add comments about additional features we should explore.
- Structure of the RSS item
- Name of the source
- Article title
- Date
- Excerpt
- Full article
Join my stream on Twitch to help build this app! Feel free to add comments about additional features we should explore.
Some developers you should support:
/* This has moved to: | |
* https://github.com/devonzuegel/digital-nesting/blob/master/twitter.css | |
*/ |
const path = require("path"); | |
/** | |
* webpack & plugins | |
*/ | |
const webpack = require("webpack"); | |
const HtmlWebpackPlugin = require("html-webpack-plugin"); | |
const ScriptExtHtmlWebpackPlugin = require("script-ext-html-webpack-plugin"); | |
const StyleExtHtmlWebpackPlugin = require("style-ext-html-webpack-plugin"); | |
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
const CopyWebpackPlugin = require("copy-webpack-plugin"); |
var buffer = require('buffer'); | |
var path = require('path'); | |
var fs = require('fs'); | |
function encode_base64(filename){ | |
fs.readFile(path.join(__dirname,'/public/',filename),function(error,data){ | |
if(error){ | |
throw error; | |
}else{ | |
var buf = Buffer.from(data); |
The goal of this is to have an easily-scannable reference for the most common syntax idioms in JavaScript and Rust so that programmers most comfortable with JavaScript can quickly get through the syntax differences and feel like they could read and write basic Rust programs.
What do you think? Does this meet its goal? If not, why not?
JavaScript:
#!/usr/bin/python | |
from gi.repository import Gtk | |
import random | |
DUMMY_WORDS = '''Omnisciently sepulture innervating reducate louden fleming | |
psoatic opinionatedly upington unmistrusted psychognosis | |
jackfish tutankhamen piled Hyperpotassemia schopenhauerism | |
venomness grendel bleakly unbungling dolius proempiricist | |
ableptically siniju woolley giulietta semisentimentalized | |
tolerably Moultrie prelawful prague mangler gainfulness |
// List all files in a directory in Node.js recursively in a synchronous fashion | |
var walkSync = function(dir, filelist) { | |
var fs = fs || require('fs'), | |
files = fs.readdirSync(dir); | |
filelist = filelist || []; | |
files.forEach(function(file) { | |
if (fs.statSync(dir + file).isDirectory()) { | |
filelist = walkSync(dir + file + '/', filelist); | |
} | |
else { |
= Motivation = | |
Code conventions are important to programmers for a number of reasons | |
- 80% of the lifetime cost of a piece of software goes to maintenance. | |
- Hardly any software is maintained for its whole life by the original author. | |
- Code conventions improve the software readability, allowing programmers to understand new code more quickly and thoroughly. | |
= Coding Standards = |