View actions.js
// api.js
export function makePayment(loanId, amount, paymentMethodId) {
return fetch(`/api/loans/${loanId}/payments`, {
headers: new Headers({
'Content-Type': 'application/json',
}),
credentials: 'same-origin',
method: 'POST',
body: JSON.stringify({
'amount': amount,
View byf_footer.php
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View ErrorBridge.m
#import "ErrorBridge.h"
#import <React/RCTRedbox.h>
@implementation ErrorBridge
@synthesize bridge = _bridge;
RCT_EXPORT_MODULE()
- (NSArray<NSString *> *)supportedEvents
View ColorSprites.swift
import SpriteKit
import PlaygroundSupport
func + (left: CGPoint, right: CGPoint) -> CGPoint {
return CGPoint(x: left.x + right.x, y: left.y + right.y)
}
func - (left: CGPoint, right: CGPoint) -> CGPoint {
return CGPoint(x: left.x - right.x, y: left.y - right.y)
}
View add-secondary-page-header.php
//* Add secondary page header
add_action('genesis_after_header', 'add_secondary_page_header');
function add_secondary_page_header() {
if(!is_home()) {
if(has_post_thumbnail()) {
echo "<div class='page-header' style='background: url(" . get_the_post_thumbnail_url() . ")'></div>";
} else {
echo "<div class='page-header'></div>";
}
}
View testscript.js
$('#calendar').fullCalendar({
editable: true,
events:
[{
title: 'Sansrity',
start: new Date(2014, 9, 15)
},
{
title: 'Gujarati Samaj Show',
View actions.js
export function makePayment(loanId, amount, paymentMethodId) {
return dispatch => {
dispatch(makePaymentSent())
fetch(`/api/loans/${loanId}/payments`, {
headers: new Headers({
'Content-Type': 'application/json',
}),
credentials: 'same-origin',
method: 'POST',
body: JSON.stringify({
View google_twunter_lol
4r5e
5h1t
5hit
a55
anal
anus
ar5e
arrse
arse
ass
View assign.cfm
<cfscript>
param name="url.class_size" default="10";
param name="url.semester" default="1";
if (NOT isNumeric(url.class_size) OR url.class_size < 7 OR url.class_size > 12) url.class_size = 10;
if (NOT ListFind("1,2", url.semester)) url.semester = 1;
data = CreateObject("component","file_parser").init("#expandpath('.')#\fall_2016.csv").perform();
for (i=1;i<=10;i++) {