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
# src/Acme/Bundle/DemoBundle/Resources/views/layouts/base/theme.yml (original not used) | |
# src/AppBundle/Resources/views/layouts/first_theme/theme.yml (actually used path) | |
# The layout theme that is used to add the page content and common page elements | |
label: Nice custom theme | |
directory: Demo_theme |
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
# src/AppBundle/Resources/config/oro/bundles.yml | |
bundles: | |
- AppBundle\AppBundle |
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 | |
// src/AppBundle/AppBundle.php | |
namespace AppBundle; | |
use Symfony\Component\HttpKernel\Bundle\Bundle; | |
class AppBundle extends Bundle | |
{ | |
} |
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
# Creating the scripts directory | |
DIR=$HOME"/scripts" | |
if [ ! -d "$DIR" ]; then | |
mkdir ~/scripts | |
fi | |
read -p "Script name: " FILE | |
echo "Creating script: $FILE!" | |
FILEPATH=$DIR"/"$FILE |
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 _R from 'react'; | |
import { StyledComponentClass as _S } from 'styled-components'; | |
import styled from '../../utility/styled'; | |
// import ThemeType from '../../types/ThemeType'; | |
type PropsType = {}; | |
const Styled$@ = styled.div` | |
border: 1px solid red; | |
`; |
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 { storiesOf } from '@storybook/react'; | |
import React from 'react'; | |
import $@ from '.'; | |
storiesOf('$@', module).add('Default', () => { | |
return <$@>Foo</$@>; | |
}); |
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 React, { FunctionComponent } from 'react'; | |
import Styled$@ from './style'; | |
type PropsType = {}; | |
const $@: FunctionComponent<PropsType> = (props): JSX.Element => ( | |
<Styled$@> | |
{props.children} | |
</Styled$@> | |
); |
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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>BackgroundBlur</key> | |
<real>0.40000000000000002</real> | |
<key>BackgroundColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGKyxYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKcHCBMZHSQoVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T |
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
foreach (scandir($dir) as $filename) { | |
$path = $dir . $filename; | |
if (is_file($path) && $filename !== '.DS_Store') { | |
require_once $path; | |
} | |
} |
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
// Component triggers the OSX notification pop-up | |
// | |
// Usage: | |
// const notify = require('./notify'); | |
// notify('hello'); | |
const osascript = require('node-osascript'); | |
module.exports = (msg) => { |
NewerOlder