Skip to content

Instantly share code, notes, and snippets.

fps_max 200
fps_max_menu 200
cl_hud_playercount_showcount 1
unbind "i"
cl_showloadout 1
gameinstructor_enable "0"
cl_autohelp "0"
cl_showhelp "0"
@bjorngylling
bjorngylling / book_a_flight.sql
Created May 17, 2011 19:15
This version seems to work
DROP FUNCTION IF EXISTS reserve_seats;
DELIMITER |
CREATE FUNCTION reserve_seats(passenger_count INT, flight_id INT) RETURNS INT
BEGIN
DECLARE available_seats INT;
DECLARE booking_id INT;
(SELECT (60 - COUNT(*)) INTO available_seats FROM daily_schedule JOIN bookings ON daily_schedule.id = bookings.flight JOIN tickets ON tickets.booking = bookings.id WHERE daily_schedule.id = flight_id AND bookings.payment IS NULL);
"2.1 (created: 2009/05/21 13:13:06)
set runtimepath=C:\\Users\\Bjorn\\vimperator
source! C:\\Users\\Bjorn\\_vimperatorrc.local
" vim: set ft=vimperator:
command! wowheadnew -nargs=* tabopen http://www.wowhead.com/?search=<args>
map W :wowheadnew
command! wowhead -nargs=* open http://www.wowhead.com/?search=<args>