Skip to content

Instantly share code, notes, and snippets.

View fallen90's full-sized avatar
🏠
Working from home

fallen90

🏠
Working from home
View GitHub Profile
@fallen90
fallen90 / designer.html
Created August 18, 2014 07:53
designer
<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 {
@fallen90
fallen90 / designer.html
Created August 18, 2014 07:53
designer
<link rel="import" href="../paper-ripple/paper-ripple.html">
<polymer-element name="my-element">
<template>
<style>
#paper_ripple {
width: 100%;
height: 100%;
left: 0px;
@fallen90
fallen90 / perfectelementary.bash
Created April 25, 2017 01:31
HowTo Install the perfect Elementary-OS
#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'
@fallen90
fallen90 / pre-commit
Created May 8, 2017 11:06 — forked from broofa/pre-commit
Git pre-commit hook that runs `eslint` with the `--fix` option to fix up issues where possible, and adds "fix"ed files into the commit
#!/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
@fallen90
fallen90 / iterm2-solarized.md
Created November 8, 2017 07:12 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@fallen90
fallen90 / Meteor local mirror
Created March 26, 2018 15:02 — forked from belisarius222/Meteor local mirror
Added `changed` callback and factored out shared --> local conversion.
//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
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');
[
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Build Succeeded"
}
},
{
"type": "section",
<?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'
<?php
include("itexmo.class.php");
$itexmo = new iTexMo("API_CODE");
//SEND SMS
echo $itexmo->sendSMS("Number", "MESSAGE");
//LIST OUTGOING SMS
echo $itexmo->listOutgoingSMS();