Skip to content

Instantly share code, notes, and snippets.

View DevWL's full-sized avatar

Wiktor Liszkiewicz DevWL

  • Gajda-Med
  • Poland
View GitHub Profile
@rafsuntaskin
rafsuntaskin / functions.php
Last active April 27, 2024 18:10
Alter WooCommerce CSV Export delimiter
<?php
add_filter( 'woocommerce_product_export_delimiter', function ( $delimiter ) {
// set your custom delimiter
$delimiter = '.';
return $delimiter;
} );
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@DevWL
DevWL / hyper.js
Created August 1, 2020 21:39 — forked from coco-napky/hyper.js
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@odan
odan / xampp_php7_xdebug.md
Last active October 13, 2025 22:45
Installing Xdebug for XAMPP
@yantonov
yantonov / 20-nvidia.conf
Last active May 22, 2017 19:17
Fix brightness on ubuntu 14.04 lts for nvidia cards (create this file at /usr/share/X11/xorg.conf.d/20-nvidia.conf)
Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
@lucasmezencio
lucasmezencio / app.php
Created October 30, 2012 11:47
Sending emails with Silex Bootstrap (http://github.com/lucasmezencio/silex-bootstrap) and Swiftmailer + Twig
<?php
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
$app = require __DIR__.'/bootstrap.php';
$app->match('/contact/', function(Request $request) use ($app) {
if ('POST' == $request->getMethod()) {
$data = array(