Skip to content

Instantly share code, notes, and snippets.

View pelevesque's full-sized avatar
💭
looking for work

Pierre-Emmanuel Lévesque pelevesque

💭
looking for work
View GitHub Profile
@pelevesque
pelevesque / unix-philosphy.md
Created May 8, 2019 01:48
Resume of The Unix Philosophy | 1995 | Mike Gancarz

The Unix Philosophy | 1995 | Mike Gancarz

hard tenets

  • small is beautiful
  • make each program do one thing well
  • build a prototype as soon as possible
  • choose portability over efficiency
  • store numerical data in ASCii files
  • use software leverage to your advantage
@pelevesque
pelevesque / node-module-publishing.md
Last active April 6, 2024 16:34
How to create and publish a node.js module.
@pelevesque
pelevesque / rmlines.lua
Last active April 19, 2017 18:28
A Lua script that removes lines from a file.
#!/usr/bin/lua
--[[
Removes lines from a file
@param string filepath
@param num startline (line number where deletion starts)
@param num numlines (number of lines to delete)
ex: $ rmlines ~/myfile 45 7