Registered since September 28th, 2017
Has a total of 3394 bookmarks.
Showing top Tags within 18 bookmarks
Tag selected: execute.
Saved by uncleflo on January 4th, 2019.
If a user wants to execute a command, he has to first log in into a system. But some users in the system have /bin/false or /sbin/nologin set as a default shell in the /etc/password file. If I change /bin/bash to /bin/false in case of my user, I won't be able to log in into the system, so I also won't be able to run commands. But the shellless users do it anyway: How can a user without a shell execute a command? In POSIX, every running process has three User IDs (UIDs) associated with it; the real UID, which identifies the user who launched the process, the effective UID, which is used to determine what resources the process can access, and the saved Set-User-ID (SUID), which is the effective UID the process had when it started (at the point of the last exec() call). Of these, the effective UID is the most significant, since it is the one used when determining access control decisions regarding the process.
Saved by uncleflo on February 15th, 2018.
I have two *.sql files that I use when creating a new web site database. The first file creates all the tables. The second file populates some default records. I would like to execute these files from PHP. I also use the Zend_Framework, if that will help accomplish this? Answer: This question comes up from time to time. There's no good solution for running a .sql script directly from PHP. There are edge cases where statements common in a .sql script can't be executed as SQL statements. For example, the mysql tool has builtin commands that are not recognized by the MySQL Server, e.g. CONNECT, USE, and DELIMITER.
Saved by uncleflo on January 24th, 2018.
Find detailed information about the Bitcoin protocol and related specifications. The Developer Guide aims to provide the information you need to understand Bitcoin and start building Bitcoin-based applications, but it is not a specification. To make the best use of this documentation, you may want to install the current version of Bitcoin Core, either from source or from a pre-compiled executable.
detail technical bitcoin protocol specification guide information understand build application develop version core source execute server daemon reference howto development blockchain learn block transaction
Saved by uncleflo on December 28th, 2017.
HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides. HHVM supports Hack, PHP 5 and the major features of PHP 7. We are aware of minor incompatibilities, so please open issues when you find them. HHVM also supports many extensions as well. HHVM should be used together with a webserver like the built in, easy to deploy Proxygen, or a FastCGI-based webserver on top of nginx or Apache.
hhvm opensource virtual execute program jit compile performance perform development issue extension webserver fastcgi administration improve production apache nginx maintenance code developer server implementation facebook support documentation download github installation install source host website run howto report fix
Saved by uncleflo on February 8th, 2017.
Sometimes there's a need to ensure only one copy of a script runs, i.e prevent two or more copies running simultaneously. Imagine an important cronjob doing something very important, which will fail or corrupt data if two copies of the called program were to run at the same time. To prevent this, a form of MUTEX (mutual exclusion) lock is needed. The basic procedure is simple: The script checks if a specific condition (locking) is present at startup, if yes, it's locked - the scipt doesn't start. This article describes locking with common UNIX® tools. There are other special locking tools available, But they're not standardized, or worse yet, you can't be sure they're present when you want to run your scripts. A tool designed for specifically for this purpose does the job much better than general purpose code.
Saved by uncleflo on December 9th, 2016.
Event handlers are optional system commands (scripts or executables) that are run whenever a host or service state change occurs.
Saved by uncleflo on October 28th, 2016.
This tutorial assumes no previous knowledge of scripting or programming, yet progresses rapidly toward an intermediate/advanced level of instruction... all the while sneaking in little nuggets of UNIX® wisdom and lore. It serves as a textbook, a manual for self-study, and as a reference and source of knowledge on shell scripting techniques. The exercises and heavily-commented examples invite active reader participation, under the premise that the only way to really learn scripting is to write scripts. This book is suitable for classroom use as a general introduction to programming concepts. This document is herewith granted to the Public Domain. No copyright!
Saved by uncleflo on October 28th, 2016.
The primary reason for writing this document is that a lot of readers feel the existing HOWTO to be too short and incomplete, while the Bash Scripting guide is too much of a reference work. There is nothing in between these two extremes. I also wrote this guide on the general principal that not enough free basic courses are available, though they should be. This is a practical guide which, while not always being too serious, tries to give real-life instead of theoretical examples. I partly wrote it because I don't get excited with stripped down and over-simplified examples written by people who know what they are talking about, showing some really cool Bash feature so much out of its context that you cannot ever use it in practical circumstances. You can read that sort of stuff after finishing this book, which contains exercises and examples that will help you survive in the real world. From my experience as UNIX/Linux user, system administrator and trainer, I know that people can have years of daily interaction with their systems, without having the slightest knowledge of task automation. Thus they often think that UNIX is not userfriendly, and even worse, they get the impression that it is slow and old-fashioned. This problem is another one that can be remedied by this guide.
Saved by uncleflo on October 15th, 2016.
CSSTidy is an opensource CSS parser and optimiser. It is available as executeable file (available for Windows, Linux and OSX) which can be controlled per command line and as PHP script (both with almost the same functionality).
In opposite to most other CSS parsers, no regular expressions are used and thus CSSTidy has full CSS2 support and a higher reliability.
Saved by uncleflo on April 5th, 2015.
Saved by uncleflo on September 2nd, 2014.
When we started working on the project, we used a lot of cutting edge tools, especially in terms of 3-D modeling and the fabrication machinery used to execute this incredibly complex design. But since then, a funny thing has happened. What we thought was cutting edge has become the norm. However, when I tell this to people (even people in the steel industry), they initially look skeptical. They tell me steel is an old, mature, smoke-stack industry. But while steel has been the material of choice for construction for most of the past century, it doesn't mean it's not a modern industry with new technology (ranging from improvements in the properties of steel to better equipment and new communication and design tools). And fortunately, on September 19, you have a chance to see for yourself.
MITx edx 2.01x steel construction solution project american construct build building structural element structure evolution technology aisc fabrication tool model machinery execute design improve properties equipment communication activities lecture webinar designers century property modern improvement elements of structures
Saved by uncleflo on August 10th, 2014.
This article is here to provide tips for getting EAC to work in linux under Wine. Wine is an application layer that allows you to run Windows-based programs under linux. EAC 1.0b3 will run under Wine, but you will need to do some tweaking. Specific instructions will be provided specifically for the gentoo distribution, but these instructions can be adapted for use in other distributions such as Ubuntu.
log music flac lossless cd album perfect audiophile eac what.cd tool setup guide exact audio copy rip information step-by-step reference instruction follow advice prepare settings wine linux ubuntu good execute standard tip application program distribution version experience config
Saved by uncleflo on September 6th, 2013.
Today I ran yum on a new virtual machine and noticed this error in the output. A quick look at /proc/swaps shows that this machine does not have any swap space configured. I’m running RHEL 6.3 from the default image in a micro instance on AWS. So Let’s set up a 1GB swap file and turn it on.
Saved by uncleflo on September 5th, 2013.
Novell/SUSE Linux uses a system of scripts to determine which services to run on system boot. These scripts exist in /etc/init.d/ (or the symbolic link /etc/rc.d/), and are referred to as 'init scripts.' They help dictate which services are active in each runlevel, and also allow the services to be manually controlled. For more information on runlevels, see this article. Each service that ships with Novell/SUSE Linux installs a script in /etc/init.d/. If a custom service is installed it may not have a init script. This article explains how to create these scripts.
Saved by uncleflo on August 23rd, 2013.
Can't figure out why using dd to write zeros to a hard drive is so slow. Yesterday, I prepped a hard drive for a friend and did the standard command: dd if=/dev/zero of=/dev/sda The machine I used has a Core 2 Duo 2.4 Ghz cpu, 2 Gigs of DDR2 800 RAM, a new Intel mobo, and a Western Digital 250 gig. SATA drive with 16 meg. cache. The result was 30,482 seconds (approx. 8.5 hrs.) to write zeros to the entire 500 Gig. drive, at an average rate of 16.4 MB/sec.
Saved by uncleflo on May 10th, 2013.
The Exec-PHP plugin executes PHP code in posts, pages and text widgets. Features: Executes PHP code in the excerpt and the content portion of your posts and pages, Configurable execution of PHP code in text widgets (for WordPress 2.2 or higher), Write PHP code in familiar syntax, eg. , Works in your newsfeeds, Information about which users are allowed to execute PHP with the current security settings (for WordPress 2.1 or higher), Configurable user warnings for inappropriate blog and user settings (for WordPress 2.1 or higher), Restrict execution of PHP code in posts and pages to certain users by using roles and capabilities, Update notifications through the 'Plugins' menu in WordPress if a new version of the Exec-PHP plugin is available (for WordPress 2.3 or higher), Internationalization support (english and german included, many more available), Comes with documentation
Saved by uncleflo on February 24th, 2013.
This tutorial shows how write a MoSync Hybrid App that invokes a small piece of C++ code to open web sites in a new window (activity). This is useful if you for example wish to open Google Maps from your application. The source code for this tutorial is available on GitHub. Background In a Hybrid App, there is a WebView widget that displays HTML content. This WebView is not a fully featured browser in terms of navigation support, cookies etc. When opening a link (e.g. by clicking on it) the target is opened in the same WebView. This can cause problems, for example if you wish to navigate back to the original page displayed in the WebView. Complex web sites may work less well in the embedded WebView widget compared to the full web browser on the device.
No further bookmarks found.