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 Module = require('module'); | |
| var vm = require('vm'); | |
| var path = require('path'); | |
| var filename = process.cwd() + '/lib/eval.js'; | |
| var mod = new Module(filename); | |
| var context = { | |
| module: mod, | |
| __filename: filename, |
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 my_element = document.getElementById('my-element'); | |
| //-- Returns true/false | |
| my_element.isVisible(my_element); |
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
| # in ~/.config/fish/config.fish | |
| # Load the default rubies | |
| if test -z $rvm_bin_path | |
| exec bash --login -c "exec fish" | |
| end |
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
| # brew install "https://gist.githubusercontent.com/daiweilu/c62631ac4de8d37e05f2/raw/74353db12db030468edaa4c30e8a124a0c414dc7/flex_sdk.rb" | |
| require 'formula' | |
| class FlexSdk < Formula | |
| homepage "http://www.adobe.com/devnet/flex.html" | |
| url "http://download.macromedia.com/pub/flex/sdk/flex_sdk_4.6.zip" | |
| sha1 "7e66e84bef09e8c2c3183acf548c41d8114516ca" | |
| def install |
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
| <!DOCTYPE html> | |
| <head> | |
| <title>Stay Standalone</title> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |
| <script src="stay_standalone.js" type="text/javascript"></script> | |
| </head> | |
| <body> | |
| <ul> | |
| <li><a href="http://google.com/">Remote Link (Google)</a></li> |