variable "cidr_block" {
default = "10.0.0.0/16"
}
variable "vpc_output_name" {
default = "VpcId"
}
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
| names = ["anders", "trevor", "pizza", "batman", "rumpelstiltskin", "spaghetti"] | |
| for i in names: | |
| print(i) | |
| if i == "rumpelstiltskin": | |
| break | |
| print("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
| #sudo apt-add-repository "deb http://archive.canonical.com/ubuntu bionic partner" | |
| #sudo apt-get update | |
| #sudo apt-get install adobe-flashplugin | |
| #sudo apt-get install adobe-flashplugin | |
| echo 'sudo apt-add-repository "deb http://archive.canonical.com/ubuntu bionic partner"' | |
| echo 'sudo apt-get update' | |
| echo 'sudo apt-get install adobe-flashplugin' | |
| echo 'sudo apt-get install adobe-flashplugin' |
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
| #!/bin/bash -ex | |
| INSTALL=$1 | |
| LAUNCH_WOLF=$2 | |
| LAUNCH_ERU=$3 | |
| WATCH=$4 | |
| FALLBACK=/Library/Frameworks/Mono.framework/Versions/Current/bin/msbuild | |
| ERU_APK=com.ifit.eru.system-signed-zipped.apk | |
| ERU_PACKAGE=com.ifit.eru |
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
| // Add a couple fields: | |
| IDisposable playerStateSub; | |
| IfitTextView debugTextView; | |
| // connect to the overlay control: | |
| debugTextView = View.FindViewById<IfitTextView> (Resource.Id.video_debug_text); | |
| // Use RX sub to update overlay: | |
| playerStateSub = Observable.Interval (TimeSpan.FromSeconds (2)).Subscribe (UpdateVideoDebugOverlay); |
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
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| ... | |
| ... | |
| ... | |
| <shire.android.controls.IfitTextView | |
| android:id="@+id/video_debug_text" | |
| android:layout_width="match_parent" | |
| android:layout_height="100dp" | |
| android:textSize="14dp" | |
| android:textColor="#000000" |
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.Reactive.Subjects; | |
| using Com.Google.Android.Exoplayer2; | |
| using Com.Google.Android.Exoplayer2.Source; | |
| using Com.Google.Android.Exoplayer2.Trackselection; | |
| using Shire.Core.Log; | |
| using Com.Google.Android.Exoplayer2.Decoder; | |
| using Java.Util; | |
| using System.Linq; | |
| using Shire.Core.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
| #!/bin/bash | |
| if [ $# -eq 1 ]; then | |
| FILE=$1 | |
| else | |
| FILE=logcatLogs.log | |
| fi | |
| adb logcat -v color -v time -v tag | tee $FILE |
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
| #!/bin/bash | |
| IP_ADDR="$(adb shell ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d: -f2 | cut -d\ -f1)" | |
| echo "calling adb tcpip with port 5555" | |
| adb tcpip 5555 | |
| echo "connecting to IP: $IP_ADDR" | |
| adb connect $IP_ADDR |
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
| set nocompatible " be iMproved, required | |
| filetype off " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " | |
| " Plugins vvv | |
| Plugin 'VundleVim/Vundle.vim' | |
| Plugin 'ctrlp.vim' |
NewerOlder