Skip to content
View ca0v's full-sized avatar
  • Greenville, SC
Block or Report

Block or report ca0v

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ca0v/README.md

Corey Alix

I'm currently building a personal web presence while looking for a great job to finish the 4th quarter of my career strong and satisfied.

My CV is here.

Projects

These projects had a purpose beyond practicing with technology. Some are behind a API key firewall but you can view source on all of them and they are all in a public github repo.

Labs

These are exploratory projects that I've done to learn a new technology or to practice with a technology I'm already familiar with. They are all in a public github repo.

Resources

Pinned Loading

  1. Typescript Debounce Typescript Debounce
    1
    // ts 3.6x
    2
    function debounce<T extends Function>(cb: T, wait = 20) {
    3
        let h = 0;
    4
        let callable = (...args: any) => {
    5
            clearTimeout(h);
  2. AMD RequireJS for ESM AMD RequireJS for ESM
    1
    const modules = <Record<string, any>>{};
    2
    
                  
    3
    function asAppPath(mid: string): string {
    4
      // depends on app, workaround for not supporting requirejs.config
    5
      if (mid.startsWith("app")) return `../../${mid}.js`;
  3. deep-extend array merge when key val... deep-extend array merge when key values exist
    1
    function merge(key: string, ...arrays: Array<any>[]) {
    2
    
                  
    3
        // skip trivial arrays
    4
        arrays = arrays.filter(a => !!a && 0 < a.length);
    5
        var result = arrays.shift();
  4. svelte gems svelte gems
    1
    /**
    2
     * Defines the component lifecycle-ish? (maybe HtmlTag in dom.ts is a parital implementation?)
    3
     * Relates to chunks in Block.ts
    4
     */
    5
    interface Fragment {
  5. wildcard.ts wildcard.ts
    1
    // polyfill for RegExp.escape
    2
    if(!RegExp.escape){
    3
        RegExp.escape = function(s){
    4
          return String(s).replace(/[\\^$*+?.()|[\]{}]/g, '\\$&');
    5
        };