Skip to content

Instantly share code, notes, and snippets.

View solars's full-sized avatar

Christoph Blank solars

View GitHub Profile
https://community.particle.io/t/issue-with-gy-bmp280-3-3-sensor/28985/10
A. auto payment + overdue
1. CPC -> ERP prepayment: tid: 1, amount: 500, status: open
2. daily sync
<14d, tid: 1 erp: pending -> cpc: open
>14d, tid: 1 erp: pending -> cpc: overdue
---
---
@charset "UTF-8";
@import "variables";
@import "bootstrap/bootstrap";
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'css/main.scss':
Invalid US-ASCII character "\xE2" on line 104
This works:
<rdf:RDF
xmlns:rdf="http.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http.w3.org/2000/01/rdf-schema#"
xmlns:uni="http://uibk.ac.at/uni#">
<rdfs:Class rdf:about="uni#person">
</rdfs:Class>
<rdf:Property rdf:about="uni#firstname" >
<rdfs:domain rdf:resource="uni#person"/>
@solars
solars / callback.ts
Last active January 29, 2016 23:06
Demo: http://valor-software.github.io/ng2-file-upload/ I want to display the response together with a completed item.
// this overridden method yields the response when an item completes
export class SimpleDemo {
private uploader:FileUploader = new FileUploader({url: URL});
private hasBaseDropZoneOver:boolean = false;
private hasAnotherDropZoneOver:boolean = false;
constructor() {
this.uploader.onCompleteItem = (item: any, response: any, status: any, headers: any) => {
console.log(response, responsePath);// the url will be in the response
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
How to let td 1 and 2 consume 50% and td 3 also 50% of the tables width?
#!/usr/bin/env ruby
# encoding: utf-8
require "rubygems"
require "bundler"
Bundler.setup
require 'amqp'
EventMachine.run do
$('#chk_smsPhoneNumber').toggle(
function() {
$('#smsPhoneNumber').removeAttr('disabled');
},
function() {
$('#smsPhoneNumber').attr('disabled', 'disabled');
}
);
** [out :: ruby-dev.seekda.com] fatal: Could not parse object '22e2458b77519e8eb8463170c1a1fe4bab105f3e'.
** [out :: ruby-dev.seekda.com] Git error: command `git reset --hard 22e2458b77519e8eb8463170c1a1fe4bab105f3e` in directory /home/deployer/endeavour/shared/bundle/ruby/1.9.1/bundler/gems/compass-22e2458b7751 has failed.
** [out :: ruby-dev.seekda.com] If this error persists you could try removing the cache directory '/home/deployer/endeavour/shared/bundle/ruby/1.9.1/cache/bundler/git/compass-71785749c1e54e7e5936dbddfb919ddd014100e8'
Resolving deltas: 100% (12858/12858), done.g deltas: 100% (12858/12858)
** [out :: insemtives.seekda.com] fatal: Could not parse object '22e2458b77519e8eb8463170c1a1fe4bab105f3e'.
** [out :: insemtives.seekda.com] Git error: command `git reset --hard 22e2458b77519e8eb8463170c1a1fe4bab105f3e` in directory /home/deployer/endeavour/shared/bundle/ruby/1.9.1/bundler/gems/compass-22e2458b7751 has failed.
** [out :: insemtives.seekda.com] If this error persists you could try removing the cache directory '/home/deployer/endeavour/shared/bundle/ruby/1.9.1/cache/bundler/git/compass-71785749c1e54e7e5936dbddfb919ddd014100e8'