A: You need to set ng-trim to false.
<input ng-model="model.name" ng-trim="false />
<?php | |
namespace App\Listener\Exception; | |
use App\Exception\ValidationFailedException; | |
use JMS\DiExtraBundle\Annotation as DI; | |
use Symfony\Component\Console\Event\ConsoleExceptionEvent; | |
use Symfony\Component\Console\Helper\Table; | |
use Symfony\Component\Console\Output\ConsoleOutputInterface; | |
use Symfony\Component\HttpFoundation\JsonResponse; |
function cssLoad(url, callback) { | |
var promise, | |
resolutions = [], | |
rejections = [], | |
resolved = false, | |
rejected = false, | |
count, id; |
#!/bin/bash | |
echo "Building Ionic/Cordova iOS release..." | |
ionic build --release ios | |
# Save current directory and cd to other dir | |
pushd platforms/ios/ | |
# Build archive | |
xcodebuild -scheme "MyApp" -configuration Release clean archive | |
# Can also specify archive path: |
Make and run
apt-get source openssh-server
apt-get install libssl-dev
cd openssh-6.6p1
# Apply patch
patch -p1 openssh/openssh-6.6p1/auth2-pubkey.c < auth2-pubkey.c.patch
webfont.DomHelper.prototype.setCssStyle = function(styleNode, body) { | |
if (styleNode.styleSheet) { | |
styleNode.styleSheet.cssText = body; | |
} else { | |
styleNode.appendChild(this.document_.createTextNode(body)); | |
} | |
return styleNode; | |
} | |
/** |
import sys | |
import collections | |
import gridfs | |
import io | |
import psycopg2 | |
import pymongo | |
import random | |
import time | |
# For fairness use the same chunk size - 512k. |
cp /Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions ~/Library/Preferences/WebIde* | |
echo -ne "\n-Dawt.useSystemAAFontSettings=lcd\n-Dawt.java2d.opengl=true" >> ~/Library/Preferences/WebIde*/phpstorm.vmoptions |
import { createTestingApp } from '@deepkit/framework'; | |
import { ControllerSymbol, rpc } from '@deepkit/rpc'; | |
import { entity } from '@deepkit/type'; | |
import { | |
webSocketFetchRequestHandler, | |
CloudflareWorkerRpcWebSocketClient, | |
} from '../src'; | |
// https://miniflare.dev/testing/jest |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>WebKit contentEditable focus bug workaround</title> | |
<script type='text/javascript' src='http://code.jquery.com/jquery-1.6.2.js'></script> | |
<script type='text/javascript'> | |
//<![CDATA[ | |
$(function(){ |