Skip to content

Instantly share code, notes, and snippets.

View Baadier-Sydow's full-sized avatar
🎯
Focusing

Baadier Sydow Baadier-Sydow

🎯
Focusing
View GitHub Profile
@kafaichoi
kafaichoi / gist:a6f8bda444da4e3a5886
Created September 17, 2014 06:39
Setting Up test build for Ionic App for HockeyApp
Register in HockeyApp
-Android
1. cordova build --release android
2. keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
3. jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore HelloWorld-release-unsigned.apk alias_name
4. zipalign -v 4 HelloWorld-release-unsigned.apk HelloWorld.apk
5. upload apk file to HockeyApp
-IOS
1. cordova build --release ios
@pbojinov
pbojinov / README.md
Last active June 24, 2024 05:39
Two way iframe communication- Check out working example here: http://pbojinov.github.io/iframe-communication/

Two way iframe communication

The main difference between the two pages is the method of sending messages. Recieving messages is the same in both.

Parent

Send messages to iframe using iframeEl.contentWindow.postMessage Recieve messages using window.addEventListener('message')

iframe

@refringe
refringe / sendy-server
Last active February 5, 2024 07:50
Nginx configuration file example for Sendy (http://sendy.co/).
server {
listen 80;
listen [::]:80;
server_name domain.com;
autoindex off;
index index.php index.html;
root /srv/www/domain.com/public;
@slogsdon
slogsdon / Ranking.php
Created September 15, 2012 03:42
Reddit Ranking Algorithms in PHP
<?php
/**
* Ranking Library
* contains alogrithms for story ranking
* Basically a PHP Implementation of reddits algorithms
*
* @author Lucas Nolte <lnolte@i.biz>
* @since 0.1
* @package Polska Wiadomosc
* @subpackage Libraries
@lamprosg
lamprosg / qtxml.cpp
Created March 20, 2012 10:11
Writing and reading XML files with Qt - qxmlstreamwriter and qxmlstreamreader provided classes
//Writing and reading XML files with Qt - qxmlstreamwriter and qxmlstreamreader supported classes
void MyXMLClass::SaveXMLFile()
{
QString filename = QFileDialog::getSaveFileName(this,
tr("Save Xml"), ".",
tr("Xml files (*.xml)"));