Skip to content

Commit

Permalink
latest videos
Browse files Browse the repository at this point in the history
  • Loading branch information
realtux committed May 9, 2021
1 parent bfca0f7 commit 3cfc374
Show file tree
Hide file tree
Showing 15 changed files with 281 additions and 5 deletions.
8 changes: 6 additions & 2 deletions 123/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "com.hq.engineerman123"
minSdkVersion 23
targetSdkVersion 29
versionCode 1
versionName "1.0"
versionCode 3
versionName "3.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -32,7 +32,11 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.navigation:navigation-fragment:2.2.2'
implementation 'androidx.navigation:navigation-ui:2.2.2'
implementation 'androidx.wear:wear:1.0.0'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
compileOnly 'com.google.android.wearable:wearable:2.6.0'
}
Binary file added 123/app/release/app-release.aab
Binary file not shown.
8 changes: 7 additions & 1 deletion 123/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hq.engineerman123">

<uses-permission android:name="android.permission.WAKE_LOCK" />

<uses-feature android:name="android.hardware.type.watch" />

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.EngineerMan123">
<activity android:name=".MainActivity" android:windowSoftInputMode="adjustResize">
<activity
android:name=".MainActivity"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
Expand Down
48 changes: 48 additions & 0 deletions 123/app/src/main/res/navigation/nav_graph.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/nav_graph"
app:startDestination="@id/FirstFragment">

<fragment
android:id="@+id/FirstFragment"
android:name="com.hq.engineerman123.FirstFragment"
android:label="@string/first_fragment_label"
tools:layout="@layout/fragment_first">

<action
android:id="@+id/action_FirstFragment_to_SecondFragment"
app:destination="@id/SecondFragment" />
</fragment>
<fragment
android:id="@+id/SecondFragment"
android:name="com.hq.engineerman123.SecondFragment"
android:label="@string/second_fragment_label"
tools:layout="@layout/fragment_second">

<action
android:id="@+id/action_SecondFragment_to_FirstFragment"
app:destination="@id/FirstFragment" />
</fragment>
<fragment
android:id="@+id/FirstFragment"
android:name="com.hq.engineerman123.FirstFragment"
android:label="@string/first_fragment_label"
tools:layout="@layout/fragment_first">

<action
android:id="@+id/action_FirstFragment_to_SecondFragment"
app:destination="@id/SecondFragment" />
</fragment>
<fragment
android:id="@+id/SecondFragment"
android:name="com.hq.engineerman123.SecondFragment"
android:label="@string/second_fragment_label"
tools:layout="@layout/fragment_second">

<action
android:id="@+id/action_SecondFragment_to_FirstFragment"
app:destination="@id/FirstFragment" />
</fragment>
</navigation>
3 changes: 3 additions & 0 deletions 123/app/src/main/res/values-round/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="hello_world">Hello Round World!</string>
</resources>
16 changes: 16 additions & 0 deletions 123/app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
Because the window insets on round devices are larger than 15dp, this padding only applies
to square screens.
-->
<dimen name="box_inset_layout_padding">0dp</dimen>

<!--
This padding applies to both square and round screens. The total padding between the buttons
and the window insets is box_inset_layout_padding (above variable) on square screens and
inner_frame_layout_padding (below variable) on round screens.
-->
<dimen name="inner_frame_layout_padding">5dp</dimen>
<dimen name="fab_margin">16dp</dimen>
</resources>
16 changes: 15 additions & 1 deletion 123/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
<resources>
<string name="app_name">Engineer Man 123</string>
<string name="app_name">Pointless Calculator App</string>
<string name="title_activity_second">SecondActivity</string>
<!-- Strings used for fragments for navigation -->
<string name="first_fragment_label">First Fragment</string>
<string name="second_fragment_label">Second Fragment</string>
<string name="next">Next</string>
<string name="previous">Previous</string>

