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
#r "System.Web.Extensions" | |
let json = """ | |
{ "FirstName":"Foo", | |
"LastName":"Bar", | |
"Hobbies": | |
[ | |
{"Sport":"FootBall","Music":"Rock"} | |
]} """ |
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
#if INTERACTIVE | |
#r "System.Xml" | |
#r "System.Xml.Linq" | |
#endif | |
open System | |
open System.IO | |
open System.Xml.Linq | |
open System.Text.RegularExpressions |
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
set proc_ to "/System/Library/Input\\ Methods/KeyboardViewer.app/Contents/MacOS/KeyboardViewer" | |
set app_ to "KeyboardViewer" | |
try | |
do shell script "ps -axwww | grep" & space & proc_ & space & "| grep -v grep" | |
tell application app_ to quit | |
on error | |
do shell script proc_ & space & "> /dev/null 2>&1 &" | |
end try |
NewerOlder