- download latest alps source code from here
- copy the psmouse-alps-1.x folder to your /usr/src directory
- (as root)
dkms add psmouse/alps-1.x
- (as root)
dkms autoinstall
- (as root)
rmmod psmouse && modprobe psmouse
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
// Bootstrap wants jQuery global =( | |
window.jQuery = $ = require('jquery') | |
// Bootstrap doesn't have a "main" field / export anything =( | |
var bootstrap = require('bootstrap/dist/js/bootstrap') | |
// Get Bootstrap styles with cssify | |
var style = require('./node_modules/bootstrap/dist/css/bootstrap.css') | |
var popover = document.createElement('span') | |
popover.innerHTML = 'I have a popover' |
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
$sudo apt-get install libopencv-dev | |
$mkdir hellocv | |
$cd hellocv | |
$mkdir lib | |
#get opencv-2XX.jar and copy into hellocv/lib | |
#sudo dpkg -L libopencv-dev | |
$cp /usr/share/OpenCV/java/opencv-248.jar lib/ | |
$sbt run |
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
<?php | |
define('VIEW_FOLDER', dirname(__FILE__) . '/views'); | |
function renderView($viewName, $vars){ | |
extract($vars); | |
ob_start(); | |
require VIEW_FOLDER . "/$viewName.php"; | |
$output = ob_get_contents(); | |
ob_end_clean(); | |
echo $output; |
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
[adrian@localhost ~]$ cat /tmp/alsa-info.txt.LwuI5O5q82 | |
upload=true&script=true&cardinfo= | |
!!################################ | |
!!ALSA Information Script v 0.4.64 | |
!!################################ | |
!!Script ran on: Sat Mar 5 09:11:29 UTC 2016 | |
!!Linux Distribution |
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
// ==UserScript== | |
// @name 990Movie | |
// @namespace redpoppy | |
// @description Corrects 990 movies to bypass shortening | |
// @include http://990.ro/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var links = document.querySelector('a[href*="mastervid.com"]'); | |
if (typeof links[0] === 'undefined') { |
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
sharedfolder /mount/point vboxsf uid=<user>,gid=<group> 0 0 |
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
import time | |
import struct | |
import socket | |
import hashlib | |
import sys | |
from select import select | |
import re | |
import logging | |
from threading import Thread | |
import signal |
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
(ns braintree-clj.core | |
(:import [com.braintreegateway BraintreeGateway Environment TransactionRequest Transaction$Type]) | |
(:require [clojure.string :as s] | |
[hiccup.core :as hiccup] | |
[hiccup.page-helpers :as page-helper] | |
[noir.core :as noir] | |
[noir.request :as noir-req] |
The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post