This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Speaker | |
| constructor: () -> | |
| @id10t = true; | |
| IstheSpeakerAnIdiot: () => | |
| return @id10t; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Speaker, | |
| __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; | |
| Speaker = (function() { | |
| function Speaker() { | |
| this.IstheSpeakerAnIdiot = __bind(this.IstheSpeakerAnIdiot, this); | |
| this.id10t = true; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Speaker, | |
| __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; | |
| Speaker = (function() { | |
| function Speaker() { | |
| this.IstheSpeakerAnIdiot = __bind(this.IstheSpeakerAnIdiot, this); | |
| this.id10t = true; | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| broknbottle commented on Dec 14, 2013 | |
| I resolved this issue similar to @jazz1138 | |
| I did a little research and it appears the issue is a known/documented bug in pulseaudio | |
| ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html#_issues_in_pulseaudio | |
| Enable Desktop via Big Picture Settings and then Exit > Return to Desktop. Then bring up a terminal and set your password if you haven't already, | |
| passwd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ECT, app, ectRenderer, express, rc, reacta; | |
| express = require('express'); | |
| reacta = require("reacta"); | |
| app = express(); | |
| ECT = require('ect'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Promise = require "native-or-bluebird" | |
| checkDatabase = (db) -> | |
| return new Promise (resolve, reject) -> | |
| return db.exists (err, exists) -> | |
| if err? | |
| return reject(err); | |
| if exists | |
| return resolve(db) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Promise = require "native-or-bluebird" | |
| checkDatabase = (db) -> | |
| return new Promise (resolve, reject) -> | |
| return db.exists (err, exists) -> | |
| if err? | |
| return reject(err); | |
| if exists | |
| return resolve(db) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| save = () -> | |
| return new Promise (resolve, reject) -> | |
| # do save shit | |
| return resolve() | |
| promises = [] | |
| for i in array | |
| promises.push save(i) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WITH x AS ( | |
| SELECT count(*) AS ct | |
| ,sum(length(t::text)) AS txt_len -- length in characters | |
| ,'TABLENAME'::regclass AS tbl | |
| FROM TABLENAME t | |
| ) | |
| , y AS ( | |
| SELECT ARRAY [ | |
| pg_relation_size(tbl) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| char *at = strchr(ifName, '@'); | |
| char *topic = (char*)"flow", *endpoint; | |
| if(at != NULL) | |
| endpoint = &at[1]; | |
| else | |
| endpoint = ifName; | |
| iface = new CollectorInterface(endpoint, topic); |