Skip to content

Instantly share code, notes, and snippets.

View presskey's full-sized avatar
:octocat:
...

Alex Gusev presskey

:octocat:
...
  • Berlin, Germany
View GitHub Profile

Keybase proof

I hereby claim:

  • I am presskey on github.
  • I am presskey (https://keybase.io/presskey) on keybase.
  • I have a public key whose fingerprint is 27FA 0313 DB2E 8957 6B57 D6AB 26E4 E423 7177 18B3

To claim this, I am signing this object:

@presskey
presskey / gist:6232919
Last active December 21, 2015 02:09
CarouselSMS: sending message using PHP + cURL
<?php
define("API_KEY", 'YOUR_API_KEY');
$message = 'phptest';
$number = '+380501234567';
$url = 'http://sl.carouselsms.com/api/send_message?';
$url .= http_build_query(array(
'api_key' => API_KEY,
@presskey
presskey / sending_messages.rb
Created March 2, 2012 01:27 — forked from ytspar/sending_messages.rb
Recess Mobile - sending a text message (SMS)
require 'uri'
require 'net/https'
require 'json'
API_URL = "http://api.recessmobile.com/api"
API_KEY = "[API KEY GOES HERE]"
# Simple ServiceLayer gateway class
class ServiceLayer
class Error < StandardError; end