Skip to content

Instantly share code, notes, and snippets.

View riklaunim's full-sized avatar

Piotr Maliński riklaunim

View GitHub Profile
Base:
https://botland.com.pl/moduly-wifi/8893-esp32-devkitc-esp32-wifi-bt-42-platforma-z-modulem-esp-wroom-32-ver-2.html
https://botland.com.pl/czujniki-cisnienia/3171-dfrobot-bmp180-cyfrowy-barometr-czujnik-cisnienia-110kpa-i2c-5v.html
https://botland.com.pl/czujniki-krancowe/2842-wylacznik-czujnik-krancowy-mini-z-dzwignia-prosta-wk320.html
https://botland.com.pl/fotorezystory/4597-fotorezystor-50-100-k-gl5539.html
https://botland.com.pl/led-5mm-dyfuzyjne/219-dioda-led-5mm-czerwona-10szt.html
https://botland.com.pl/przewody-polaczeniowe/1435-przewody-polaczeniowe-zesko-zeskie-20cm-kolorowe-10szt.html
extras:
Your mortal essence fades away as you embrace your adulthood.
Through streams and videos, you have conquered your destiny, turning video games
to money and fun, and now the infernal power of corporate job no longer holds sway
You will take your place among the YouTube legends, as a force of content and smile.
It is the close of many things, but a new destiny stretches endlessly before
you.
When protos takes its place at the eight tournaments of the world.
When the Mech Tower walks and balance is reshaped.
When the thrice-buffed fail and the old meta trembles.
When the Korean Ruler loses his throne, and the Kespa Tower falls.
When the ladder lies sundered, kingless, bleeding.
Jenny canonn wakes, and the wheel turns upon the next Lowko game.
# DRF
{"errors":{"starts_at":["To pole jest wymagane."],"title":["To pole jest wymagane."],"contents":["To
pole jest wymagane."]}}
#DRF-JSONApi
{"errors":[{"source":{"pointer":"/data/attributes/contents"},"detail":"To pole jest wymagane.","status"
:"400"},{"source":{"pointer":"/data/attributes/starts-at"},"detail":"To pole jest wymagane.","status"
:"400"},{"source":{"pointer":"/data/attributes/title"},"detail":"To pole jest wymagane.","status":"400"
}]}
# contextual component
export default Ember.Component.extend({
tagName: 'h3',
classNames: ['timeline-header', 'no-border'],
icon: 'fa-envelope',
color: 'orange'
});
# contextual component template (simplified):
{{message.survey.name}}
var ckEditor = new Funnel('bower_components/ckeditor/', {
srcDir: '/',
include: ['*', "plugins/*", "skins/*/*", "lang/*"],
destDir: '/assets/ckeditor'
});
view = self.TestAPIResource.as_view({'get': 'update'})
request.POST = {'place_id': place.pk}
response = view(request, pk=place.pk)
self.assertEqual(200, response.status_code)
self.assertEqual({'status': 'very ok'}, response.data)
import unirest
TEST_KEY = "...."
headers = {
"X-Mashape-Authorization": "..."
}
params = {
"un": "...",
MyApp.Offer = DS.Model.extend({
duplicates: DS.hasMany('offer', {async: true}),
....
});
//IE9: SCRIPT5022: Error: Assertion Failed: TypeError: Unable to set value of the property 'store': object is null or undefined ember.js, line 73 character 5
MyApp.Offer = DS.Model.extend({