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 screen width and subtract Safe Area margins | |
var containerWidth:CGFloat = UIScreen.main.bounds.width - 32.0 | |
// Set frame width of each column using (containerWidth * percentage) | |
HStack (spacing:0) { | |
HStack { | |
Text("Column 25% Width") | |
} | |
.frame(width: containerWidth * 0.25) | |
HStack { |
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
[I'm an inline-style link](https://www.somewebsite.com) | |
[I'm an inline-style link with title](https://www.somewebsite.com "somewebsite's Homepage") | |
[I'm a reference-style link][Arbitrary case-insensitive reference text] | |
[I'm a relative reference to a repository file](../blob/master/LICENSE) | |
[You can use numbers for reference-style link definitions][1] |
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
{ | |
"stage" : "$context.stage", | |
#foreach( $key in $input.path('$').keySet() ) | |
"$key": "$input.path('$').get($key)"#if($foreach.hasNext), | |
#end | |
#end | |
} |
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 | |
/* SamlLogoutHandler.php, in the main project or a dedicated bundle */ | |
namespace AcmeBundle\Lib; | |
use Symfony\Component\Security\Http\Logout\LogoutSuccessHandlerInterface; | |
use Exception; | |
use LightSaml\Binding\AbstractBinding; | |
use LightSaml\Binding\BindingFactory; | |
use LightSaml\Context\Profile\MessageContext; |
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 | |
### NOTE | |
# Ideally, you should create an image from small partition (e.g., 4 GB) instead of the whole SD card (e.g., 32 GB). | |
# For example, an image for Raspbian image should be created by the following procdure: | |
# (1) Install the official Raspbian image (3.5 GB for Jessie) on an SD card | |
# (2) Manually expand the partition to a modest size to accommodate your base software (e.g., 4 GB) | |
# (3) Perform apt-get update and upgrade, install software and configuration that you want. | |
# (4) Create an image from that (4 GB) partition | |
# |
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
final Agent agent = new Agent.Iterative( | |
new Array<Agent>( | |
new Understands( | |
this.github, | |
new QnSince( | |
49092213, | |
new QnReferredTo( | |
this.github.users().self().login(), | |
new QnParametrized( | |
new Question.FirstOf( |
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
var gulp = require('gulp'), | |
sass = require('gulp-ruby-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
minifycss = require('gulp-minify-css'), | |
jshint = require('gulp-jshint'), | |
uglify = require('gulp-uglify'), | |
imagemin = require('gulp-imagemin'), | |
rename = require('gulp-rename'), | |
clean = require('gulp-clean'), | |
concat = require('gulp-concat'), |
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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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 | |
namespace My\Package\Validation; | |
use TYPO3\Flow\Persistence\RepositoryInterface; | |
class ExistsValidator extends \TYPO3\Flow\Validation\Validator\AbstractValidator { | |
/** | |
* @var array | |
*/ |
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
{ | |
"name": "christianjul/barebone-flow3", | |
"description" : "Barebone FLOW3 project", | |
"license": "LGPL-3.0+", | |
"authors": [ | |
{ | |
"name": "Christian Jul Jensen", | |
"email": "[email protected]" | |
} | |
], |
NewerOlder