I hereby claim:
- I am nmabhinandan on github.
- I am nmabhinandan (https://keybase.io/nmabhinandan) on keybase.
- I have a public key whose fingerprint is D3EC F976 C2EC E8EE BC1E 6949 6269 798F 5377 A3BB
To claim this, I am signing this object:
| import { ServerSentEventGenerator as AbstractSSEGenerator } from '@starfederation/datastar-sdk/src/abstractServerSentEventGenerator' | |
| import type { DatastarEventOptions, EventType, MergeFragmentsOptions } from '@starfederation/datastar-sdk/src/types' | |
| import type { Context } from 'hono' | |
| import type { JSX } from 'hono/jsx/jsx-runtime' | |
| import type { SSEStreamingApi } from 'hono/streaming' | |
| import { streamSSE } from 'hono/streaming' | |
| import type { Jsonifiable } from 'type-fest' | |
| export function isRecord(obj: unknown): obj is Record<string, Jsonifiable> { | |
| return typeof obj === 'object' && obj !== null |
| if($args[0] -eq "start") { | |
| Start-Process -FilePath dgraph.exe -PassThru -WindowStyle hidden -ArgumentList "alpha", "--lru_mb 1024" -WorkingDirectory . | |
| Start-Process -FilePath dgraph.exe -PassThru -WindowStyle hidden -ArgumentList "zero" -WorkingDirectory . | |
| Start-Process -FilePath dgraph-ratel.exe -PassThru -WindowStyle hidden -WorkingDirectory . | |
| } elseif($args[0] -eq "stop") { | |
| Stop-Process -Name dgraph -Force | |
| Stop-Process -Name dgraph-ratel -Force | |
| } |
| function createSearchIndex(tags, data) { | |
| if (schema === null || !Array.isArray(tags)) { | |
| return false; | |
| } | |
| if (data === null || !Array.isArray(data)) { | |
| return false; | |
| } | |
| let searchIndex = lunr(function () { | |
| this.ref('id') |
I hereby claim:
To claim this, I am signing this object:
| -server | |
| -Xms4g | |
| -Xmx4g | |
| -XX:NewRatio=3 | |
| -Xss16m | |
| -XX:+CMSParallelRemarkEnabled | |
| -XX:ConcGCThreads=4 | |
| -XX:+AlwaysPreTouch | |
| -XX:+TieredCompilation | |
| -XX:+UseCompressedOops |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <stdbool.h> | |
| bool anyMatch(int32_t num1, int32_t num2) { | |
| while(true) { | |
| if ((num2 % 10) == num1) { | |
| return true; | |
| } |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <assert.h> | |
| typedef struct __array__ | |
| { | |
| int* data; | |
| int capacity; | |
| int size; | |
| int max; |
I hereby claim:
To claim this, I am signing this object:
| atom.commands.add 'atom-text-editor', 'godep:save', => | |
| sys = require('sys') | |
| exec = require('child_process').exec | |
| godep_save_cmd = "godep save -r" | |
| child = exec godep_save_cmd, (error, stdout, stderr) -> | |
| console.log('\ngodep stdout: ' + stdout); | |
| console.log ('\ngodep stderr: ' + stderr); | |
| if error |
| var gulp = require('gulp'); | |
| var babel = require('gulp-babel'); | |
| var uglify = require('gulp-uglify'); | |
| var sass = require('gulp-sass'); | |
| var sourcemaps = require("gulp-sourcemaps"); | |
| var postcss = require('gulp-postcss'); | |
| var autoprefixer = require('autoprefixer'); | |
| var cssnano = require('cssnano'); | |
| var nodemon = require('gulp-nodemon'); | |
| var path = require('path'); |