Skip to content

Instantly share code, notes, and snippets.

[Oct 4 22:35] usb 1-1.2: new high-speed USB device number 30 using ehci-pci
[ +0.084348] usb 1-1.2: unable to get BOS descriptor
[ +3.057512] usb 1-1.2: USB disconnect, device number 30
[ +11.700393] usb 1-1.2: new high-speed USB device number 31 using ehci-pci
[ +0.079948] usb 1-1.2: device descriptor read/64, error -32
[ +0.170049] usb 1-1.2: device descriptor read/64, error -32
[ +0.169792] usb 1-1.2: new high-speed USB device number 32 using ehci-pci
[ +0.066729] usb 1-1.2: device descriptor read/64, error -32
[ +0.169911] usb 1-1.2: device descriptor read/64, error -32
[ +0.170074] usb 1-1.2: new high-speed USB device number 33 using ehci-pci
Oct 15 03:08:06 anvl sudo[1834]: self : TTY=pts/0 ; PWD=/home/self ; USER=root ; COMMAND=/usr/bin/systemctl suspend
Oct 15 03:08:06 anvl sudo[1834]: pam_unix(sudo:session): session opened for user root by self(uid=0)
Oct 15 03:08:06 anvl systemd[1]: Starting Sleep.
-- Subject: Unit sleep.target has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit sleep.target has begun starting up.
Oct 15 03:08:06 anvl systemd[1]: Reached target Sleep.
-- Subject: Unit sleep.target has finished start-up
Oct 16 05:29:34 anvl systemd[1767]: Time has been changed
-- Subject: Time change
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The system clock has been changed to REALTIME microseconds after January 1st, 1970.
Oct 16 05:29:34 anvl systemd[1]: Time has been changed
-- Subject: Time change
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
psql (9.3.5, server 8.0.2)
SSL connection (cipher: ECDHE-RSA-AES256-SHA, bits: 256)
Type "help" for help.
db=# drop schema if exists s_sales;
ERROR: syntax error at or near "exists"
LINE 1: drop schema if exists s_sales;
^
according to http://docs.aws.amazon.com/redshift/latest/dg/r_DROP_SCHEMA.html it should be supported.
get chat history
/yum/chat_history
- eventid
post to chatroom and also send push notifications to everyone in the group with the chat message
/yum/chat_message
- eventid
[self@anvl pacman-watch]$ sudo pacman -U /var/cache/pacman/pkg/libpng-1.6.14-1-armv7h.pkg.tar.xz
loading packages...
warning: downgrading package libpng (1.6.15-1 => 1.6.14-1)
resolving dependencies...
looking for inter-conflicts...
Packages (1): libpng-1.6.14-1
Total Installed Size: 0.54 MiB
Net Upgrade Size: 0.00 MiB
[root@anvl ~]# dmesg | grep mmc
[ 0.000000] Kernel command line: console=ttyO2,115200n8 mpurate=800 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
[ 0.967285] pbias_mmc_omap2430: 1800 <--> 3000 mV at 3000 mV
[ 2.896728] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@4809c000[0]'
[ 2.896759] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
[ 2.949310] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
[ 2.949340] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
[ 2.989410] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480ad000[0]'
[ 2.989440] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]'
[ 3.055114] mmc1: BKOPS_EN bit is not set
@thomasdziedzic
thomasdziedzic / gist:9949aaf3d35b473b9d25
Created December 10, 2014 06:14
dmesg | grep -i mmc
[root@anvl ~]# dmesg | grep -i mmc
[ 0.000000] Kernel command line: console=ttyO2,115200n8 mpurate=800 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
[ 0.967285] pbias_mmc_omap2430: 1800 <--> 3000 mV at 3000 mV
[ 2.054473] VMMC1: 1850 <--> 3150 mV at 3150 mV
[ 2.063507] VMMC2: 1850 <--> 3150 mV at 2600 mV
[ 2.896728] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@4809c000[0]'
[ 2.896759] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
[ 2.949310] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
[ 2.949340] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
[ 2.989410] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480ad000[0]'
from faker import Factory
from datetime import datetime
import mysql.connector
import sys
def insertBatch(cnx, cursor, count):
fake = Factory.create()
data = []
current_time = datetime.now()
for i in range(count):
g++ -c -m64 -pipe -Wno-all -Wno-endif-labels -Wno-unused-variable -Wno-unused-parameter -Wno-switch -Wtrigraphs -Wreturn-type -Woverloaded-virtual -Wunknown-pragmas -Wno-shadow -Wno-deprecated-declarations -Wno-missing-braces -march=x86-64 -mtune=generic -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I../_3rdParty -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I../MLDemos -I/tmp/MLDemos/mldemos/build -I/tmp/MLDemos/mldemos/build -o /tmp/MLDemos/mldemos/build/main.o main.cpp
g++ -c -m64 -pipe -Wno-all -Wno-endif-labels -Wno-unused-variable -Wno-unused-parameter -Wno-switch -Wtrigraphs -Wreturn-type -Woverloaded-virtual -Wunknown-pragmas -Wno-shadow -Wno-deprecated-declarations -Wno-missing-braces -march=x86-64 -mtune=generic -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux