2015-10-21
- jennifer
- martym
const { withDangerousMod, withPlugins } = require("@expo/config-plugins"); | |
const { | |
mergeContents, | |
} = require("@expo/config-plugins/build/utils/generateCode"); | |
const fs = require("fs"); | |
const path = require("path"); | |
async function readFileAsync(path) { | |
return fs.promises.readFile(path, "utf8"); | |
} |
const fs = require('fs') | |
const path = require('path') | |
const { execFile } = require('child_process') | |
function lastCommitId(dir) { | |
return new Promise((resolve, reject) => { | |
const gitArgs = [ | |
`--git-dir=${path.join(dir, '.git')}`, | |
`--work-tree=${dir}`, | |
'rev-parse', |
const { | |
AndroidConfig, | |
WarningAggregator, | |
withAndroidManifest, | |
withAppDelegate, | |
withDangerousMod, | |
withInfoPlist, | |
withMainActivity, | |
withPlugins, | |
} = require('@expo/config-plugins') |
function compoundUnicode(str) { | |
return `${str}` | |
.replace(/\u0065\u0309/g, '\u1EBB') // ẻ | |
.replace(/\u0065\u0301/g, '\u00E9') // é | |
.replace(/\u0065\u0300/g, '\u00E8') // è | |
.replace(/\u0065\u0323/g, '\u1EB9') // ẹ | |
.replace(/\u0065\u0303/g, '\u1EBD') // ẽ | |
.replace(/\u00EA\u0309/g, '\u1EC3') // ể | |
.replace(/\u00EA\u0301/g, '\u1EBF') // ế | |
.replace(/\u00EA\u0300/g, '\u1EC1') // ề |
package handler | |
type ( | |
options struct { | |
MaxPayload int64 | |
} | |
// HandlerOptions is a function that configures the handler. | |
HandlerOptions func(*options) | |
) |
I hereby claim:
To claim this, I am signing this object:
package floww | |
import ( | |
"bytes" | |
"crypto/hmac" | |
"crypto/md5" | |
"crypto/sha256" | |
"encoding/hex" | |
"fmt" | |
"io" |
package hashcode | |
import "hash" | |
const Size = 4 | |
func NewHash() hash.Hash32 { | |
var s sum32 = 0 | |
return &s | |
} |
package softdelete | |
import ( | |
"context" | |
"entgo.io/contrib/entgql" | |
"entgo.io/ent" | |
"entgo.io/ent/entql" | |
"entgo.io/ent/schema/field" | |
"entgo.io/ent/schema/mixin" |