This file contains 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
tell application "System Events" | |
set MyList to (name of every process) | |
end tell | |
tell application "System Events" to set appList to ¬ | |
name of application processes whose frontmost is true | |
set activeApp to item 1 of appList | |
if (MyList contains "Spotify") is true then | |
tell application "Spotify" to activate |
This file contains 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
jsan> install Joose | |
/dist/s/sa/samuraijack/Joose-3.013.tar.gz -> /var/folders/Qt/Qt6vQ-L-EC0NC4oLVdst2E+++TI/-Tmp-/lt4g5S8gqM/Joose-3.013.tar.gz | |
Unpacking Joose-3.013.tar.gz | |
jsan> install Joose | |
gzip: stdin: not in gzip format | |
tar: Child returned status 1 | |
tar: Error exit delayed from previous errors | |
Installing libraries to /Users/adam/.jsan | |
cp: lib/*: No such file or directory |
This file contains 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 IRC = require('./IRC-js/lib/irc'); | |
var spawn = require('child_process').spawn; | |
var fs = require('fs'); | |
var http = require('http'); | |
var musicDest = "/Users/adam/musi/downloaded/"; | |
var ircServer = "irc.vassius.se"; | |
//ircServer = "irc.freenode.net"; | |
//ircServer = "se.quakenet.org"; | |
var nick = "mediabot"; |
This file contains 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 IRC = require('./IRC-js/lib/irc'); | |
var joose = require("Joose"); | |
---- | |
node.js:63 | |
throw e; | |
^ | |
TypeError: Object function (obj) { | |
var key, keys, i, length |
This file contains 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
; <<>> DiG 9.6.0-APPLE-P2 <<>> @ns.ks.liu.se johndoe.hg.se | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63444 | |
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1 | |
;; WARNING: recursion requested but not available | |
;; QUESTION SECTION: |
This file contains 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
; <<>> DiG 9.6.0-APPLE-P2 <<>> hg.se | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 419 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 | |
;; QUESTION SECTION: | |
;hg.se. IN A |
This file contains 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
test |
This file contains 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
[GOT] NOTICE AUTH :*** Processing connection to irc2.vassius.se | |
[SENT] NICK triviabot | |
[SENT] USER js-irc 0 * :Javascript Bot | |
[SENT] JOIN #c-test | |
[GOT] NOTICE AUTH :*** Looking up your hostname... | |
[GOT] NOTICE AUTH :*** Checking Ident | |
[GOT] NOTICE AUTH :*** Found your hostname |
This file contains 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
[GOT] NOTICE AUTH :*** Processing connection to irc2.vassius.se | |
[SENT] NICK triviabot | |
[SENT] USER js-irc 0 * :Javascript Bot | |
[GOT] NOTICE AUTH :*** Looking up your hostname... | |
[GOT] NOTICE AUTH :*** Checking Ident | |
[GOT] NOTICE AUTH :*** Found your hostname | |
[GOT] NOTICE AUTH :*** No Ident response | |
[GOT] :irc2.vassius.se 433 * triviabot :Nickname is already in use. |
This file contains 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
[GOT] NOTICE AUTH :*** Processing connection to irc2.vassius.se | |
[SENT] NICK triviabot | |
[SENT] USER js-irc 0 * :Javascript Bot | |
[GOT] NOTICE AUTH :*** Looking up your hostname... | |
[GOT] NOTICE AUTH :*** Checking Ident | |
[GOT] NOTICE AUTH :*** Found your hostname | |
[GOT] NOTICE AUTH :*** No Ident response | |
[GOT] :irc2.vassius.se 433 * triviabot :Nickname is already in use. |
OlderNewer