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
_loadResourcesAsync = async () => { | |
return Promise.all([ | |
Asset.loadAsync([ | |
require('./assets/images/robot-dev.png'), | |
require('./assets/images/robot-prod.png'), | |
]), | |
Font.loadAsync({ | |
// This is the font that we are using for our tab bar | |
...Ionicons.font, | |
// We include SpaceMono because we use it in HomeScreen.js. Feel free |
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
<Container> | |
<Content> | |
<Card> | |
<CardItem cardBody> | |
<Image source={{uri: 'https://images.unsplash.com/photo-1445052520430-32c8ebc92fe3?crop=entropy&dpr=2&fit=crop&fm=jpg&h=825&ixjsv=2.1.0&ixlib=rb-0.3.5&q=50&w=1450'}} style={{height: 200, width: null, flex: 1}}/> | |
</CardItem> | |
<CardItem> | |
<Title>{user.firstName + " " + user.lastName}</Title> | |
</CardItem> | |
<CardItem> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<soap:Header> | |
<AutotaskIntegrations xmlns="http://autotask.net/ATWS/v1_5/"> | |
<PartnerID> | |
</PartnerID> | |
<IntegrationCode> | |
</IntegrationCode> | |
</AutotaskIntegrations> | |
</soap:Header> |
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
eDirectory sudo commands (If IDP) | |
* /opt/novell/eDirectory/bin | |
* /etc/init.d/ndsd | |
NAM sudo commands | |
* /etc/init.d/ndsd | |
- service commands | |
* novell-ac | |
* novell-idp |
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
function playMedia(media) { | |
alert(media); | |
const sound = new Sound(media, (error) => { | |
if (error) { | |
console.log(error); | |
} else { | |
console.log('Playing sound'); | |
console.log(`Duration in seconds: ${sound.getDuration()}`); | |
// Get the current playback point in seconds | |
sound.getCurrentTime(seconds => console.log(`at ${seconds}`)); |
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/env bash | |
# OpenSSL requires the port number. | |
SERVER=10.10.1.7:1080 | |
DELAY=1 | |
ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g') | |
echo Obtaining cipher list from $(openssl version). | |
for cipher in ${ciphers[@]} |
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/sh | |
# Copyright (c) 2010 Novell, Inc. | |
# All rights reserved. | |
# | |
#! /bin/sh | |
#! /etc/init.d/idp_8443_redirect | |
# ### BEGIN INIT INFO | |
# Provides: idp_8443_redirect | |
# Required-Start: $network $syslog $novell-jcc | |
# Required-Stop: $network $syslog $novell-jcc |
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
class SongApi { | |
static getAllSongs() { | |
return fetch('http://wellspring-fellowship.github.io/site.json').then(response => { | |
return response.json(); | |
}).catch(error => { | |
return error; | |
}); | |
} | |
} |
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
import * as types from './actionTypes'; | |
import songApi from '../api/songApi'; | |
export function loadSongsSuccess(songs) { | |
return {type: 'LOAD_SONGS_SUCCESS', songs}; | |
} | |
export function loadSongs() { | |
return function(dispatch) { |
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
const dataW = [ | |
{ | |
"id": "1", | |
"type": "messages", | |
"attributes": { | |
"body": "Example Message 1", | |
"updated-at": "2016-12-28T18:32:50.176Z" | |
} | |
} | |
] |