This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../paper-calculator/paper-calculator.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../paper-ripple/paper-ripple.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#paper_ripple { | |
width: 100%; | |
height: 100%; | |
left: 0px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Download Elementary OS from here: | |
#http://sourceforge.net/projects/elementaryos/files/stable/ | |
#First you update your system | |
sudo apt-get update && sudo apt-get dist-upgrade | |
#Install Google Chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd "$(git rev-parse --show-toplevel)" | |
ESLINT="node_modules/.bin/eslint" | |
pwd | |
if [[ ! -x "$ESLINT" ]]; then | |
printf "\t\033[41mPlease install ESlint\033[0m (npm install eslint)\n" | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//common to client and server | |
SharedCollection = new Meteor.Collection('shared'); | |
//client from here on out | |
LocalMirror = new Meteor.Collection(null); | |
var convertSharedToLocal = function(sharedDoc) { | |
var localDoc = LocalCollection._deepcopy(sharedDoc); // undocumented API, might change |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var path = require('path'); | |
var glob = require('glob'); | |
var mkdirp = require('mkdirp'); | |
var ncc = require('@zeit/ncc'); | |
var dist = path.join(__dirname, 'dist'); | |
var distRoutes = path.join(dist, 'routes'); | |
var src = path.join(__dirname, 'src'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "Build Succeeded" | |
} | |
}, | |
{ | |
"type": "section", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class iTextMo { | |
protected $API_CODE = ""; | |
protected $API_BASE = "https://www.itexmo.com/php_api/"; | |
protected $API_ENDPOINTS = array( | |
'SEND_SMS' => 'api.php', | |
'GET_INFO' => 'apicode_info.php', | |
'LIST_OUTGOING' => 'display_outgoing.php', | |
'SERVER_STATUS' => 'serverstatus.php', | |
'CLEAR_OUTGOING' => 'delete_outgoing_all.php' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include("itexmo.class.php"); | |
$itexmo = new iTexMo("API_CODE"); | |
//SEND SMS | |
echo $itexmo->sendSMS("Number", "MESSAGE"); | |
//LIST OUTGOING SMS | |
echo $itexmo->listOutgoingSMS(); |
OlderNewer