Search
Post #  permalink Topic #283 by mreschke on 2012-01-27 10:57:32 (viewed 44 times)

Manup is a custom Unix Port/Package Management system that I use as a full port manager for my LFS Linux system build and for all other Linux or FreeBSD distributions that I use.

All ports and packages are managed on my server using MySQL and PHP/Symfony. These ports are then converted into PORTBUILD files and a SQLite3 database for use on the actual linux system. The actual manup script on the linux system is a series of perl scripts which are upgradable by the manup system itself.

creator avatar
mreschke
Updated by mreschke on 2012-01-29 16:13:29
Views: 44
Comments: 0
Post #  permalink Topic #282 by mreschke on 2012-01-14 16:11:28 (viewed 88 times)
Build and enhance my first LFS 7.0 custom Linux distribution :r: :r: :r: :r: You should turn your LFS build into a LiveCD, then use that CD as the installer!!! http:www.linuxfromscratch.org/hints/downloads/files/boot-cd_easy.txt http:www.linux-live.org/ http:www.culmination.org/Mike/2.6-udev-nptl-bootcd.txt Installer packages http:wiki.debian.org/DebianInstaller http:fedoraproject.org/wiki/Anaconda LC_ALL=POSIX I have successfully built LFS 7.0 i686 on my 2011 qdesk (AMD Phenom X4 8GB - see ) m...
creator avatar
mreschke
Updated by mreschke on 2012-02-04 15:21:29
Views: 88
Comments: 0
Post #  permalink Topic #278 by mreschke on 2011-11-16 08:10:52 (viewed 191 times)

Learn how to connect to an an PHP/SOAP or ASP.NET/SOAP web service with PHP and how to create a PHP SOAP web service (server)

creator avatar
mreschke
Updated by mreschke on 2011-11-16 13:50:20
Views: 191
Comments: 0
Post #  permalink Topic #270 by mreschke on 2011-10-12 15:10:22 (viewed 133 times)

FreeBSD is an advanced operating system for modern server, desktop, and embedded computer platforms.[1] This is only a brief crash course or introduction to a few of the import tasks in FreeBSD, mostly installing ports/packages, upgrading the system and navigating the file system.

FreeBSD maintains an incredible wealth of documentation on their website, see their Handbook for information. A great intro to FreeBSD can be found http://www.freebsd.org/doc/en/articles/linux-users/article.html

Exclamation3
Please note that I come mostly from Linux, so I tend to setup FreeBSD in a manner that is similar to my Linux environment (ie, bash vs csh...).

Each command in this topic starts with a # if it is meant to be run as the root user, or a $ (or no sign) if it is meant to be run as the regular user (your main user account)
creator avatar
mreschke
Updated by mreschke on 2012-01-09 16:15:39
Views: 133
Comments: 0
Post #  permalink Topic #263 by mreschke on 2011-10-07 13:28:29 (viewed 159 times)
Oh yeah, pfSense baby! http:www.polarcloud.com/tomato a different firmware for your wrt54g Dont buy Wifi miniPCi cards at netgate.com, they are expensive, buy at http:www.roc-noc.com/wistron/minipci/radio/CM9.html or http:www.mini-box.com/miniPCI-and-mPCi-Express-cards_2 A great review of the ALIX from netgate http:xercestech.com/alix-single-board-computer.geek Install on VirtublBox using pfSense-2.0-RELEASE-i386.iso in custom install mode took only a few minutes. Just bought this http:store.ne...
creator avatar
mreschke
Updated by mreschke on 2011-11-15 13:10:41
Views: 159
Comments: 0
Post #  permalink Topic #255 by mreschke on 2011-06-14 12:37:23 (viewed 1,063 times)
Official mRcore4 RESTful API Documentation! :r: Why? I have created several RESTful API's simply because I wanted to learn how to develop webservices using PHP and REST. I sort of followed Twitters API URL style (http:dev.twitter.com/doc), if they can't do REST, no one can eh? Eventually I would like to create a native Android application for mRcore4 using these API's, and possibly experiment abstracting the database layer completely, making all queries through an API. It has already come in ha...
creator avatar
mreschke
Updated by mreschke on 2011-12-21 00:22:56
Views: 1,063
Comments: 0
Post #  permalink Topic #254 by mreschke on 2011-06-08 09:14:59 (viewed 2,435 times)

