Skip to content

Instantly share code, notes, and snippets.

View goryny4's full-sized avatar

Egor Smetansky goryny4

  • Chisinau, Moldova
View GitHub Profile
@goryny4
goryny4 / Serge
Last active September 29, 2016 15:32
<?php
$arrayOfNames = array('Egor','Serge','Igor');
echo 'Hello '.array_rand($arrayOfNames);
@goryny4
goryny4 / Config
Last active August 29, 2015 14:27
/boot/config.txt
# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
@goryny4
goryny4 / Disable ScreenSaver
Created August 10, 2015 09:57
/etc/lightdm/lightdm.conf
[SeatDefaults]
#disable screen saver and dmps as well
xserver-command=X -s 0 dpms :0
@goryny4
goryny4 / ES Touch settings
Created August 10, 2015 09:55
/usr/share/X11/xorg.conf.d/10-evdev.conf
# Touch settings. Scroll to bottom.
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
@goryny4
goryny4 / Touch settings
Created August 10, 2015 09:55
/usr/share/X11/xorg.conf.d/10-evdev.conf
# Touch settings. Scroll to bottom.
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"