Skip to content

Master #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 83 commits into from
Nov 16, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
e0c0cdb
Merge pull request #28 from buckyroberts/revert-26-master
buckyroberts Mar 7, 2015
a764b9d
Python Beginner tutorials
Mar 8, 2015
5ecbb02
Create 16_python.py
Mar 8, 2015
82d3e84
Create 17_python.py
Mar 8, 2015
57bfcba
Create 18_python.py
Mar 8, 2015
bc8c340
Create 19_python.py
Mar 8, 2015
d0f75fd
Merge pull request #29 from DrAlias/patch-1
buckyroberts Mar 8, 2015
7b682b2
Merge pull request #30 from DrAlias/master
buckyroberts Mar 8, 2015
3f22377
Created code for tutorials 20, 22-24, and 28
CloudyDino Mar 8, 2015
f61033c
Created code for tutorial 21
CloudyDino Mar 8, 2015
1c434c8
Merge pull request #31 from DrAlias/master
buckyroberts Mar 8, 2015
68c9ab9
Added two new C++ files
Deepakchawla Mar 10, 2015
31334e2
Merge pull request #32 from Deepakchawla/42_cppBeginners
buckyroberts Mar 10, 2015
4bbb70c
add 42 to 73 for c++
Deepakchawla Mar 10, 2015
2fce57c
add 42 to 73 for c++
Deepakchawla Mar 10, 2015
ac8e5d9
Created Python tutorials 29-34
CloudyDino Mar 10, 2015
9baabf6
Merge pull request #36 from DrAlias/master
buckyroberts Mar 11, 2015
fc4b79a
Merge pull request #33 from Deepakchawla/42_cppBeginners
buckyroberts Mar 11, 2015
71c14b9
add 42 to 73 for c++
Deepakchawla Mar 11, 2015
cf85a07
Merge pull request #38 from Deepakchawla/42_cppBeginners
buckyroberts Mar 11, 2015
3febef0
Add more javabeginners files
Deepakchawla Mar 13, 2015
4eed794
Merge pull request #39 from Deepakchawla/JavaBeginners
buckyroberts Mar 13, 2015
c4f5434
Added Dank Meme Example for learn fragment usage
arslanaybars Mar 14, 2015
f6b7c99
Merge pull request #40 from arslanaybars/master
buckyroberts Mar 14, 2015
4a965d8
Added Java intermediate 38 & 39 & 40 source code
JamesMcNee Mar 18, 2015
66fe598
Minor typo in Java Intermediate 40
JamesMcNee Mar 18, 2015
84a6010
Added Java intermediate 41
JamesMcNee Mar 18, 2015
620f157
Added Java Intermediate 42
JamesMcNee Mar 18, 2015
56e30b0
Added Java Intermediate 43
JamesMcNee Mar 18, 2015
9eae7d7
Added Java Intermediate 44
JamesMcNee Mar 18, 2015
39342cf
Added Java Intermediate 45
JamesMcNee Mar 18, 2015
8bf2f65
Added 46 & 47 Java Intermediate
JamesMcNee Mar 18, 2015
1440daa
Completed the Java Intermediate tutorials 48 - 58
JamesMcNee Mar 18, 2015
0ea1c7d
Merge pull request #41 from JamesMcNee/master
buckyroberts Mar 20, 2015
34ee425
Small template change.
buckyroberts Mar 24, 2015
328bea1
Added JavaFX file.
buckyroberts Mar 31, 2015
e43db6d
Added NodeJs files.
buckyroberts Mar 31, 2015
df416ed
More Node.
buckyroberts Mar 31, 2015
ea40634
Node
buckyroberts Mar 31, 2015
1cc228d
Node
buckyroberts Apr 2, 2015
3ea76b8
Added JSON file for Node tutorial.
buckyroberts Apr 5, 2015
d49cc78
Added sample JSON data.
buckyroberts Apr 6, 2015
d354360
Complete tutorials to 40
CloudyDino Apr 6, 2015
c9a9a3b
Sample Data
buckyroberts Apr 8, 2015
f0b3892
Added more sample data.
buckyroberts Apr 8, 2015
9085e46
Merge pull request #42 from DrAlias/master
buckyroberts Apr 10, 2015
dc24baf
New file.
buckyroberts Apr 18, 2015
7041a47
JavaFX files.
buckyroberts Apr 21, 2015
4cde5ea
Tutorial 15 added.
buckyroberts Apr 21, 2015
e8e7605
Name changes.
buckyroberts Apr 23, 2015
4f03f2e
TableView
buckyroberts Apr 24, 2015
7212d1e
More TableView
buckyroberts Apr 24, 2015
61f72df
JavaFX menus.
buckyroberts Apr 25, 2015
cd49f28
JavaFX CSS
buckyroberts Apr 27, 2015
5469feb
JavaFX properties.
buckyroberts Apr 27, 2015
19b7643
JFX
buckyroberts Apr 27, 2015
eb5678b
FXML
buckyroberts Apr 29, 2015
db6ef60
Bootstrap.
buckyroberts Jun 15, 2015
83a8056
add the Activity States Tutorial source code
gavendanoc Jun 23, 2015
fe76eae
code for tutorials 21-22 and 37
gavendanoc Jun 23, 2015
8ecb7bb
Merge pull request #43 from gabothekiller/master
buckyroberts Jun 24, 2015
d09d0e9
Wells
buckyroberts Jun 24, 2015
ecd5fd6
More Bootstrap
buckyroberts Jun 24, 2015
63b35bb
Bootstrap update.
buckyroberts Jun 25, 2015
e229cb0
Bootstrap.
buckyroberts Jun 25, 2015
8a81b8d
Formatting.
buckyroberts Jun 25, 2015
27e76fe
Working.
buckyroberts Jun 25, 2015
3a53dfc
Working.
buckyroberts Jun 26, 2015
4e735c0
Bootstrap.
buckyroberts Jun 27, 2015
6fac3d3
Bootstrap.
buckyroberts Jun 27, 2015
23ed3e4
Reorganized files.
buckyroberts Jun 27, 2015
e388111
Working.
buckyroberts Jun 27, 2015
15b3204
Login modal.
buckyroberts Jun 27, 2015
77cd96c
Foundation
buckyroberts Jun 30, 2015
d206948
Grunt
buckyroberts Jul 2, 2015
01bed80
Added sample MySQL database.
buckyroberts Jul 18, 2015
9079359
Added Foundation source code.
buckyroberts Jul 30, 2015
287921d
Foundation code added.
buckyroberts Jul 30, 2015
845c82a
React template.
buckyroberts Aug 2, 2015
69204d4
React source code.
buckyroberts Aug 2, 2015
f3b6a9f
Added DigitalOcean quick start guide.
buckyroberts Oct 4, 2015
7fff32d
Added links to some guides.
buckyroberts Oct 4, 2015
0923353
Spacing issue.
buckyroberts Oct 4, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.idea/.name
.idea/compiler.xml
.idea/dictionaries/Bucky.xml
*.iml
.idea/misc.xml
*.xml
97 changes: 97 additions & 0 deletions Android_Beginners/010_States of an Activity/MainActivity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
package com.apps.gabothekiller.myapplication;

