(The Norwegian counterpart of this list: https://gist.github.com/olavgm/d6badb5b99390497019d)
- ll = j
- qui/que = ki/ke
- gui/gue = gi/ge
- h = <always silent>
- words that is said with a "b" might be spelled with a "v"
grunt.initConfig({ | |
curl: { | |
'/tmp/myDonwloadedFile.tar.gz': 'https://gitlab.fronter.net/facilitation/selenium-browser-drivers/raw/master/v1.0.0.tar.gz', | |
}, | |
untar: { | |
options: { | |
mode: 'tgz' | |
}, | |
files: { | |
'selenium/browser-drivers': '/tmp/myDonwloadedFile.tar.gz' |
### Keybase proof | |
I hereby claim: | |
* I am karl-gustav on github. | |
* I am karlgustav (https://keybase.io/karlgustav) on keybase. | |
* I have a public key whose fingerprint is 6CBC A750 D860 357D 7A36 5E62 4869 69E5 E7D5 5A76 | |
To claim this, I am signing this object: |
app.directive("myDirective", function(){ | |
return { | |
restrict: "EA", | |
scope: { | |
name: "@", | |
color: "=", | |
reverse: "&" | |
}, | |
template: [ | |
"<div class='line'>", |
// someController.js | |
angular | |
.module('app') | |
.controller('SomeController' , SomeController); | |
function SomeController() { } |
// someController.js | |
angular | |
.module('app') | |
.controller('SomeController', function () { }); | |
// someController.js | |
angular | |
.module('app') | |
.controller('SomeController', function SomeController () { }); |
(The Norwegian counterpart of this list: https://gist.github.com/olavgm/d6badb5b99390497019d)
if (!('startsWith' in String.prototype)) | |
Object.defineProperty(String.prototype, 'startsWith', { | |
value: function (searchString, position) { | |
if (Object.prototype.toString.call(searchString) === "[object RegExp]") | |
throw new TypeError("The search string cannot be a regular expression."); | |
if (position === undefined) | |
position = 0; | |
else | |
position = Math.min(Math.max(position, 0), this.length); | |
return this.lastIndexOf(searchString, position) === position; |
'use strict'; | |
var fs = require('fs'), | |
request = require('request'), | |
crypto = require('crypto'), | |
filePath = __dirname + '/frontend-src/po/translation-blueprints.pot', | |
translationBlueprints = fs.readFileSync(filePath), | |
hash = crypto.createHash('md5').update(translationBlueprints).digest('hex'), | |
url = 'http://translations.fronter.net/zanata/rest/file/source/login-service/master?docId=translation-blueprints', | |
formData = { | |
hash: hash, |
'use strict'; | |
var request = require('request'), | |
toFile = require('vinyl-source-stream'), | |
toBuffer = require('vinyl-buffer'), | |
mergeStream = require('merge2'), | |
ZANATA_USER = { | |
USERNAME: '<place username here>', | |
TOKEN: '<place token here>' | |
}; |