This file contains hidden or 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
"============================================================================= | |
" File : autoload/unite/source/outline/modules/base.vim | |
" Author : h1mesuke <[email protected]> | |
" Updated : 2012-01-11 | |
" Version : 0.5.1 | |
" License : MIT license {{{ | |
" | |
" Permission is hereby granted, free of charge, to any person obtaining | |
" a copy of this software and associated documentation files (the | |
" "Software"), to deal in the Software without restriction, including |
This file contains hidden or 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
Dell Inspiron 1764, running Linux Mint with KDE. | |
While using old kernel, attempting to use the wireless card would cause an instant system crash. | |
Upgraded kernel, ran linux mint's restricted driver installation tool, then installed firmware-b43-lpphy-installer via apt-get. | |
After upgrading the kernel, between each step, the network setting's wireless tab has been grayed out. | |
systemsettings -> Driver Manager says: | |
Broadcom Corporation: BBCM4312 802.11b/g LP-PHY | |
This device is using an alternative driver. | |
bcmwl-kernel-source (version 6.20.155.1+bdcom-0ubuntu6) |
This file contains hidden or 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
#include <sys/mman.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#define rgbtoy(b, g, r, y) \ | |
y=(unsigned char)(((int)(30*r) + (int)(59*g) + (int)(11*b))/100) | |
#define rgbtoyuv(b, g, r, y, u, v) \ |
This file contains hidden or 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
Install-order: | |
Early: | |
Static Mesh Improvement Mod | |
Late: | |
Content | |
Requiem: phat overhaul | |
Frostfall - Hypothermia: Makes cold (and being wet in cold areas) very dangerous | |
Alternate start: Several new ways to start the game |
This file contains hidden or 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
Chassi: Cooler Master Cosmos 1000 | |
Processor: Intel Core i7 930 / 2.8 GHz | |
Minne: Corsair Dominator-GT minne - 4 GB : 2 x 2 GB - DIMM 240-pin - DDR3 | |
Nätagg: Corsair TX750W | |
Grafikkort: Gigabyte Geforce GTX 470 1280MB GDDR5, (607Mhz), 2xDVI, mini HDMI, HDTV, with Cuda | |
Moderkort: ASUS P6T Deluxe V2 | |
Hårddisk: Intel Intern SSD 120GB 320 Series Intern SATA 2.5" |
This file contains hidden or 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
Labbstruktur | |
- Klient (html, css, js, jquery) | |
- Server (python+flask, templates, json) | |
+ Statisk först, enkel att testa innan DB-koppling kommer in. | |
- Lagring (sql, (nosql?)) | |
+ Vi skapar antagligen databasen åt studenterna. | |
+ SQLite? | |
- Integrering (ajax, websockets?, JSON) | |
A) Integrera | |
B) Lägg till funktionalitet som påverkar |
This file contains hidden or 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
oliver@indal~/D/d/p/www> python test.py | |
Traceback (most recent call last): | |
File "test.py", line 11, in <module> | |
submitElement = driver.find_element_by_id("register") | |
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 198, in find_element_by_id | |
return self.find_element(by=By.ID, value=id_) | |
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 680, in find_element | |
{'using': by, 'value': value})['value'] | |
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 165, in execute | |
self.error_handler.check_response(response) |
This file contains hidden or 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
oliver@indal~/D/i/test> ruby selenium.rb | |
Loaded suite selenium | |
Started | |
E | |
=============================================================================== | |
Error: test_selenium(Seleniumtest) | |
Selenium::WebDriver::Error::NoSuchElementError: Unable to locate element: {"method":"name","selector":"pass2"} | |
[remote server] file:///tmp/webdriver-profile20131106-10892-4ajzj7/extensions/[email protected]/components/driver_component.js:8891:in `FirefoxDriver.prototype.findElementInternal_' | |
[remote server] file:///tmp/webdriver-profile20131106-10892-4ajzj7/extensions/[email protected]/components/driver_component.js:396:in `fxdriver.Timer.prototype.setTimeout/<.notify' | |
/var/lib/gems/1.9.1/gems/selenium-webdriver-2.37.0/lib/selenium/webdriver/remote/response.rb:51:in `assert_ok' |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="/packages/accounts-ui/login_buttons.less.css?a6791c6bbc0dbffe1967f7603ad5e71a937da2f7"> | |
<link rel="stylesheet" href="/lightbook.css?9297ad4aa173c4e0c19aebd27c62a5c43242bb93"> | |
<link rel="stylesheet" href="/style.css?5805be7b7c26766979c45349b932a8a03c777602"> | |
<script type='text/javascript'>__meteor_runtime_config__ = {"meteorRelease":"0.6.6.3","ROOT_URL":"http://localhost:3000/","ROOT_URL_PATH_PREFIX":"","serverId":"hD7gcdiwvk99rksoM"};</script> |
This file contains hidden or 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
․[{"user":"asdf","password":"asdf","desc":"asdf","messages":[],"friends":{},"_id":"527a810412dc9d8564000001"},{"user":"qwer","password":"qwer","desc":"qwer","messages":[],"friends":{},"_id":"527a811912dc9d8564000002"},{"user":"test","password":"123","desc":"hej hej","messages":[],"friends":{},"_id":"527a85c512dc9d8564000005"},{"_id":"527a820212dc9d8564000003","desc":"g","friends":{},"messages":["test1: gunnargunnargunnargunnargunnar"],"password":"lol","user":"test1"},{"_id":"527a820912dc9d8564000004","desc":"sss","friends":{},"messages":["test1: gunnargunnargunnargunnargunnar \n was HERE !"],"password":"lol","user":"test2"}] | |
[{"user":"asdf","password":"asdf","desc":"asdf","messages":[],"friends":{},"_id":"527a810412dc9d8564000001"},{"user":"qwer","password":"qwer","desc":"qwer","messages":[],"friends":{},"_id":"527a811912dc9d8564000002"},{"user":"test","password":"123","desc":"hej hej","messages":[],"friends":{},"_id":"527a85c512dc9d8564000005"},{"_id":"527a820212dc9d8564000003","desc":"g","friends":{},"mes |