import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.util.Log;

public class MainActivity extends ActionBarActivity {

private static final String TAG = "buckysMessage";

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Log.i(TAG, "onCreate");
}

@Override
protected void onStart() {
super.onStart();
Log.i(TAG, "onStart");
}


@Override
protected void onResume() {
super.onResume();
Log.i(TAG, "onResume");
}


@Override
protected void onPause() {
super.onPause();
Log.i(TAG, "onPause");
}


@Override
protected void onStop() {
super.onStop();
Log.i(TAG, "onStop");
}


@Override
protected void onRestart() {
super.onRestart();
Log.i(TAG, "onRestart");
}


@Override
protected void onDestroy() {
super.onDestroy();
Log.i(TAG, "onDestroy");
}


@Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
Log.i(TAG, "onSaveInstanceState");
}


@Override
protected void onRestoreInstanceState(Bundle savedInstanceState) {
super.onRestoreInstanceState(savedInstanceState);
Log.i(TAG, "onRestoreInstanceState");
}


@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();

//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}

return super.onOptionsItemSelected(item);
}
}
20 changes: 20 additions & 0 deletions Android_Beginners/010_States of an Activity/activity_main.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"
android:id="@+id/sadfasd"
android:background="#2334ff">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="the new boston"
android:id="@+id/textView"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:textColor="#FFFFFF" />

</RelativeLayout>
113 changes: 113 additions & 0 deletions Android_Beginners/021-022_Gestures App/MainActivity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
package com.thenewboston.swiperdiaper;

import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import android.view.MotionEvent;
import android.view.GestureDetector;
import android.support.v4.view.GestureDetectorCompat;


