Skip to content

Instantly share code, notes, and snippets.

View aksyuma's full-sized avatar
📖

Amos Syuma aksyuma

📖
View GitHub Profile
//
// AppDelegate.swift
//
// Created by Syuma, Amos on 2020/06/12.
// Copyright © 2020 Syuma, Amos. All rights reserved.
//
import UIKit
import AWSPinpoint
import AWSMobileClient
@aksyuma
aksyuma / Ubuntu_Aerial.md
Created May 8, 2020 06:48 — forked from Dhertz/Ubuntu_Aerial.md
Quick overview of how to get Apple's new TV screensavers working on most linux systems.

Using Apple’s Aerial Screensavers on Ubuntu After coming across the [Aerial] (https://github.com/JohnCoates/Aerial) screensavers for Mac, and installing them, I decided that I had had enough of the graphics-demos of my Ubuntu Precise system. I hope to provide a simple guide on how to add them to your setup as well.

First, you need to install xscreensaver (for example with aptitude, but your distro should have it):

sudo aptitude install xscreensaver
package com.syumaK.AWSSNS;
import java.io.IOException;
import java.util.logging.Logger;
import com.amazonaws.regions.Regions;
import com.amazonaws.ClientConfiguration;
import com.amazonaws.services.sns.AmazonSNS;
import com.amazonaws.services.sns.model.PublishResult;
import com.amazonaws.services.sns.model.PublishRequest;
@aksyuma
aksyuma / sendEmail-AWSPinpoint.php
Created March 24, 2020 16:14
A php script that uses AWS PHP SDK v3 for Amazon Pinpoint service to send an email message.
<?php
require 'vendor/autoload.php';
use Aws\Pinpoint\PinpointClient;
use Aws\Exception\AwsException;
/**
* @author syumaK(Amos Syuma)
@aksyuma
aksyuma / subscribeSQS.java
Created December 9, 2019 19:48
Sample java code that creates SNS topic, SQS queue and subscribes the queue to the topic
/**
*
*/
package com.syumaK.AWSSQS;
/**
* @author syumaK
*
*/