Skip to content

Instantly share code, notes, and snippets.

View danopia's full-sized avatar

Daniel Lamando danopia

View GitHub Profile
function playUrl(url) {
var req = require('http').get(url, function(res) {
res.pipe(new lame.Decoder).pipe(new Speaker);
});
}
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<link rel="import" href="../paper-radio-group/paper-radio-group.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
<polymer-element name="my-element">
@danopia
danopia / README.md
Last active August 29, 2015 14:13
Bower components / asset server for Meteor that avoids the intense hot push delays

This route mitigates meteor #3373.

If you aren't experiencing that issue, you don't need this coffee.

To use

$ meteor add patte:mime-npm # and iron:router if you don't use it yet

Also, move your bower folder to .bower_components, right in the root/top of your project (or change the path). Then copy in the assets.coffee file below.

<?php
function beep($freq, $length)
{
echo "\r \r" . str_repeat(' ', intval($freq / 50)) . "|\r";
system("beep -f $freq -l $length");
}
/*for($i = 2000; $i < 2500; $i += 5)
{
69 parser.command(e, 'join') do |c, params|
70 if started
71 irc.msg(e.recipient, "#{who}: We are already playing!")
72 elsif players.index who != nil
73 irc.msg(e.recipient, "#{who} is already in the game.")
74 else
75 irc.msg(e.recipient, "#{who} has joined the game.") if players.size > 0
76 irc.msg(e.recipient, "#{who} has started a new game. Use !join to join it and #{who} may use !start to begin it at any time.") if players.size == 0
77 add_player who
80 end
#!/usr/local/bin/perl
$fullsource = '';
open (MYFILE, 'danosource.txt');
while (<MYFILE>)
{
chomp;
$fullsource .= "$_\n";
}
close (MYFILE);
# $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $
# sample ntpd configuration file, see ntpd.conf(5)
# Addresses to listen on (ntpd does not listen by default)
listen on *
#listen on 127.0.0.1
#listen on ::1
# sync to a single server
#server ntp.example.org
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==========================================-====================================================-================================================================
ii a2ps 1:4.14-1 GNU a2ps - 'Anything to PostScript' converter and pretty-printer
ii aa3d 1.0-6 ASCII art stereogram generator
ii abiword 2.4.6-3ubuntu3 WYSIWYG word processor based on GTK2
ii abiword-common 2.4.6-3ubuntu3 WYSIWYG word pr
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Thu Jun 5 09:26:53 UTC 2008
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Feb 14 18:20:37 PST 2008
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
2PROT___.TTF
3PROT___.TTF
Achafexp.ttf
Achafita.ttf
Achaflft.ttf
Achafont.ttf
Achafout.ttf
Achafsex.ttf
acmesab.TTF
acmesai.TTF