Skip to content

Instantly share code, notes, and snippets.

View crazoes's full-sized avatar

Shreeya Patel crazoes

View GitHub Profile
[ 12.403051] wlan0: associated
[ 12.905072] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 13.474148] [drm] Failed to add display topology, DTM TA is not initialized.
[ 15.624681] Calling spi_transfer_one
[ 15.624688] Inside LOOP
[ 15.624689] TX BUF = 0, FIFO = 128
[ 15.624692] TX BUF = 44, FIFO = 129
[ 15.624695] TX BUF = 4, FIFO = 130
[ 15.624697] TX BUF = 0, FIFO = 131
[ 15.624700] TX BUF = 0, FIFO = 132
[ 15.118115] wlan0: associate with b4:a7:c6:64:10:8c (try 1/3)
[ 15.122918] wlan0: RX AssocResp from b4:a7:c6:64:10:8c (capab=0x1011 status=0 aid=5)
[ 15.123350] wlan0: associated
[ 15.235049] Inside amd_spi_fifi_xfer
[ 15.235057] Inside LOOP
[ 15.235058] TX BUF = 0, FIFO = 128
[ 15.235062] TX BUF = 44, FIFO = 129
[ 15.235064] TX BUF = 4, FIFO = 130
[ 15.235067] TX BUF = 0, FIFO = 131
[ 15.235070] TX BUF = 0, FIFO = 132
// SPDX-License-Identifier: GPL-2.0-only
/*
* LTRF216A Ambient Light Sensor
*
* Copyright (C) 2021 Lite-On Technology Corp (Singapore)
* Author: Shi Zhigang <Zhigang.Shi@liteon.com>
*
* IIO driver for LTRF216A (7-bit I2C slave address 0x53).
*/
khid.o-6754 [004] .... 412853.904949: i2c_write: i2c-1 #0 a=038 f=0000 l=72 [05-00-26-03-06-00-42-00-06-ff-ff-05-40-46-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff-ff]
khid.o-6754 [004] .... 412853.906992: i2c_result: i2c-1 n=1 ret=1
khid.o-6754 [004] .... 412854.907348: i2c_write: i2c-1 #0 a=038 f=0000 l=6 [05-00-16-02-06-00]
khid.o-6754 [004] .... 412854.907351: i2c_read: i2c-1 #1 a=038 f=0001 l=65
khid.o-6754 [004] .... 412854.909347: i2c_reply: i2c-1 #1 a=038 f=0001 l=65 [00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00]
khid.o-6754 [004] .... 412854.909350: i2c_result: i2c-1 n=2 ret=2
irq/62-FTS3528:-185 [005] .... 412854.909388: i2c_read: i2c-1 #0 a=038 f
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
uname_r=4.14.71-ti-r80
#uuid=
#dtb=
###U-Boot Overlays###
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
enable_uboot_overlays=1
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.71-ti-r80 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP PREEMPT Fri Oct 5 23:50:11 UTC 2018
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Green
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x9c800000
[ 0.000000] On node 0 totalpages: 130560
import requests
from lxml import etree
response = requests.get('http://b.hatena.ne.jp/search/tag?q=%E8%8B%B1%E8%AA%9E&safe=on&sort=hot&users=3&mode=rss')
xmlstring = response.content
root = etree.fromstring(xmlstring)
elem = root.xpath("*[local-name() = 'item']")
@crazoes
crazoes / Digital_light_sensor.py
Created July 3, 2018 17:30
Digital_light_sensor
import time
import smbus
from Adafruit_I2C import Adafruit_I2C
import RPi.GPIO as GPIO
import grovepi
from smbus import SMBus
global I2C_ADDRESS
global I2C_SMBUS
global _CMD
@crazoes
crazoes / AddProject.css
Last active May 19, 2018 19:27
Ideaborate created by crazoes - https://repl.it/@crazoes/Ideaborate
#particles-js{
position: absolute;
background-color:lightslategray;
z-index: -1;
top:0px;
left:0px;
background-repeat:repeat;
width: 100%;
height: 1039px;
}