sudo yum -y install epel-release
sudo yum -y update
Download repository
| image: openjdk:8-jdk | |
| variables: | |
| ANDROID_COMPILE_SDK: "28" | |
| ANDROID_BUILD_TOOLS: "28.0.3" | |
| SDK_TOOLS: "4333796" # from https://developer.android.com/studio/#command-tools | |
| EMULATOR_VERSION: "24" | |
| before_script: | |
| - wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${SDK_TOOLS}.zip |
| import 'dart:math' as math; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(TestApp()); | |
| class TestApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| debugShowCheckedModeBanner: false, |
| image: ubuntu:22.04 | |
| variables: | |
| ANDROID_COMPILE_SDK: "33" | |
| ANDROID_BUILD_TOOLS: "33.0.2" | |
| EMULATOR_IMAGE: "24" | |
| SDK_TOOLS: "9477386" # from https://developer.android.com/studio/#command-tools | |
| before_script: |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH=/Users/cem/.oh-my-zsh | |
| # Set name of the theme to load. Optionally, if you set this to "random" | |
| # it'll load a random theme each time that oh-my-zsh is loaded. | |
| # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
| #ZSH_THEME="robbyrussell" |
| export ZSH=$HOME/.oh-my-zsh | |
| export DEFAULT_USER='athityakumar' | |
| TERM=xterm-256color | |
| ZSH_THEME="powerlevel9k/powerlevel9k" | |
| POWERLEVEL9K_MODE='awesome-fontconfig' | |
| POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
| POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | |
| POWERLEVEL9K_RPROMPT_ON_NEWLINE=true | |
| POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 |
| #!/bin/bash | |
| # download and install latest geckodriver for linux or mac. | |
| # required for selenium to drive a firefox browser. | |
| install_dir="/usr/local/bin" | |
| json=$(curl -s https://api.github.com/repos/mozilla/geckodriver/releases/latest) | |
| if [[ $(uname) == "Darwin" ]]; then | |
| url=$(echo "$json" | jq -r '.assets[].browser_download_url | select(contains("macos"))') | |
| elif [[ $(uname) == "Linux" ]]; then | |
| url=$(echo "$json" | jq -r '.assets[].browser_download_url | select(contains("linux64"))') |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { | |
| fmt.Println("Times: ") | |
| t := time.Now() |
| #encoding:utf-8 | |
| # example of how to use https://github.com/SeleniumHQ/selenium/blob/master/py/selenium/webdriver/support/expected_conditions.py | |
| from selenium import webdriver | |
| from selenium.webdriver.support import expected_conditions as EC | |
| from selenium.webdriver.support.wait import WebDriverWait | |
| from selenium.webdriver.common.by import By | |
| import unittest |
| /*! | |
| Math.uuid.js (v1.4) | |
| http://www.broofa.com | |
| mailto:[email protected] | |
| Copyright (c) 2010 Robert Kieffer | |
| Dual licensed under the MIT and GPL licenses. | |
| */ | |
| /* |