THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| /** | |
| * BMW IBus Daemon reads BMW IBus data through serial port. It detects | |
| * BMW board monitor(at least BM53) unit and steering wheel button presses | |
| * from IBus data, maps them to key events and injects them to system event | |
| * queue via uinput. | |
| * | |
| * It also can be configured to inject key events only in certain state like | |
| * TAPE or AUX which can be useful if you want to hijack for example TAPE | |
| * mode for other use. | |
| * |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| // instead of doing this: | |
| Projection sqlProjection = Projections.sqlProjection(sql, new String[]{"userName"}, new Type[]{new StringType()}); | |
| // you do this: | |
| Projection sqlProjection = new SmartSQLProjection(sql, new String[]{"userName"}, new Type[]{new StringType()}); |
| export function ComponentWithMixins( ...mixins) { | |
| class MixedComponent extends React.Component { } | |
| for( let mixin of mixins) { | |
| // TODO: Would need to handle mixin collisions... | |
| for( let name of Object.keys( mixin)) { | |
| MixedComponent.prototype[ name]= mixin[ name] | |
| } | |
| } |
| package main | |
| import ( | |
| "context" | |
| "crypto/tls" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "net/url" | |
| "time" |
| #!/bin/bash | |
| # | |
| # Written by Chris Arceneaux | |
| # GitHub: https://github.com/carceneaux | |
| # Email: [email protected] | |
| # Website: http://arsano.ninja | |
| # | |
| # Note: This code is a stop-gap to erase Job Artifacts for a project. I HIGHLY recommend you leverage | |
| # "artifacts:expire_in" in your .gitlab-ci.yml | |
| # |