Skip to content

Instantly share code, notes, and snippets.

@vyp
vyp / why-we-need-free-digital-hardware-designs.md
Last active August 29, 2015 14:16
Why We Need Free Digital Hardware Designs

title: 'Why We Need Free Digital Hardware Designs'

author: 'Dr. Richard Stallman'

date: 'March 11, 2015'

tags: ['3Dprinting', 'freesoftwarefoundation', 'gnu', 'Hardware', 'Linux', 'opinion', 'richardstallman', 'software']

@vyp
vyp / malware-is-not-only-about-viruses.md
Created May 23, 2015 09:46
Malware Is Not Only About Viruses - Companies Preinstall It All The Time

% Malware Is Not Only About Viruses - Companies Preinstall It All The Time % Richard Stallman % May 22, 2015

Since I started free software in the 80s, developers have grown to routinely mistreat users by shackling behaviour and snooping - but we have ways to resist.

!['Amazon's Kindle shackles the user against sharing or even freely giving away or lending the book, and has an Orwellian back door for erasing books.'

@vyp
vyp / sortdb.js
Created June 7, 2015 12:09
used for nylira/prism-break #1331
var fs = require('fs')
var path = require('path');
var _ = require('lodash');
var glob = require('glob');
var globOptions = {
'cwd' : './source/db/',
'mark' : true
};

Hey, my boss said to talk to you – I hear you know a lot about web apps?

Yeah, I’m more of a distributed systems guy now. I’m just back from ContainerCamp and Gluecon and I’m going to Dockercon next week. Really excited about the way the industry is moving – making everything simpler and more reliable. It’s the future!

Cool. I’m just building a simple web app at the moment – a normal CRUD app using Rails, going to deploy to Heroku. Is that still the way to go?

@vyp
vyp / thej.js
Last active September 28, 2017 08:58
if (top == window) {
var fnNameSpace = "fntoolbar";
if (typeof window[fnNameSpace] == "undefined") {
window[fnNameSpace] = {}
}
window[fnNameSpace].Manager = function() {
var TOOLBAR_IFRAME_ID = "fn_layer8";
var RELOCATE_TOOLBAR_ON_LOAD_INTERVAL = 1000;
var ATTEMP_TO_RELOCATE_TOOLBAR_AFTER_LOAD_TIMEOUT = 5000;
var SCREEN_OVERLAY_ID = "fnscreenOverlay";
@vyp
vyp / guix.scm
Last active January 20, 2017 08:40
polybar
(use-modules (guix packages)
(guix build-system cmake)
(guix download)
(guix gexp)
(guix licenses)
(gnu packages xorg)
(gnu packages python)
(gnu packages xdisorg)
(gnu packages linux)
(gnu packages serialization)
@vyp
vyp / ekko.scm
Last active November 13, 2017 08:29
Example of how to run GNU Guile scripts using nix-shell. 🙂
#! /usr/bin/env nix-shell
#! nix-shell -i 'guile -e main' -p guile
!#
;; The following code is from:
;; https://www.gnu.org/software/guile/manual/html_node/The-Meta-Switch.html
(define (main args)
(map (lambda (arg) (display arg) (display " "))
(cdr args))