Skip to content

Instantly share code, notes, and snippets.

View RomaneGreen's full-sized avatar
🎯
Focusing

Romane Green RomaneGreen

🎯
Focusing
View GitHub Profile
<?php
$fname = $_POST['pfname'];
$lname = $_POST['plname'];
$email = $_POST['pemail'];
$address = $_POST['paddress'];
$hphone = $_POST['hnumber'];
$mphone = $_POST['mnumber'];
$cfname = $_POST['cfname'];
@RomaneGreen
RomaneGreen / media-query.css
Created June 21, 2020 01:29 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
"""
- Add some settings -
Log in to your sandbox account and get your API keys plus your merchant ID.
"""
BRAINTREE_PRODUCTION = False # We'll need this later to switch between the sandbox and live account
BRAINTREE_MERCHANT_ID = “your_merchant_id”
BRAINTREE_PUBLIC_KEY = “your_public_key”
BRAINTREE_PRIVATE_KEY = “your_private_key”
@RomaneGreen
RomaneGreen / CSS3 Media Queries Template
Created September 13, 2018 19:25
CSS3 Media Queries template
/*
* Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/
*/
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}
@RomaneGreen
RomaneGreen / index.md
Created June 30, 2018 17:15 — forked from rstacruz/index.md
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one

@RomaneGreen
RomaneGreen / README-Template.md
Created March 29, 2018 16:11 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites