Skip to content

Instantly share code, notes, and snippets.

View sileht's full-sized avatar

Mehdi ABAAKOUK sileht

View GitHub Profile
@sileht
sileht / nextcloud-12.0.0-css-workaround.diff
Created May 28, 2017 19:03
nextcloud-12.0.0-css-workaround
diff -uNr nextcloud-12.ori/lib/private/Template/CSSResourceLocator.php nextcloud-12/lib/private/Template/CSSResourceLocator.php
--- nextcloud-12.ori/lib/private/Template/CSSResourceLocator.php 2017-05-28 21:03:02.429490871 +0200
+++ nextcloud-12/lib/private/Template/CSSResourceLocator.php 2017-05-28 20:59:23.120606748 +0200
@@ -117,7 +117,7 @@
parent::append($root, $file, $webRoot, $throw);
} else {
if (!$webRoot) {
- $tmpRoot = $root;
+ $tmpRoot = realpath($root);
/*
@sileht
sileht / Fix brightness FN-keys on Asus laptops
Created September 20, 2016 08:14 — forked from eugene-s/Fix brightness FN-keys on Asus laptops
Fix brightness FN-keys in Linux on Asus laptops (N550, UX305, UX303 etc)
commit 4e9bdc8ceeffa48962ae018cf52cc8ada72dc98b
Author: Carlo Caione <carlo@endlessm.com>
Date: Fri Aug 21 08:58:14 2015 +0200
drm/i915/opregion: work around buggy firmware that provides 15+ output devices
- DIDL/DDL2/DDL3/... are the DIDL fields in the IGDM OpRegion (Supported
Display Devices ID List)
- This field indicates which display devices are supported by the platform, and
#!/usr/bin/python
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the

Keybase proof

I hereby claim:

  • I am sileht on github.
  • I am sileht (https://keybase.io/sileht) on keybase.
  • I have a public key whose fingerprint is A351 AB80 5797 B657 D490 BAD7 1892 B42F CEAA EBC8

To claim this, I am signing this object:

tox_topic() {
git bisect start
git bisect good origin/master
git bisect bad HEAD;
git bisect run tox "$@"
git bisect reset
}