Skip to content

Instantly share code, notes, and snippets.

View timmes's full-sized avatar
💬
Hello!

Tim Hüttemeister timmes

💬
Hello!
View GitHub Profile
@noandrea
noandrea / apeunit.test-config.js
Last active January 14, 2021 20:52
Standalone and autenticated Jitsi configuration sample
/* eslint-disable no-unused-vars, no-var */
var config = {
// Connection
//
hosts: {
// XMPP domain.
domain: 'apeunit.test',
@noahcoad
noahcoad / event_2019-05-24_aws_python_chalice_intro_dallas_makerspace.md
Last active July 30, 2021 13:34
Event 2019-05-24: AWS w Python and AWS Chalice Intro at Dallas Makerspace

AWS Intro w Python

Taught by Noah Coad, Senior IoT Architect at AWS
at the Dallas Makerspace on 2019-05-24 and 2019-06-27

Overview

Amazon Web Services (AWS) provides essential building blocks to creating your own applications. Like code in the cloud (AWS Lambda), image recognition detection (AWS Rekognize), database (AWS DynamoDB), file storage (S3), etc. Through this course you'll get started on combining 6 of these AWS services together to build a cloud app that you can submit an image to, store it, detect elements in the image, store those in a database, and manage it all through a REST API. We'll be using a Python framework for AWS called AWS Chalice, which makes coding, connecting, testing, and deploying these compon

@CodeMyUI
CodeMyUI / full-width-blocks-one-page-website.markdown
Created October 27, 2016 01:13
Full width blocks - one page website
@aaronksaunders
aaronksaunders / app.js
Created September 27, 2011 02:42
Code For Parsing RSS Feed from YouTube used in Appcelerator Application
var processRSS = function(_feedURL, _tableView) {
// create table view data object
var data = [];
Ti.API.info(" "+_feedURL);
var xhr = Ti.Network.createHTTPClient();
xhr.open("GET",_feedURL.replace(/\"/g,""));
xhr.setRequestHeader('Accept', 'application/json');
xhr.onerror = function(e) {
@vasilisvg
vasilisvg / responsive-context-images.html
Created September 7, 2011 10:50
Responsive context aware images without cookies or server logic
<!doctype html>
<!--
WARNING!
You probably shouldn't use this technique since images never show up
if the script isn't loaded for one reason or another. Some reasons:
- The content is viewed using a RSS reader
- The content is viewed with a read-it-later service
- The user has a flaky connection (hotel wifi, Dutch train, etc)
-->
@khajer
khajer / gist:1064601
Created July 5, 2011 10:10
database titanium
var win = Titanium.UI.currentWindow;
win.backgroundImage = 'images/bg.png';
//database
var db = Titanium.Database.open('todolist');
db.execute('CREATE TABLE IF NOT EXISTS TODOLIST (ID INTEGER, TITLE TEXT, DETAIL TEXT, CREATEDATE DATETIME)');
var rows = db.execute('select * from todolist');
var data = [];
var cnt = 0;
@codeboxed
codeboxed / database.js
Created June 6, 2011 09:07
Titanium Mobile Database Class
/**
* Class name: database.js
* Author: Codeboxed
* URL: http://www.codeboxed.com
* Date: June 6, 2011
* Platform: Titanium
*/
var Database = function(dbPath, dbName, table, tableFields){
@dawsontoth
dawsontoth / InfiniteScrollableView.js
Created February 3, 2011 20:54
Infinite scrollable list.
/**
* We're going to create an infinite scrollable list. In this case, we're going to show a date. When you swipe left,
* you'll see yesterday. Then the day before yesterday, and so on. Swiping right shows you tomorrow, and so on.
*/
var win = Ti.UI.createWindow({ backgroundColor: '#fff' });
var isAndroid = Ti.Platform.osname === 'android';
/**
* Track where we are in the infinite scrollable views, and define how large of a step goes between each view.
*/
var currentDate = new Date(), msIntervalBetweenViews = 1000/*ms*/ * 60/*s*/ * 60/*m*/ * 24/*h*/;