This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options i915 enable_guc=2 fastboot=1 force_probe=* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Powertop tunings | |
[Service] | |
Type=exec | |
ExecStart=/usr/sbin/powertop --auto-tune | |
RemainAfterExit=true | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=lo | |
[Network] | |
Address=127.0.0.1/8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" standalone='no'?><!--*-nxml-*--> | |
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
<!-- | |
This file is part of avahi. | |
avahi is free software; you can redistribute it and/or modify it | |
under the terms of the GNU Lesser General Public License as | |
published by the Free Software Foundation; either version 2 of the | |
License, or (at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" standalone='no'?><!--*-nxml-*--> | |
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
<!-- | |
This file is part of avahi. | |
avahi is free software; you can redistribute it and/or modify it | |
under the terms of the GNU Lesser General Public License as | |
published by the Free Software Foundation; either version 2 of the | |
License, or (at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home | |
LAUNCHER_JAR=plugins/org.eclipse.equinox.launcher_1.3.0.v20130125-144918.jar | |
java \ | |
-showversion \ | |
-XX:MaxPermSize=256m \ | |
-Xms1024m \ | |
-Xmx1024m \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Highlight < Formula | |
homepage 'http://www.andre-simon.de/doku/highlight/en/highlight.html' | |
url 'http://www.andre-simon.de/zip/highlight-3.13.tar.bz2' | |
sha1 '8b0861a657f0e73911f514a16ff5136c37f4f724' | |
depends_on 'boost' | |
depends_on 'lua' | |
depends_on 'pkg-config' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
http://pastebin.com/0dV84hBa | |
g++ -o test_font_features test_font_features-2.cpp -ltesseract | |
*/ | |
#include <tesseract/baseapi.h> | |
#include <leptonica/allheaders.h> | |
int main() { | |
tesseract::TessBaseAPI *api = new tesseract::TessBaseAPI(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/xml" | |
"fmt" | |
) | |
type DIDLLite struct { | |
XMLName xml.Name | |
DC string `xml:"xmlns:dc,attr"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"sort" | |
) | |
type ByteSlice []byte | |
func (p ByteSlice) Len() int { return len(p) } |
NewerOlder