This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { FlatfileEvent, FlatfileListener } from "@flatfile/listener"; | |
import { Flatfile } from "@flatfile/api"; | |
/** | |
* Reaction plugin for Flatfile. | |
* | |
* @param options | |
* @param callback | |
*/ | |
export function streamData<T extends StreamActionOptions>( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated by dts-bundle v0.7.3 | |
// Dependencies for this module: | |
// ../stream | |
// ../@ungap/url-search-params | |
// ../axios | |
declare module '@flatfile/api' { | |
import { FlatfileClient } from "@flatfile/api/wrapper/FlatfileClient"; | |
export * as Flatfile from "@flatfile/api/api"; | |
export { FlatfileClient } from "@flatfile/api/wrapper/FlatfileClient"; |
I had a client who I built a site for (ecommerce) that had a lot of high resolution images. (running about 500gb/mo). Cloudinary charges $500/mo for this usage and Amazon charges about $40. I wrote some middleware that I used to wrap my cloudinary urls with in order to enable caching. This is entirely transparent and still enables you to use all the cool cloudinary effect and resizing functions. Hopefully this is useful to someone!
I think using deasync()
here is janky but I couldn't think of another way to do it that allowed for quite as easy a fix.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Bundles\API; | |
use Exception; | |
use bundles\SQL\ListObj; | |
use e; | |
class Expression { | |
private static $comparison = array('gt' => '>','min' => '>=','max' => '<=','gte' => '>=','in' => '?','lt' => '<','lte' => '<=','ne' => '!=','nin' => '?','range' => '?','eq' => '=','contains' => '?'); |
I hereby claim:
- I am dboskovic on github.
- I am dboskovic (https://keybase.io/dboskovic) on keybase.
- I have a public key whose fingerprint is 5C13 F5EC 1F07 4E47 55DC E474 5F34 D0E1 B0C5 DF60
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var EnvoyPlatform = require('envoy-platform'); | |
var plugin = new EnvoyPlatform; | |
plugin.route('hello-world', function(req, res){ | |
res.view('hello-world.html'); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Bundles\CSV; | |
ini_set('auto_detect_line_endings', 1); | |
use Exception; | |
use e; | |
/** | |
* CSV File Parser | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$countries = array | |
( | |
'AF' => 'Afghanistan', | |
'AX' => 'Aland Islands', | |
'AL' => 'Albania', | |
'DZ' => 'Algeria', | |
'AS' => 'American Samoa', | |
'AD' => 'Andorra', |
the 404 page as seen on https://anandubajith.github.io/
A Pen by Anandu B Ajith on CodePen.
NewerOlder