Skip to content

Instantly share code, notes, and snippets.

View XanderDwyl's full-sized avatar

Alexjander Bacalso XanderDwyl

  • Minglanilla, Cebu
View GitHub Profile
@XanderDwyl
XanderDwyl / map_animation.js
Created July 17, 2018 11:11 — forked from nahidmbstu/map_animation.js
map_animation.js
import React, { Component } from "react";
import {
View,
StyleSheet,
TouchableOpacity,
Alert,
Dimensions,
Platform,
Text
} from "react-native";
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
body {
font: 12px Menlo, "DejaVu Sans Mono", "Lucida Console", monospace
}
@XanderDwyl
XanderDwyl / index.md
Created June 26, 2016 07:28 — forked from rstacruz/index.md
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one

@XanderDwyl
XanderDwyl / Sublime Text 3 Build 3103 License Key - CRACK
Created February 29, 2016 06:41
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@XanderDwyl
XanderDwyl / Python3 Virtualenv Setup
Created February 28, 2016 06:28 — forked from evansneath/Python3 Virtualenv Setup
Setting up and using Python3 Virtualenv
To install virtualenv via pip
$ pip3 install virtualenv
Note that virtualenv installs to the python3 directory. For me it's:
$ /usr/local/share/python3/virtualenv
Create a virtualenvs directory to store all virtual environments
$ mkdir somewhere/virtualenvs
Make a new virtual environment with no packages
@XanderDwyl
XanderDwyl / hapijs-rest-api-tutorial.md
Created February 14, 2016 13:01 — forked from agendor/hapijs-rest-api-tutorial.md
A practical introduction to building a RESTful API with the hapi.js server framework for Node.js
/*!
* Chart.js
* http://chartjs.org/
* Version: 1.0.2
*
* Copyright 2015 Nick Downie
* Released under the MIT license
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md
*/