I hereby claim:
- I am korczis on github.
- I am korcziscarvago (https://keybase.io/korcziscarvago) on keybase.
- I have a public key ASD9lJasgCz70Rs3H7TenORkgnVzGqk1hjnZvG-AurFiCwo
To claim this, I am signing this object:
defmodule Ecto.QueryStream do | |
@moduledoc """ | |
A module to create a stream from an Ecto query. | |
This module provides functionality to stream results from an Ecto query in a paginated manner. | |
It is useful for handling large datasets efficiently by loading records in batches. | |
## Example Usage | |
query = from u in User, where: u.age > 30 |
I hereby claim:
To claim this, I am signing this object:
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix |
Last login: Wed Aug 14 10:38:51 on ttys027 | |
korCZis-452069:~ korczis$ cd dev | |
korCZis-452069:dev korczis$ cd tmp | |
korCZis-452069:tmp korczis$ git clone git@gitlab.skypicker.com:template-automation/nest-egg-be.git | |
fatal: destination path 'nest-egg-be' already exists and is not an empty directory. | |
korCZis-452069:tmp korczis$ rm -rf ./* | |
korCZis-452069:tmp korczis$ git clone git@gitlab.skypicker.com:template-automation/nest-egg-be.git | |
Cloning into 'nest-egg-be'... | |
remote: Enumerating objects: 1505, done. | |
remote: Counting objects: 100% (1505/1505), done. |
I hereby claim:
To claim this, I am signing this object:
function add(a, b) { | |
return a + b | |
} |
#!/bin/sh | |
# download | |
wget http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.4.zip | |
# unzip and start | |
unzip elasticsearch-0.20.4.zip | |
cd elasticsearch-0.20.4 | |
# remove data in case you have defined some analyzers in the past (e.g. stop/start) | |
rm -rf data/ |
pub fn inode_get_project(inode: u64) -> u16 { | |
(inode >> 48) as u16 | |
} | |
pub fn inode_get_category(inode: u64) -> u8 { | |
((inode >> 40) & 0xff) as u8 | |
} | |
pub fn inode_get_item(inode: u64) -> u32 { | |
((inode >> 8) & 0xffffffff) as u32 |
import earcut from 'earcut'; | |
import topojson from 'topojson'; | |
import math from 'mathjs'; | |
const triangulateTopojson = (res) => { | |
const totalStart = performance.now(); | |
const key = Object.keys(res.objects)[0]; | |
let start = performance.now(); | |
const geojson = topojson.mesh(res, res.objects[key]); |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> | |
</head> | |
<body> | |
<h1>Deferred Calculation</h1> | |
<div id="results" style="background-color: #FF00FF"></div> |