This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd $APPIUM_HOME | |
node . &> /dev/null & | |
cd $HOME/Works/Workspaces/mobile-team/startsiden-app/ | |
ti build -p ios -f -b | |
ti build -p android -f -b | |
rm -rf test/appium/build/ios/* | |
rm -rf test/appium/build/android/* | |
cp -RfX build/iphone/build/Debug-iphonesimulator/* test/appium/build/ios/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ti build -p ios -T dist-adhoc -R <certificate> -P <provisioning id> -O <output path> | |
sample: | |
ti build -p ios -T dist-adhoc -R "ABC Startsiden AS (R87Q7ZL5GR)" -P 462F2756-4BCA-4AEC-B43E-D7C2F9BD3AFB -O /Users/B-Pussaaon/Desktop/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in config.json ------------------------------------------------------------------ | |
{ | |
"global": { | |
"dev": { | |
"feedback_mailto": "[email protected]", | |
"feedback_api": "http://kua.abcmedia.no/feedback/send" | |
}, | |
"qa": { | |
"feedback_mailto": "[email protected]", | |
"feedback_api": "http://kua.abcmedia.no/feedback/send" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Auto-guessed '5.19.9' | |
2 | |
3 Beginning of configuration questions for perl5. | |
4 | |
5 Checking echo to see how to suppress newlines... | |
6 ...using \c | |
7 The star should be here-->* | |
8 | |
9 First let's make sure your kit is complete. Checking... | |
10 Looks good... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script> | |
function a(b) { | |
this.t = {}; | |
this.tick = function(b, f, d) { | |
this.t[b] = [void 0 != d ? d : (new Date).getTime(), f] | |
}; | |
this.tick("start", null, b) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use LWP::UserAgent; | |
use JSON; | |
my $query = 'Norway'; | |
my $ua = LWP::UserAgent->new; | |
my $account_key = 'VHqbZUljwrsMUrVUBjTMPVD1SaY4aReHQYBPtk8dcGg='; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/**** | |
* PHP proxy for using the Bing Search API with AJAX | |
*/ | |
$acctKey = 'xxx'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. first install module Catalyst::View::Email::Template, Catalyst::View::Email | |
# 2. create email template view | |
# 3. in config add these | |
View::Email::Template: | |
template_prefix: email | |
default: | |
view: HTML | |
content_type: text/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /stories/fairytale/_search | |
{ | |
"query": { | |
"filtered": { | |
"query": { | |
"match_all": {} | |
}, | |
"filter": { | |
"or": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 1. first create the menu list --> | |
<ul class="my-menu"> | |
<li data-id="id-1" class="menu current"> | |
<a href="#">hello world 1</a> | |
</li> | |
<li data-id="id-2" class="menu"> | |
<a href="#">hello world 2</a> | |
</li> | |
<li data-id="id-3" class="menu"> | |
<a href="#">hello world 3</a> |
NewerOlder