public class MainActivity extends ActionBarActivity implements GestureDetector.OnGestureListener,
GestureDetector.OnDoubleTapListener {
private TextView buckysMessage;
private GestureDetectorCompat gestureDetector;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

buckysMessage = (TextView) findViewById(R.id.buckysMessage);
this.gestureDetector = new GestureDetectorCompat(this, this);
gestureDetector.setOnDoubleTapListener(this);
}

///////// GESTURE METHODS //////////
@Override
public boolean onSingleTapConfirmed(MotionEvent e) {
buckysMessage.setText("onSingleTapConfirmed");
return true;
}

@Override
public boolean onDoubleTap(MotionEvent e) {
buckysMessage.setText("onDoubleTap");
return true;
}

@Override
public boolean onDoubleTapEvent(MotionEvent e) {
buckysMessage.setText("onDoubleTapEvent");
return true;
}

@Override
public boolean onDown(MotionEvent e) {
buckysMessage.setText("onDown");
return true;
}

@Override
public void onShowPress(MotionEvent e) {
buckysMessage.setText("onShowPress");

}

@Override
public boolean onSingleTapUp(MotionEvent e) {
buckysMessage.setText("onSingleTapUp");
return true;
}

@Override
public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
buckysMessage.setText("onScroll");
return true;
}

@Override
public void onLongPress(MotionEvent e) {
buckysMessage.setText("onLongPress");

}

@Override
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
buckysMessage.setText("onFling");
return true;
}

///////// GESTURE METHODS //////////


@Override
public boolean onTouchEvent(MotionEvent event) {
this.gestureDetector.onTouchEvent(event);
return super.onTouchEvent(event);
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();

//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}

return super.onOptionsItemSelected(item);
}
}
16 changes: 16 additions & 0 deletions Android_Beginners/021-022_Gestures App/activity_main.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="hello"
android:id="@+id/buckysMessage"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true" />
</RelativeLayout>
30 changes: 30 additions & 0 deletions Android_Beginners/023-030_DankMeme/java/BottomPictureFragment.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package aybars.arslan.fragments;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;


public class BottomPictureFragment extends Fragment {

private static TextView txtTop;
private static TextView txtBottom;

@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.bottom_picture_fragment, container, false);
txtTop = (TextView)view.findViewById(R.id.txtTop);
txtBottom = (TextView)view.findViewById(R.id.txtBottom);
return view;
}

public void setClickedText(String top, String bottom){
txtTop.setText(top);
txtBottom.setText(bottom);
}

}
47 changes: 47 additions & 0 deletions Android_Beginners/023-030_DankMeme/java/MainActivity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
package aybars.arslan.fragments;

import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;



public class MainActivity extends ActionBarActivity implements TopSectionFragment.TopSectionListener {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}

//This code called by the Top Fragment called when the user clicked the button
@Override
public void createClick(String top, String bottom) {
BottomPictureFragment bottomFragment = (BottomPictureFragment)getSupportFragmentManager().findFragmentById(R.id.fragment2);
bottomFragment.setClickedText(top, bottom);
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();

//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}

return super.onOptionsItemSelected(item);
}

}
60 changes: 60 additions & 0 deletions Android_Beginners/023-030_DankMeme/java/TopSectionFragment.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
package aybars.arslan.fragments;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.app.Activity;
import android.widget.Button;
import android.widget.EditText;

public class TopSectionFragment extends Fragment {

private static EditText etTopTextInput;
private static EditText etBottomTextInput;

TopSectionListener activityCommander;

public interface TopSectionListener{
public void createClick(String top, String bottom);
}

@Override
public void onAttach(Activity activity) {
super.onAttach(activity);
try{
activityCommander = (TopSectionListener) activity;
}catch (ClassCastException e){
throw new ClassCastException(activity.toString());
}
}

@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.top_section_fragment, container, false);

etTopTextInput = (EditText)view. findViewById(R.id.etTopTextInput);
etBottomTextInput = (EditText)view.findViewById(R.id.etBottomTextInput);

final Button button = (Button)view.findViewById(R.id.btn);

button.setOnClickListener(
new View.OnClickListener(){

@Override
public void onClick(View v) {
buttonClicked(v);
}
}
);

return view;
}

//Calls this when button clicked
public void buttonClicked(View view){
activityCommander.createClick(etTopTextInput.getText().toString(), etBottomTextInput.getText().toString());
}
}
Loading