This topic helps with two things. One is to upgrade an old Ubuntu release to a new release, and by old I mean one that is no longer supported. Keep in mind that if say 9.04 is unsupported, but 9.10 is still supported, you can simply do the do-release-update. This doc helps when both 9.04 and 9.10 and above are EOL (end of life). Second is to maintain the use of an old Ubuntu distro even after its repositories stop working. Basically if you don't install the LTS (Long Term Support) release of Ubuntu then your distro is only supported for about a year. After that year all your repositories (using apt-get) fail and cannot be found. This is because Ubuntu archives the old repositories to a different URL. You don't actually have to upgrade your old Ubuntu distro, and you can continue to use it and its repos, you just have to switch to the new repo URL's. See below.

creator avatar
mreschke
Updated by mreschke on 2011-10-11 16:37:01
Views: 2,435
Comments: 0
Post #  permalink Topic #253 by mreschke on 2011-06-07 12:40:06 (viewed 307 times)
I need to adjust the date and time in linux quite often and sometimes its a pain to google the correct procedure of hardware clock and system clock. So here it is. This will change both your system clock and hardware clock together sudo date -s "7 JUN 2011 12:44:00"; sudo hwclock --systohc Show System Clock date Show Hardware Clock sudo hwclock --show Change System Clock sudo date -s "2 OCT 2006 18:00:00" Set Hardware Clock from System Clock sudo hwclock --systohc Set System Clock from Hardware...
creator avatar
mreschke
Updated by mreschke on 2011-06-07 12:46:36
Views: 307
Comments: 0
Post #  permalink Topic #244 by mreschke on 2011-04-14 20:53:19 (viewed 289 times)
Small miscellaneous PHP code snippets and scripts while (list($key, $value) = each($_POST)) { echo "$key - $value"; }
creator avatar
mreschke
Updated by mreschke on 2011-08-10 18:38:15
Views: 289
Comments: 0
Post #  permalink Topic #238 by mreschke on 2011-03-08 10:53:32 (viewed 363 times)
http:msdn.microsoft.com/en-us/library/ms972966.aspx http:www.4guysfromrolla.com/articles/022603-1.aspx I have a large html file, I want to remove anything between the tags, even if the contents is on multiple lines. There is a regex option called RegexOptions.MultiLine which I though would work, but its actually the RegexOptions.Singleline below what makes it span multiple lines, see http:msdn.microsoft.com/en-us/library/ms972966.aspx for details on RegexOptions.Singleline. Dim reg As New Regex...
creator avatar
mreschke
Updated by mreschke on 2011-09-06 12:54:59
Views: 363
Comments: 0
Post #  permalink Topic #237 by mreschke on 2011-02-26 12:51:33 (viewed 1,900 times)
Easy install is to add to your /etc/pacman.conf file then through aur install android-sdk sudo pacman -S jdk eclipse sudo yaourt -S android-sdk Note, the android-sdk is in the AUR, which is why I use yaourt Add /opt/android-sdk/tools if not already added by installer in /etc/profile and logout and back in or restart Run eclipse Install the WST Server Adapters In eclipse, Help->Install New Software Select the 'Helios - http:download.eclipse.org/releases/helios' item from the 'Work With:' dropdow...
creator avatar
mreschke
Updated by mreschke on 2011-06-16 23:10:44
Views: 1,900
Comments: 0
Post #  permalink Topic #232 by mreschke on 2011-02-03 19:04:28 (viewed 75 times)
Update ports tree sudo port selfupdate List all ports port list Search for a port port search xxx Info on a port port info xxx Install port with port install xxx Show outdated ports port outdated Upgrade all your existing ports sudo port upgrade outdated Upgrade one port sudo port upgrade xxx You can install GTK apps like leafpad, but they look ugly. Change the GTK theme with: http:hints.macworld.com/article.php?story=20080309171359879 You can use the mac4lin gtk theme, see: http:pepijndevos.nl...
creator avatar
mreschke
Updated by mreschke on 2011-11-15 13:09:03
Views: 75
Comments: 0
Post #  permalink Topic #227 by mreschke on 2010-12-08 18:45:38 (viewed 660 times)
= :related: Related Topics :r: :r: :r: :r: NOTICE, you cannot install the nautilus-elementary package if you want Gnome 3 or else you get the 'something has gone wrong!' message saying cannot load windowNavigator. If you look at your ~/.xsession-errors file you will see something about (gnome-shell:8330): GLib-GIO-CRITICAL : Settings schema 'org.gnome.nautilus.desktop' is not installed. This was my problem! Just install nautilus which removes nautilus-elementary and works great! This is the dev...
creator avatar
mreschke
Updated by mreschke on 2011-12-09 08:26:50
Views: 660
Comments: 0
Post #  permalink Topic #226 by mreschke on 2010-12-06 17:40:02 (viewed 566 times)
See Also and Replace all occurrence's in a file (and write back to the same file) sed -i "s/this/withthis/g" /tmp/somefile Replace output newline (carriage return) with sed ':a;N;$!ba;s/\n/ /g' emailbody="Your Directory`/bin/ls -Rhal $yourdir|sed ':a;N;$!ba;s/\ng'`"
creator avatar
mreschke
Updated by mreschke on 2011-09-06 12:55:37
Views: 566
Comments: 0
Post #  permalink Topic #225 by mreschke on 2010-12-04 21:32:15 (viewed 757 times)
See also and Awk is a very powerfull line editor filter or small programming language available in all unix style operating systems. This page contains small tutorial awk scripts and snippets. Columns are automatically assigned $1 - $n. And $0 is the entire line Awk has some built in functions: gsub(r,s) globally replaces r with s within the line ($0) index(s,t) returns first position of string t in s (or 0 if not present) length(s) returns the number of characters in s match(s,r) tests weather...
creator avatar
mreschke
Updated by mreschke on 2011-09-06 12:55:58
Views: 757
Comments: 0
Post #  permalink Topic #223 by mreschke on 2010-12-01 09:41:46 (viewed 736 times)
= :related: Related Topics :r: :r: :r: :r: This is the development topic for my custom ArchLinux KDE4 Distro. The public install page is Add to installer, screen command with my ~/.screenrc If you want to customize the overlay and upload it for all new installs, follow these steps. For creator only, passwords required Install the latest fresh qLinux ArchLinux KDE4 distro Become root su for all commands below mkdir /mrch, should be owned by root:root cd /mrch then wget http:mreschke.com/files/18...
creator avatar
mreschke
Updated by mreschke on 2011-05-04 08:56:28
Views: 736
Comments: 0
Post #  permalink Topic #222 by mreschke on 2010-11-26 12:49:49 (viewed 623 times)

