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
Feb 09 20:50:57 pluto kernel: Linux version 6.12.10-arch1-1 (linux@archlinux) (gcc (GCC) 14.2.1 20240910, GNU ld (GNU Binutils) 2.43.1) #1 SMP PREEMPT_DYNAMIC Sat, 18 Jan 2025 02:26:57 +0000 | |
Feb 09 20:50:57 pluto kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a7847756-66df-4aea-8a5c-1a4a14349ffb rw loglevel=3 | |
Feb 09 20:50:57 pluto kernel: BIOS-provided physical RAM map: | |
Feb 09 20:50:57 pluto kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable | |
Feb 09 20:50:57 pluto kernel: BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved | |
Feb 09 20:50:57 pluto kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000009a7efff] usable | |
Feb 09 20:50:57 pluto kernel: BIOS-e820: [mem 0x0000000009a7f000-0x0000000009ffffff] reserved | |
Feb 09 20:50:57 pluto kernel: BIOS-e820: [mem 0x000000000a000000-0x000000000a1fffff] usable | |
Feb 09 20:50:57 pluto kernel: BIOS-e820: [mem 0x000000000a200000-0x000000000a23bfff] ACPI NVS | |
Feb 09 20:50:57 pluto kernel: BIOS-e820: [mem 0x000000000a23c000-0x0000000093 |
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
########################################################################## | |
# If all davical updates failed: create a new instance on your new system | |
# and transfer your data with this script and curl from your old server | |
# to your new server. The example below does this with your calendar data. | |
# Change URL, caldav_type and file extension and you can transfer your | |
# vcards as well. I did this a few days ago and it worked very well. | |
########################################################################## | |
require 'pg' |
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
diff --git a/classes/database/Postgres.php b/classes/database/Postgres.php | |
index ee19990f..e823fa7b 100755 | |
--- a/classes/database/Postgres.php | |
+++ b/classes/database/Postgres.php | |
@@ -4184,8 +4184,7 @@ class Postgres extends ADODB_base { | |
INNER JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace | |
INNER JOIN pg_catalog.pg_language pl ON pl.oid = p.prolang | |
LEFT JOIN pg_catalog.pg_user u ON u.usesysid = p.proowner | |
- WHERE NOT p.proisagg | |
- AND {$where} |
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
require 'json' | |
require 'net/http' | |
# %s gets replaced with yyyy-mm-dd/yyyy-mm-dd | |
URL = "http://www.arte.tv/papi/tvguide/epg/schedule/D/L3/%s/%s.json" | |
#### | |
## lets get started | |
#### |
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
require 'nokogiri' | |
require 'open-uri' | |
# 3SAT mediathek URL | |
base_uri = "http://www.3sat.de/mediathek" | |
# 3SAT rss feed url | |
rss_feed = "#{base_uri}/rss/mediathek.xml" | |
# 3SAT webservice |
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
// ==UserScript== | |
// @name CB1000R | |
// @namespace NS | |
// @description CB1000R Forum | |
// @include http://cb1000r-freunde.de/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
// header |
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
/* | |
* | |
* Torsten Flammiger, 2012 | |
* (C) AS IS | |
* | |
*/ | |
#include "stdafx.h" | |
#include "windows.h" | |
#include <iostream> |
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
set :user, "root" | |
set :use_sudo, false | |
set :scm, :git | |
set :repository, 'file://path/to/your/local/repo' | |
set :config_dir, '<your webserver has to read this dir>' | |
set :deploy_to, '<the webroot of your sinatra application>' | |
set :deploy_via, :copy | |
set :copy_exclude, [".git", ".gitignore", "config", "Gemfile"] |
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
# make sure to include the needed pagination modules | |
require 'will_paginate' | |
require 'will_paginate/view_helpers/sinatra' | |
module WillPaginate | |
module Sinatra | |
module Helpers | |
include ViewHelpers | |
def will_paginate(collection, options = {}) |
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
class ReThinkingSphinx | |
QUERIES = { | |
:Post => { | |
:default => "SELECT * FROM posts WHERE MATCH (title, body) AGAINST (?)", | |
:boolean => "SELECT * FROM posts WHERE MATCH (title, body) AGAINST (? IN BOOLEAN MODE)" | |
}, | |
:Event => { | |
:default => "SELECT * FROM events WHERE MATCH (name, description) AGAINST (?)", | |
:boolean => "SELECT * FROM events WHERE MATCH (name, description) AGAINST (? IN BOOLEAN MODE)" | |
}, |
NewerOlder