Skip to content

Instantly share code, notes, and snippets.

View .conkyrc
conky.config = {
update_interval = 2,
cpu_avg_samples = 2,
net_avg_samples = 2,
out_to_console = false,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 32768,
imlib_cache_size = 0,
@cornernote
cornernote / README.md
Last active Sep 27, 2020
Play with Docker PHP
View README.md

Play with Docker

There are many way to try out Docker PHP, a really slick one is creating a stack on Play with Docker.

Login or signup, then create a new instance.

Download a Docker PHP application definition:

curl -Lo docker-compose.yml https://gist.githubusercontent.com/cornernote/f3b6c62e76500afd26454e15c6d18d7e/raw/16a2e76e95976aa34bcf3d29c3ffeb57a03a3cbf/docker-compose.yml
@cornernote
cornernote / ConsoleVariables.ini
Last active Aug 6, 2021
Ark PVP ConsoleVariables.ini
View ConsoleVariables.ini
[Startup]
FrameRateCap=70
FrameRateMinimum=70
MaxES2PixelShaderAdditiveComplexityCount=45
MaxPixelShaderAdditiveComplexityCount=128
MaxSmoothedFrameRate=70
MinDesiredFrameRate=70
MinSmoothedFrameRate=5
NearClipPlane=12.0
ShowFlag.AmbientOcclusion=0
@cornernote
cornernote / clicker.au3
Created May 23, 2020
Auto-It Auto Clicker
View clicker.au3
$currentClicking = False
HotKeySet('^x', 'End')
Func End()
Exit
EndFunc
HotKeySet('^o', 'Click')
Func Click()
View clicker.au3
$currentClicking = False
HotKeySet('^x', 'End')
Func End()
Exit
EndFunc
HotKeySet('0', 'Farm')
Func Farm()
View enable-gkeys-not-working.py
#!/usr/bin/python2
import sys
import os.path
import imp
import usb.core
import usb.util
from time import sleep
dev = None
@cornernote
cornernote / README.md
Last active Sep 2, 2021
Logitech G815 Keyboard - Ubuntu 18.04
View README.md

Logitech G815 Keyboard - Ubuntu 18.04

Install

sudo apt install -y libhidapi-dev
git clone https://github.com/MatMoul/g810-led.git
cd g810-led
make clean
make bin
View light-saber.au3
$currentClicking = False
HotKeySet('^x', 'End')
Func End()
Exit
EndFunc
HotKeySet('0', 'Farm')
Func Farm()
View bee-swarm.au3
;
; Auto-Farmer for Bee Swarm Simulator
; Version 1.0
;
; Copyright 2019 Brett O'Donnell
;
#include <TrayConstants.au3>
Local $gumdropsSlot; = 2