Skip to content

Instantly share code, notes, and snippets.

View vpluma's full-sized avatar

Vinson Pluma vpluma

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python
"""Basic Python Cheat Sheet by Filip Kral on 2015/02/16"""
https://gist.github.com/filipkral/740a11c827422264c757
"""
Python is a cross-platform, interpreted, object-oriented programming language.
That means you can run it on Linux, Windows, Mac, and other platforms,
you don't need to compile your code to execute it because it is compiled on
the fly, and you can use classes and objects.
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Mailvelope v1.3.3
Comment: https://www.mailvelope.com
xsBNBFaX64ABCADGdx0e3Vp51Yd1cKxVUvqQDFdF0RYyEsed1IpNtTCJyBjj
dQENb0DMmLgOVco6UlaC+GTyNhqJyDeGTL7aSYESY+nelcGDRSgjgvUVQZ+U
wxTTtP40zGI+x60cQ4HexGixJZcGErUtKsHZfnzrWVajZEnVL0ibt5vaRU8J
dizDMpI7COjUivwHqsyPo1b2V13HIrgLQuUjk00FV16h9NpIrnkG494hOQYm
BwIH6LISvvJ1acsUEoMuZMc+X7eVM2l3JxqJugYg7WIzVeANu+ZxVfuIbos3
pP4qY+zQ61ZEtn/16eqJUS/JdlN2R4APUwE2XGbwyljvCDunnDb/nHPZABEB
@vpluma
vpluma / strings.xml
Created December 14, 2015 10:51
Example strings.xml file with English, Spanish, French, and Korean
<resources>
<string name="app_name">Just Java</string>
<string name="action_settings">Settings</string>
<string name="name">Type your name here</string>
<string name="whipped_cream">Whipped Cream</string>
<string name="chocolate">Chocolate</string>
<string name="caramel">Caramel</string>
<string name="marshmallow">Marshmallow</string>
<string name="toppings">Toppings</string>
@vpluma
vpluma / activity_main.xml
Created December 14, 2015 09:50
Activity_Main.xml for the Just Java app - Udacity.com (Android Development for Beginners)
<ScrollView
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"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
@vpluma
vpluma / MainActivity.java
Last active December 14, 2015 09:47
MainActivity.java for the Just Java App - Udacity.com (Android Development for Beginners)
package com.example.android.vinsonjustjava;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;
@vpluma
vpluma / file_sf.geojson
Created August 6, 2015 05:00
GeoJSON Map
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.