loadkeys fr-latin1 # Select fr-latin1 keymap
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/Acme/CoreBundle/Listener/LocaleConsoleCommandListener.php | |
namespace Acme\CoreBundle\Listener; | |
use Symfony\Component\Console\Event\ConsoleCommandEvent; | |
use Symfony\Component\Console\Input\InputOption; | |
/** | |
* Class LocaleConsoleCommandListener |
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
<!-- main timeline section --> | |
<section id="cd-timeline" class="cd-container cssanimations"> | |
<!-- single timeline event --> | |
<div class="cd-timeline-block"> | |
<div class="cd-timeline-img cd-picture"> | |
<img src="event-calender.png" /> | |
</div> | |
<div class="cd-timeline-content"> | |
<h2>Event 1</h2> | |
<p>Event 1 Description </p> |
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
framework: | |
assets: | |
base_urls: | |
- 'http://%assets.request_context.host%' | |
- 'https://%assets.request_context.host%' |
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
body { | |
background: #FDFDFD; | |
font-family: "Segoe WP","Segoe UI", Helvetica, Arial, sans-serif; | |
text-align:center; | |
} | |
h1, h2 { | |
color: #888; | |
margin:0; | |
font-weight:normal; | |
} |
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
https://gist.github.com/flohw/34d67952027690203323cd04016a9089 # only the material part | |
------- | |
-- THEN | |
------- | |
sudo /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification --partition 2 | |
sudo /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification --partition 4 | |
reboot |
See some of the configuration files bellow
Complete file name should be added at the top of the file in comment.
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 App\Controller; | |
use App\Rest\Annotations\PaginationParams; | |
use FOS\RestBundle\Controller\Annotations as FOSRest; | |
use FOS\RestBundle\Request\ParamFetcherInterface; | |
class ArticleListController extends AbstractFOSRestController | |
{ |
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
// https://codepen.io/zadvorsky/pen/PNXbGo | |
window.onload = init; | |
console.ward = function() {}; // what warnings? | |
function init() { | |
var root = new THREERoot({ | |
createCameraControls: !true, | |
antialias: (window.devicePixelRatio === 1), | |
fov: 80 |
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
resolve(route: ActivatedRouteSnapshot): Observable<T> | Promise<T> | T { | |
return this.list.get(route.paramMap.get('id')) | |
.pipe(catchError((err: HttpErrorResponse) => { | |
if (err.status === 404) { | |
this.flashes.danger('Élément non trouvé', 'L\'élément que vous cherchez n\'exsite pas.'); | |
this.router.navigate([this.redirectTo]); | |
return EMPTY; | |
} |
OlderNewer