Skip to content

Instantly share code, notes, and snippets.

View binyamin's full-sized avatar
🎓
(I'm a) Work In Progress

Binyamin Aron Green binyamin

🎓
(I'm a) Work In Progress
View GitHub Profile
@5t3ph
5t3ph / eleventy-rss-reader-feature-list.md
Created June 1, 2021 18:50
Jamstack RSS Reader with Eleventy - Feature List

Project Requirements

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
@devonzuegel
devonzuegel / twitter.css
Last active December 31, 2020 00:56
Custom CSS for Twitter
/* 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");
@sid24rane
sid24rane / base64-encode-decode.js
Created July 26, 2016 14:26
Node.js Base64 Encode Decode -> Image
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);
@carols10cents
carols10cents / javascript-to-rust-cheat-sheet.md
Last active October 28, 2023 07:57
JavaScript to Rust Cheat Sheet

JavaScript to Rust Cheat Sheet

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?

Variables

JavaScript:

@koohz
koohz / PyGObject.TreeView-Multi-Column-Filtering.py
Last active February 10, 2021 14:01
A PyGtk example for filtering multiple columns in a TreeView
#!/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
@kethinov
kethinov / walksync.js
Created September 22, 2013 09:04
List all files in a directory in Node.js recursively in a synchronous fashion
// 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 {
@bivas
bivas / JavaCodingStandards.txt
Created May 31, 2011 12:37
Java Coding Standards
= 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 =