Skip to content

Instantly share code, notes, and snippets.

View mcahriman's full-sized avatar

Yurii Borysov mcahriman

View GitHub Profile
void setup() {
pinMode(10,OUTPUT);
}
void loop() {
//S
ti();
ti();
ti();
@mcahriman
mcahriman / Resources.md
Last active August 1, 2018 14:34
Make: A thing Workshop Resources
RoomModel TrafficLight {
import room.basic.service.timing.* from "../../../org.eclipse.etrice.modellib.c/model/TimingService.room"
import room.basic.service.tcp.* from "../../../org.eclipse.etrice.modellib.c/model/TcpService.room"
import room.basic.types.* from "../../../org.eclipse.etrice.modellib.c/model/Types.room"
ActorClass TestApplication ["The TestApplication contains the PedestrianTrafficLightController and its test harness."] {
Structure {
ActorRef controller: PedestrianTrafficLightController
ActorRef controllerTestHarness: TrafficLightControllerTestHarness
@mcahriman
mcahriman / well
Created June 14, 2017 21:55
System boots with sim card inserted in the right wat
[ 88.388183] rda-mmc rda-mmc.1: rsp noResponseReceived
[ 88.388732] rda-mmc rda-mmc.1: cmd 52, wait resp fail, ifc = 255, ret = -5
[ 88.389587] rda-mmc rda-mmc.1: rda_mmc_request fail, ret = -5
[ 88.390258] [RDAWLAN_ERR]:<sdioh_request_byte,117>: Failed to write :@0x00005=80,Err: -5.
[ 88.391296] [RDAWLAN_ERR]:<wland_chip_goto_sleep,189>: Write URSDIO_FUNC1_INT_PENDING failed!
[ ***] A start job is running for LSB: Raise network interf...29s / no limit)[ 92.887451] rda-mmc rda-mmc.1: rsp noResponseReceived
[ 92.887939] rda-mmc rda-mmc.1: cmd 52, wait resp fail, ifc = 255, ret = -5
[ 92.888793] rda-mmc rda-mmc.1: rda_mmc_request fail, ret = -5
[ 92.889526] [RDAWLAN_ERR]:<sdioh_request_byte,117>: Failed to write :@0x00009=01,Err: -5.
[ 92.890502] [RDAWLAN_ERR]:<wland_chip_wake_up,125>: Write URSDIO_FUNC1_INT_TO_DEVICE failed!
@mcahriman
mcahriman / lsusb.log
Created June 13, 2017 12:39
lsusb trash
root@OrangePi:~# lsusb
Unknown line at line 1
Unknown line at line 2
...
Unknown line at line 1607
Duplicate vendor spec at line 1608 vendor 000b Ƹ�9���5�s��Dh��j�P�Y
Unknown line at line 1609
Unknown line at line 1616
Unknown line at line 1619
Unknown line at line 1620
@mcahriman
mcahriman / gist:10020832
Last active August 29, 2015 13:58
Tray Empty
px_font = [ 0x00, 0x00, 0x00, 0x00, 0x00,// (space)
0x00, 0x00, 0x5F, 0x00, 0x00,// !
0x00, 0x07, 0x00, 0x07, 0x00,// "
0x14, 0x7F, 0x14, 0x7F, 0x14,// #
0x24, 0x2A, 0x7F, 0x2A, 0x12,// $
0x23, 0x13, 0x08, 0x64, 0x62,// %
0x36, 0x49, 0x55, 0x22, 0x50,// &
0x00, 0x05, 0x03, 0x00, 0x00,// '
0x00, 0x1C, 0x22, 0x41, 0x00,// (
0x00, 0x41, 0x22, 0x1C, 0x00,// )
manfred@lebox:~$ banner --help
# # ###### # #####
# # # # # #
##### ##### ###### ##### # # #
# # # # #####
# # # # #
# # ###### ###### #
function checkExercise(o_) { //that seems to be a zombie horror code
/*
braaaiinnzzz
/
(o_)
/|\ brainnnnnzzzz
| /
/\ (o_)
/|\
@mcahriman
mcahriman / gist:1280856
Created October 12, 2011 10:28
Плов
ПЛОВ (автор неведом)
Очень часто вместо плова
в нашей северной стране блядь
люди делают такое,
что цензурного названья
нихуя блядь не имеет,
без зиры блядь и шафрана,
не слыхав о барбарисе,
думая, что можжевельник