An incredible linux administrators guide thanks to Linux Format Magazine (LXF Issue 138).

You can download the entire guide here rute-html-1.0.0.tar.bz2

Or read the full guide on my site by clicking here!

cover5.jpg

creator avatar
mreschke
Updated by mreschke on 2011-04-14 16:22:45
Views: 623
Comments: 0
Post #  permalink Topic #213 by mreschke on 2010-11-10 09:57:48 (viewed 194 times)
This script will email a log file (or any file specified) only if the file is under a certain size. If the file is over that size limit, it will still email, but no log will be attached. See Script does not use parameters, everything is hard coded, so just call the .vbs. Great in a scheduled task to email you a daily log file. Can easily be modified with parameters for various purposes. Option Explicit Dim iMsg, iConf, Flds, pc 'Email vars Dim logFile, maxLogSize 'Log vars Dim FSO, File, strSiz...
creator avatar
mreschke
Updated by mreschke on 2010-11-27 13:24:15
Views: 194
Comments: 0
Post #  permalink Topic #212 by mreschke on 2010-11-10 09:48:27 (viewed 244 times)
This script will start or stop a process by process name. If the process is already running with a start is called, it will not start a duplicate. The benefit is that it will NOT start the script twice. So if you want to ensure an application is running all the time, just setup a scheduled task to run this script every 10 minutes, if the .exe dies it will start it, if the .exe is still running, it won't start a duplication. REM Example Script.bat (note I path to the .exe dir so it runs in its l...
creator avatar
mreschke
Updated by mreschke on 2010-12-02 12:39:01
Views: 244
Comments: 0
Post #  permalink Topic #211 by mreschke on 2010-11-10 09:20:31 (viewed 424 times)
This script will recursively delete all files in every subfolder older than X days. Will not delete any folders, just files. I create a batch file and call the vbs script for any directory I need purged. rem Use this script to clean up any old files automatically. rem This .bat will be called weekly from a scheduled task, and will rem call the d:\production\batch\generic\DeleteOldFiles.vbs with directory/day parameters rem the commands will not run simultaneously (unless they begin with start)...
creator avatar
mreschke
Updated by mreschke on 2011-09-08 11:15:59
Views: 424
Comments: 0
Post #  permalink Topic #210 by h3ff01 on 2010-11-09 09:30:14 (viewed 2,094 times)
Hello! Anybody there? Move along now
creator avatar
h3ff01
Updated by mreschke on 2011-12-30 10:23:16
Views: 2,094
Comments: 0
Post #  permalink Topic #207 by mreschke on 2010-10-29 16:36:06 (viewed 606 times)
testing testing Testing Testing Testing Testing Testing Testing Testing waz up google.load("visualization", "1", {packages:}); google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('string', 'Year'); data.addColumn('number', 'Sales'); data.addColumn('number', 'Expenses'); data.addRows(4); data.setValue(0, 0, '2004'); data.setValue(0, 1, 1000); data.setValue(0, 2, 400); data.setValue(1, 0, '2005'); data.setValue(1, 1, 1170); da...
creator avatar
mreschke
Updated by mreschke on 2011-12-21 13:23:30
Views: 606
Comments: 0
Post #  permalink Topic #205 by mreschke on 2010-10-26 17:13:27 (viewed 1,466 times)
The official help and documentation of mrcore. Include links to wiki syntax, add general site help and full search query help. Remove this old text wiki syntax stuff, just link to . Create a full search query helper. Welcome to the official help and documentation guide for mrcore, the core engine behind ! This topic is currently under construction, though the wiki syntax document is complete, please visit
creator avatar
mreschke
Updated by mreschke on 2011-05-29 17:08:36
Views: 1,466
Comments: 0
Post #  permalink Topic #201 by mreschke on 2010-09-29 10:20:17 (viewed 873 times)
I nice piece of javascript to alert the user X minutes before their session will timeout. Then again when their session actually times out. After they click OK on the last message, it redirects back to the login page (or wherever you want). The only variables you need to edit are warn_sec, timeout_sec, and window.location.href. Session Timeout Warning and Redirect mReschke 2010-09-29 function InitSessionTimer() { /mReschke 2010-09-29 */ warn_sec = 59 60 1000; Warning time in milliseconds timeout...
creator avatar
mreschke
Updated by mreschke on 2010-11-27 13:24:53
Views: 873
Comments: 0
Post #  permalink Topic #196 by mreschke on 2010-07-12 23:04:51 (viewed 224 times)
Install the Intel Corporation PRO/Wireless 2200BG on linux http:wiki.debian.org/ipw2200 http:wiki.debian.org/WiFi/HowToUse Wicd for XFCE is an awesome wifi manager sudo apt-get install wicd /etc/init.d/wicd start wicd-client -n &
creator avatar
mreschke
Updated by mreschke on 2010-11-27 13:25:10
Views: 224
Comments: 0