Skip to content

Instantly share code, notes, and snippets.

View memoryleak's full-sized avatar

Haydar Ciftci memoryleak

View GitHub Profile
gsettings set org.gnome.desktop.peripherals.mouse accel-profile flat
sudo dnf install pulseaudio-module-bluetooth-freeworld --allowerasing
pulseaudio -k
---
version: '3.7'
services:
hub:
image: selenium/hub:3.141.59-mercury
ports:
- "4444:4444"
chrome:
@memoryleak
memoryleak / docker-compose.yml
Last active January 19, 2022 19:13
Jetbrains Products - Docker-compose
---
version: '3.5'
services:
hub:
image: jetbrains/hub:2021.1.14194
volumes:
- ./hub/data:/opt/hub/data
- ./hub/conf:/opt/hub/conf
- ./hub/logs:/opt/hub/logs
- ./hub/backups:/opt/hub/backups
var interval = setInterval(function() {document.getElementsByTagName('button')[4].click(); }, 750);
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC2mVETTXO3/lEhxF4rwMZRk6BJpsdCRCfWO+KTOHisUHBsNLsiHv8fFT29fwQ6mRGU8HlTOhHRwZO3xgvkP0mAxWWH8ju0RkRUWp5Cle6y0WyPqIQcjNjSjHAks9EFOcx7HkMZ6pdlkZGO1mRuKXWfk95DtqCcAMPmMKJeMGYhPk/qTvh7TKybYwdCFN70z5X1wGSmKjAwkruWYm4Z1rt0/rNdoMSC8zYs+/lE1d1T8B9WXWIVkqJ0mMrEaUygRAbhcueTnZsoR2lHuOwhXMQVa6KelLtR9tyLZCvfekrUl9khYEkGb9tbSLKxIHpEEJ/UvXyFW4RmTYk+pL50oNvl [email protected]
@memoryleak
memoryleak / Nudorm_Deduplicate_Product_Images.php
Created July 11, 2016 12:16
Remove duplicate product images
<?php
require 'abstract.php';
/**
* @category Shell
* @package Nudorm
* @author Haydar Ciftci <[email protected]>
* @copyright 2016 Nudorm
*/
@memoryleak
memoryleak / gist:3435cac8b9d0a4499b470a49c640eb1f
Created May 28, 2016 20:13 — forked from fernandoaleman/gist:5083680
How to update VirtualBox Guest Additions with vagrant
# Start the old vagrant
$ vagrant init centos-6.3
$ vagrant up
# You should see a message like:
# [default] The guest additions on this VM do not match the install version of
# VirtualBox! This may cause things such as forwarded ports, shared
# folders, and more to not work properly. If any of those things fail on
# this machine, please update the guest additions and repackage the
# box.
@memoryleak
memoryleak / test.js
Created May 20, 2016 12:46
Small script I used for testing LB
var page = require('webpage').create();
var system = require('system');
var args = system.args;
var navigateTo = null;
if (args.length === 1) {
console.log('Please provide a URL to navigate to.');
phantom.exit()
@memoryleak
memoryleak / blackwidow_enable.py
Last active April 5, 2016 20:07
Enable macro keys on Razer Black Widow keyboards
#!/usr/bin/python3
import usb
import sys
VENDOR_ID = 0x1532 # Razer
PRODUCT_ID = 0x010e # BlackWidow / BlackWidow Ultimate
USB_REQUEST_TYPE = 0x21 # Host To Device | Class | Interface
USB_REQUEST = 0x09 # SET_REPORT