As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
ps ax --sort %cpu --format pid|tail -n 1|xargs kill |
namespace Fmdb\CoreBundle\Composer; | |
use Sensio\Bundle\DistributionBundle\Composer\ScriptHandler as BaseScriptHandler; | |
use Symfony\Component\ClassLoader\ClassCollectionLoader; | |
use Symfony\Component\Process\Process; | |
class ScriptHandler extends BaseScriptHandler | |
{ | |
public static function installBowerAssets($event) | |
{ |
server { | |
listen 80; | |
server_name example.com; | |
access_log /var/log/nginx/example.access.log; | |
error_log /var/log/nginx/example.error.log; | |
root /home/me/workspace/example/app/webroot/; | |
charset utf-8; | |
index index.php index.html index.htm; | |
location ~* \.(js|css|html?|xml|gz|jpe?g|gif|png|swf|wmv|flv|ico)$ { |
<?php | |
$pays = array( | |
"AD" => "Andorre", | |
"AE" => "Emirats arabes unis", | |
"AF" => "Afghanistan", | |
"AG" => "Antigua-et-barbuda", | |
"AI" => "Anguilla", | |
"AL" => "Albanie", | |
"AM" => "Arménie", | |
"AN" => "Antilles", |
<navigation:Page | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" | |
xmlns:player="clr-namespace:SilverlightAdvancedPlayer.Player;assembly=Core" | |
xmlns:smf="http://schemas.microsoft.com/smf/2010/xaml/player" | |
xmlns:Microsoft_SilverlightMediaFramework_Utilities_Offline="clr-namespace:Microsoft.SilverlightMediaFramework.Utilities.Offline;assembly=Microsoft.SilverlightMediaFramework.Utilities" | |
xmlns:System="clr-namespace:System;assembly=mscorlib" |
ln -s /mnt/usr/lib/* /usr/lib/ |
#!/bin/bash | |
for i in *.gif; do convert "$i" "${i%.gif}.png"; done |
public $components = array( | |
"Auth" => array( | |
'authenticate' => array( | |
'Form' => array( | |
'fields' => array('username' => 'email') | |
) | |
) | |
) | |
); |