Posts
-
request_store
Per-request global storage for Rack.
Ever needed to use a global variable in Rails? Ugh, that’s the worst. If you need global state, you’ve probably reached for
Thread.current. Like this:def self.foo Thread.current[:foo] ||= 0 end def self.foo=(value) Thread.current[:foo] = value endUgh! I hate it. But you gotta do what you gotta do…
Tags: #ruby
-
taggle.js
📝 Form-ready dependency-less tagging.
Yarn:
yarn add taggleNPM:
npm install taggle --saveBower:
bower install taggle --saveTags: #javascript • taggle • tags
-
dropplets
Welcome to an easier way to blog - A minimalist markdown blogging platform.
- Clone this repo
- Open a shell and navigate to the cloned repo
- Run the following command
git submodule update --init --recursive - Upload folder to hosting server or run locally with XAMPP
- Navigate to the URL of your host
https://(your url)/settings - Configure settings and click
Create Your Blog
Tags: #php • markdown • blog
-
boinc
Open-source software for volunteer computing and grid computing.
The University of California holds the copyright on all BOINC source code. By submitting contributions to the BOINC code, you irrevocably assign all right, title, and interest, including copyright and all copyright rights, in such contributions to The Regents of the University of California, who may then use the code for any purpose that it desires.
Tags: #php • boinc • distributed-computing
-
sequenceserver
Intuitive graphical web interface for running BLAST bioinformatics tool (i.e. have your own custom NCBI BLAST site!)
SequenceServer lets you rapidly set up a BLAST+ server with an intuitive user interface for personal or group use.
If you use SequenceServer, please cite our paper: Sequenceserver: A modern graphical user interface for custom BLAST databases. Molecular Biology and Evolution (2019).
Tags: #javascript • blast • bioinformatics
-
django-post_office
A Django app that allows you to send email asynchronously in Django. Supports HTML email, database backed templates and logging.
Django Post Office is a simple app to send and manage your emails in Django. Some awesome features are:
- Designed to scale, handles millions of emails efficiently
- Allows you to send email asynchronously
- Multi backend support
- Supports HTML email
- Supports inlined images in HTML email
- Supports database based email templates
- Supports multilingual email templates (i18n)
- Built in scheduling support
- Works well with task queues like RQ or Celery
- Uses multiprocessing and threading to send a large number of emails in parallel
Tags: #python
-
json_resume
Generates pretty HTML, LaTeX, markdown, with biodata feeded as input in JSON
JsonResume creates pretty versions of resume from a single JSON input file. Output formats are specifically customized to modern resume templates. Also, there are a ton of customizations to the templates possible, to make your own version of resume created easily and super quickly.
Tags: #ruby • json • html
-
swagger-to-graphql
Swagger to GraphQL API adapter
Swagger-to-GraphQL converts your existing Swagger schema to an executable GraphQL schema where resolvers perform HTTP calls to certain real endpoints. It allows you to move your API to GraphQL with nearly zero effort and maintain both REST and GraphQL APIs. Our CLI tool also allows you get the GraphQL schema in Schema Definition Language.
Try it online! You can paste in the url to your own Swagger schema. There are also public OpenAPI schemas available in the APIs.guru OpenAPI directory.
Tags: #typescript • swagger • graphql
-
yii2-widget-datepicker
Enhanced Yii2 wrapper for the bootstrap datepicker plugin (sub repo split from yii2-widgets)
The preferred way to install this extension is through composer. Check the composer.json for this extension’s requirements and dependencies. Read this web tip /wiki on setting the
minimum-stabilitysettings for your application’s composer.json.To install, either run
$ php composer.phar require kartik-v/yii2-widget-datepicker "@dev"or add
"kartik-v/yii2-widget-datepicker": "@dev"to the
requiresection of yourcomposer.jsonfile.Tags: #php
-
TvAppRepo
An app repository of Android TV apps
An app repository of Android TV apps
In Android TV’s stock launcher, all apps that appear must have the
LEANBACK_LAUNCHERattribute and have a TV banner. While this helps guarantee the app works on TVs, it can make it difficult for other apps to be launched. While it’s not impossible, it’s not as convenient as having an icon on the homescreen.Using a python script, tiny shortcut apps are generated and can be installed. They simply contain the face of a Leanback app. However, once they’re opened they simply redirect users to the intended app. It’s a simple workaround.
This workaround has a few advantages. By not modifying the APK directly, it allows updates to continue through the Google Play Store. In fact, the actual app isn’t touched at all. These shortcuts could point to anything: a website, a specific shortcut in an app, or basically any Intent.
The python script cannot be run in the app. The app contains several sideloading tools, including supporting #SIDELOADTAG, showing all your downloaded apps, and browsing apps that have generated shortcuts. The app should also be able to notify users when it needs to be updated.
Tags: #java • android-tv-apps • launcher-shortcuts
subscribe via RSS