Posts
-
VIP-Coding-Standards
PHP_CodeSniffer ruleset to enforce WordPress.com VIP and VIP Go coding standards
This project contains PHP_CodeSniffer (PHPCS) sniffs and rulesets to validate code developed for WordPress VIP.
This project contains two rulesets:
WordPressVIPMinimum- for use with projects on the (older) WordPress.com VIP platform.WordPress-VIP-Go- for use with projects on the (newer) VIP Go platform.
These rulesets contain only the rules which are considered to be “errors” and “warnings” according to the WordPress VIP Go documentation.
The rulesets use rules from the WordPress Coding Standards (WPCS) project, as well as the VariableAnalysis standard.
Go to https://docs.wpvip.com/technical-references/code-review/phpcs-report/ to learn about why violations are flagged as errors vs warnings and what the levels mean.
Tags: #php • vip • php-codesniffer
-
pyensembl
Python interface to access reference genome features (such as genes, transcripts, and exons) from Ensembl
from pyensembl import EnsemblRelease # release 77 uses human reference genome GRCh38 data = EnsemblRelease(77) # will return ['HLA-A'] gene_names = data.gene_names_at_locus(contig=6, position=29945884) # get all exons associated with HLA-A exon_ids = data.exon_ids_of_gene_name('HLA-A')Tags: #python
-
themoviedbapi
A java wrapper around the json api provided by TheMovieDB.org
TmdbMovies movies = tmdbApi.getMovies(); movies.getMovie(293660, "en", MovieMethod.credits)Tags: #java
-
ParcelableGenerator
A line of code to get Parcelable. Android Parcelable models made easy
ParcelableGenerator可以将任意对象转换为Parcelable类型,方便对象传输。
在Android中,对象的序列化一般有两种方式,一种是Serializable,一种是Parcelable。
- Serializable 在Java中就存在,效率较低。
- Parcelable 是Android中提供的,也是官方推荐的方式,效率比Serializable高很多。
虽然Parcelable效率高,但是使用起来比Serializable麻烦很多,很多人不使用Parcelable就是因为写法太麻烦,尤其是属性特别多的时候,我们要将每个属性Parcel.write()然后在Parcel.read()回来,相当繁琐,不如Serializable简单粗暴,直接有效。
ParcelableGenerator可以解决Parcelable使用麻烦的问题,让使用Parcelable的简单性可以和使用Serializable相媲美。
Tags: #java
-
Repeat
Cross-platform mouse/keyboard record/replay and automation hotkeys/macros creation, and more advanced automation features.
- This runs on any platform that supports Java and is non headless. AutoHotkey is written for Windows only, and AutoKey is only for Linux. Repeat works on Linux, Windows, and OSX. The written macro can be re-used cross platforms.
- The only limit to your hotkey power is your knowledge of the language you write your tasks in (e.g. Java, Python or C#). You don’t have to learn a new meta language provided by AutoHotkey. This allows you to leverage your expertise in the language chosen and/or the immense support from the internet.
Tags: #java • hotkey • replay
-
inlein
Run clojure scripts with dependencies.
Run Clojure scripts with dependencies, but without classpath pains.
Tags: #java
-
expo-server-sdk-node
Server-side library for working with Expo using Node.js
Server-side library for working with Expo using Node.js.
If you have problems with the code in this repository, please file issues & bug reports at https://github.com/expo/expo. Thanks!
Tags: #typescript • expo • node
-
date-fns-tz
Complementary library for date-fns v2 adding IANA time zone support
Time zone support for date-fns v2.0.0 using the Intl API. By using the browser API no time zone data needs to be included in code bundles. Modern browsers all support the necessary features, and for those that don’t a polyfill can be used.
If you do not wish to use a polyfill the time zone option can still be used, but only with time zone offsets such as ‘-0200’ or ‘+04:00’ and not IANA time zone names.
Tags: #javascript • date • zone-helpers
-
terjira
Terjira is a very interactive and easy to use CLI tool for Jira.
Terjira is an interactive and easy to use command line interface (or Application) for Jira. You do not need to remember the resource key or id. Terjira suggests it with an interactive prompt.
Your Jira must support Rest API 2.0 and Agile Rest API 1.0.
Tags: #ruby • jira • cli
-
algo-coin
Python library for algorithmic trading cryptocurrencies across multiple exchanges
AlgoCoin is a python library for writing trading algorithms. It is designed using a combination of asyncio and callbacks to make writing cross-asset, cross-currency, and cross exchange algorithms for backtesting and live trading as simple as possible.
Tags: #typescript • python • gemini
subscribe via RSS