Setup the Android SDK on Linux/Mac.
https://spring.io/guides/gs/android/#android-dev-env
http://xmodulo.com/how-to-install-apache-ant-on-centos.html
wget https://download.01.org/crosswalk/releases/crosswalk/android/stable/11.40.277.7/arm/crosswalk-cordova-11.40.277.7-arm.zip
unzip crosswalk-cordova-11.40.277.7-arm.zip
https://meteor.hackpad.com/Building-Meteor-app-with-Crosswalk-kHKh4DzGxFQ
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
| public IWebElement GetIfExists(By element, double timeout = 30000, int delay = 1500) | |
| { | |
| DateTime startDateTime = DateTime.Now; | |
| while ((DateTime.Now - startDateTime).TotalMilliseconds < timeout) | |
| { | |
| try | |
| { | |
| WebDriverWait wait = new WebDriverWait(_driver, TimeSpan.FromMilliseconds(timeout)); |
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
| return Jit.Core.Firm.find({ $or: [ | |
| {'ownerId' : this.userId}, | |
| { 'members': { $elemMatch: { | |
| id: this.userId | |
| } } } | |
| ]}); |
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
| using System; | |
| using System.Diagnostics; | |
| using System.Threading; | |
| using System.Windows.Automation; | |
| using Winium.Cruciatus.Core; | |
| using Winium.Cruciatus.Elements; | |
| using Winium.Cruciatus.Extensions; | |
| using Winium.Cruciatus.Exceptions; | |
| using System.Drawing; | |
| using System.Linq; |
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
| void setup() { | |
| // put your setup code here, to run once:</code> | |
| } | |
| void loop() { | |
| // put your main code here, to run repeatedly: | |
| } |
- Right click on the dock and find a way to get to the package
- Edit the plist
- Save this as a new running file.
#!/usr/bin/env bash
cd cd /Applications/Google\ Chrome.app/Contents/MacOS/
./Google\ Chrome --disable-gpu-vsync --blacklist-accelerated-compositing --blacklist-webgl --disable-accelerated-2d-canvas --disable-accelerated-compositing --disable-accelerated-layers --disable-gpu-sandbox --disable-accelerated-video
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
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX] | |
| "InstalledVersion"=hex:00,00,00,09,00,00,00,00 | |
| "Version"="4.09.00.0904" |
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
| /* CSS declarations go here */ | |
| body { | |
| font-family: sans-serif; | |
| background-color: #315481; | |
| background-image: linear-gradient(to bottom, #315481, #918e82 100%); | |
| background-attachment: fixed; | |
| position: absolute; | |
| top: 0; | |
| bottom: 0; |
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
| gcc -O2 -std=c99 -msse -lrt -lm test.c -otest | |
| sudo apt-get install linux-headers-$(uname -r) build-essential | |