This file contains hidden or 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
cmake_minimum_required(VERSION 3.10) | |
project(obs_headless_poc) | |
set(obs_include_dir ${CMAKE_CURRENT_SOURCE_DIR}/obs-studio/libobs/) | |
set(obs_lib_dir ${CMAKE_CURRENT_SOURCE_DIR}/obs-studio/build/libobs/) | |
include_directories(/home/myplay/dev/obs-headless-poc/obs-studio/libobs) | |
link_directories(/home/myplay/dev/obs-headless-poc/obs-studio/build/libobs) |
This file contains hidden or 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
{ | |
"Use Non-ASCII Font" : false, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Green Component" : 0.3333333432674408, | |
"Red Component" : 0.3333333432674408, | |
"Blue Component" : 1 | |
}, |
This file contains hidden or 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
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www/student/public_html | |
ServerName test.eyal.website | |
Redirect permanent / https://test.co.il | |
<Directory /var/www/student/public_html> | |
Options FollowSymLinks | |
AllowOverride All | |
Require all granted |
This file contains hidden or 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
selection: #607d8b | |
background: #263238 | |
foreground: #eceff1 | |
bold: #eeeeee | |
links: #005cbb |
This file contains hidden or 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 React from 'react'; | |
class App extends Component { | |
this.unblock = this.props.history.block(nextLocation => this.getShouldBlockTransition(nextLocation)); | |
getShouldBlockTransition = nextLocation => { | |
// shouldBlock is a boolean which represent if history should block/not to block. | |
// If set to true, the user wont be able to exit, and on false he will. | |
return shouldBlock; | |
} |
This file contains hidden or 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 WizardContainer extends Component { | |
state = { | |
shouldRenderWizard: true | |
} | |
toggleWizard = () => this.setState(prevState => ({ shouldRednerWizard: !prevState.shouldRenderWizard })); | |
render() { | |
return this.state.shouldRenderWizard ? <Wizard onDismiss={this.toggleWizard} /> : null; | |
} |
This file contains hidden or 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 props = { | |
unrequiredShape: PropTypes.shape({ | |
requiredStringInShape: PropTypes.string.isRequired | |
}) | |
} |
This file contains hidden or 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
// At the top of our file | |
import { MaterialIcons, Octicons } from '@expo/vector-icons'; | |
// In our App class | |
render() { | |
const { width } = Dimensions.get('window'); | |
return ( | |
<View style={styles.container}> | |
<View> |
This file contains hidden or 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
export default class App extends React.Component { | |
state = { | |
mute: false, | |
shouldPlay: true, | |
} | |
handlePlayAndPause = () => { | |
this.setState((prevState) => ({ | |
shouldPlay: !prevState.shouldPlay | |
})); |