<string name="hello_first_fragment">Hello first fragment</string>
<string name="hello_second_fragment">Hello second fragment. Arg: %1$s</string>
<!--
This string is used for square devices and overridden by hello_world in
values-round/strings.xml for round devices.
-->
<string name="hello_world">Hello Square World!</string>
</resources>
9 changes: 9 additions & 0 deletions 123/app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,13 @@
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>

<style name="Theme.EngineerMan123.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>

<style name="Theme.EngineerMan123.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

<style name="Theme.EngineerMan123.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
</resources>
6 changes: 6 additions & 0 deletions 125/notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- recognize that learning doesn't happen overnight
- never bit off more than you can chew
- don't limit yourself to one skill or one area of expertise
- be confident in abilities you know you have
- surround yourself with smart people and find a mentor if you can
- learn by doing
1 change: 1 addition & 0 deletions 126/notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- ssl
12 changes: 12 additions & 0 deletions 132/notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
zero impact:
- capabilities
- author/stewards of the language
- my personal feelings

low impact:
- raw performance

high impact:
- language features
- accessibility
- use case variety
4 changes: 4 additions & 0 deletions 133/notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
content:
- role of college
- college vs trade school
- employers and degrees
21 changes: 21 additions & 0 deletions 134/notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
tips:
understand what it means to use or eject from expo:
- only really one reason to eject -- native modules
- slightly more complicated live reload
- no more managed builds
- less seamless upgrades
understand that there is no dom:
- referring to e.target is not a thing
- dom manipulation is not a thing
- however, there's some overlap
use redux:
- your app is one large root component
- global state is quite helpful in some cases
- things like toasts, dialogs, etc feel more natural procedurally
consider using a ui framework:
- this is based on preference, but really speeds everything up
- i like material design, therefore i use react-native-paper
- helps in android/ios specific issues
it's ok to use a bunch of community modules:
- react native core sometimes defers to community solutions
- whatever you're used to in node.js/browser you can use here
133 changes: 133 additions & 0 deletions sponsors/linode01.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@







linode linux distro comparison
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾










main distros:








arch linux:
- original distro
- rolling release model, continuously updated
- software downloaded via pacman
- has an official repo and supports unofficial repos
- software often the newest available
good choice for:
- maximum customization
- no bloat
- new software








centos:
- downstream from redhat enterprise linux
- new release every 3-5 years, supported for
7-10 years
- software downloaded via yum
- has an official repo and supports unofficial repos
- software from official repos often older with a
focus on stability
good choice for:
- high security needs
- very stable only software
- enterprise focus










debian:
- original distro
- releases every 2 years, lts support 5 years
- software downloaded via apt
- has an official repo and supports unofficial repos
- software typically favors stable over newest
good choice for:
- a very mature distribution
- reliable releases
- comprehensive software distribution










ubuntu server:
- downstream from debian
- releases every 6 months, lts versions every 2 years
- software downloaded via apt
- has an official repo and supports unofficial repos
- software typically newer than debian
good choice for:
- batteries included software
- broad online resources for ubuntu
- leveraging the successes of debian













other distros with main benefits:
alpine linux:
- simple and small
- security focused

intro:
- Hey everyone, I'm Brian, a developer advocate here with Linode, and today I'm going
to show you a little about different distros that are available on Linode, how they're
different and when one may be a better choice than another.
- Before we get into it please subscribe if you haven't already, give this video a
like, and let's get started.
outro:
- And that's it. There's a link in the description if you want to sign up for your own
Linode account to experiment with these distros, and let us know if you have any
questions in the comments and stay tuned for more tutorials.


Hey everyone, I'm Brian and im a developer advocate here with Linode, and today I'm going to talk a little about some of the linux distros that are available on Linode, how they're different and when one may be a better choice than another.
Before we get into it please subscribe if you haven't already, give this video a
like if you found it helpful
alpine, fedora, gentoo, slackware, and opensuse
And that's it. There's a link in the description if you want to sign up for your own Linode account to experiment with these distros, and definitely let us know if you have any questions in the comments and be sure to stay tuned for more tutorials.

0 comments on commit 3cfc374

Please sign in to comment.