Posts

  • wenyanizer

    代碼如詩 Parse JavaScript Code to Wenyan Lang

    Inspired by the great Wenyan Lang project, which compile ancient Chinese Language to javascript code, I build this project to do the opposite thing – to parse javascript to Wenyan.

    Tags: #typescript

  • devise-otp

    Two Factors authentication for Devise using Time Based OTP/rfc6238 tokens.

    Devise OTP is a two-factors authentication extension for Devise. The second factor is done using an RFC 6238 Time-Based One-Time Password (TOTP) implemented by the rotp library.

    It has the following features:

    • Optional and mandatory OTP enforcement
    • Setting up trusted browsers for limited access
    • Generating QR codes

    Some of the compatible token devices are:

    Device OTP was recently updated to work with Rails 7 and Turbo.

    Tags: #ruby

  • terrapin

    Run shell commands safely, even with user-supplied values

    Run shell commands safely, even with user-supplied values

    API reference

    Tags: #ruby

  • Open-Web-Analytics

    Official repository for Open Web Analytics which is an open source alternative to commercial tools such as Google Analytics. Stay in control of the data you collect about the use of your website or app. Please consider sponsoring this project.

    Open Web Analytics is an open source alternative to commercial web analytics tools such as Google Analytics. This software allows you to stay in control of the data you collect about the user of your websites or applications.

    This repository installs the OWA Server and Javascript tracking client which can easily be added to web pages.

    Tags: #php • web-analytics • privacy

  • VideoAdBlockForTwitch

    Blocks Ads on Twitch.tv.

    Twitch Adblock blocks ads on Twitch by switching to an ad-free version of the stream at 480p during the ad-time and automatically switches back to the original video quality after the ad-time is over. This is 100% done locally, no proxies/VPNs or 3rd party scripts/websites are being used. This extension does not collect/share any of your personal information and the code is public.

    It is recommended to use this extension along with UBlock Origin.

    Sourcecode: https://github.com/cleanlock/VideoAdBlockForTwitch

    The original author of this extension is “saucettv”. This extension will always stay donation- and referral-link free.

    Tags: #javascript

  • analytics-reporter

    Lightweight analytics reporting and publishing tool for Google Analytics data.

    A lightweight system for publishing analytics data from Google Analytics profiles. Uses the Google Analytics Core Reporting API v3 and the Google Analytics Real Time API v3.

    This is used in combination with 18F/analytics.usa.gov to power the government analytics hub, analytics.usa.gov.

    Available reports are named and described in reports.json. For now, they’re hardcoded into the repository.

    Tags: #javascript • analytics • google-analytics

  • use-media

    useMedia React hook to track CSS media query state

    useMedia React sensor hook that tracks state of a CSS media query.

    Tags: #typescript

  • eslint-config-standard-react

    ESLint Shareable Config for React/JSX support in JavaScript Standard Style

    Tags: #javascript • development • ecmascript

  • fect

    Minimalist UI components built on Vue-next

    1. run yarn add @fect-ui/vue or npm install @fect-ui/vue install it

    2. import into project

    import { createApp } from 'vue'
    import App from './App.vue'
    import FectUI from '@fect-ui/vue'
    import '@fect-ui/themes'
    import '@fect-ui/vue/dist/cjs/main.css'
    
    createApp(App).use(FectUI).mount('#app')
    

    Tags: #typescript • vue3 • ui-library

  • clime

    ⌨ The command-line interface framework for TypeScript.

    The command-line interface framework for TypeScript, fully tested with baseman.

    Tags: #typescript • command-line-parser • clime

subscribe via RSS