Some of the practices described in this HOWTO are considered to be illegal as they often break internal corporate policies. Anything you do, you do at your own risk.
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
| #!/bin/sh | |
| # cron script for checking wlan connectivity | |
| # change 192.168.1.1 to whatever IP you want to check. | |
| IP_FOR_TEST="192.168.1.1" | |
| PING_COUNT=1 | |
| PING="/bin/ping" | |
| IFUP="/sbin/ifup" | |
| IFDOWN="/sbin/ifdown --force" |
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
| <!-- Example one shows the most verbose way of specifying a template that is only rendered if someObject is defined in the current view model | |
| This information was culled from https://github.com/SteveSanderson/knockout/blob/1.3/src/binding/defaultBindings.js#L445 | |
| --> | |
| <script type="text/html" id="sub-example-one"> | |
| <h2 data-bind="text: title"></h2> | |
| <p data-bine="text: description"></p> | |
| </script> | |
| <script type="text/html" id="example-one"> |
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
| author: JeremyRuston, Syrte | |
| core-version: >=5.0.0 | |
| dependents: | |
| description: Markdown parser | |
| list: readme usage howto | |
| plugin-type: plugin | |
| revision: 0 | |
| title: $:/plugins/tiddlywiki/markdown | |
| type: application/json | |
| version: 6.0.0 |
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
| # disable secure boot in the bios, in menu security | |
| # downlad and unzip refind-bin-0.7.8.zip | |
| # install refind, assuming your ESP partition is /dev/sda1 and mounted in /boot/efi | |
| cd refind-bin-0.7.8 | |
| ./install.sh | |
| # type y and go ahead | |
| # at that time your boot entry should look like that |
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
| deploy:live: | |
| image: 1drop/docker:git | |
| stage: deploy | |
| when: manual | |
| environment: | |
| name: production | |
| url: https://www.somecustomer.de | |
| before_script: | |
| - eval $(ssh-agent -s) | |
| - ssh-add <(echo "$SSH_PRIVATE_KEY") |
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
| # swap back to stream repos | |
| # dnf swap centos-{stream,linux}-repos -- only works if the centos-linux-repos package is cached | |
| dnf install --allowerasing https://mirror.rackspace.com/centos-vault/8.5.2111/BaseOS/x86_64/os/Packages/centos-linux-repos-8-3.el8.noarch.rpm | |
| # doesn't work, need to manually flip after update | |
| # dnf swap centos-{stream,linux}-release | |
| # update to centos-vault repos | |
| sudo sed -i -e '/mirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&arch=$basearch&repo=/ s/^#*/#/' -e '/baseurl=http:\/\/mirror.centos.org\/$contentdir\/$releasever\// s/^#*/#/' -e '/^\[baseos\]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/BaseOS/$basearch/os' /etc/yum.repos.d/CentOS-Linux-BaseOS.repo | |
| sudo sed -i -e '/mirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&arch=$basearch&repo=/ s/^#*/#/' -e '/baseurl=http:\/\/mirror.centos.org\/$contentdir\/$releasever\// s/^#*/#/' -e '/^\[appstream\]/a baseurl=https://mirror.rackspace.com/centos-vault/8.5.2111/AppStream/$basearch/os' /e |
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
| --- a/setup.py 2014-03-17 03:31:31.000000000 +0100 | |
| +++ b/setup.py 2014-03-17 19:06:03.000000000 +0100 | |
| @@ -750,10 +750,8 @@ | |
| exts.append( Extension('_socket', ['socketmodule.c'], | |
| depends = ['socketmodule.h']) ) | |
| # Detect SSL support for the socket module (via _ssl) | |
| - search_for_ssl_incs_in = [ | |
| - '/usr/local/ssl/include', | |
| - '/usr/contrib/ssl/include/' | |
| - ] |
Note: This was written in 2015, it may be out of date now.
There are a lot of commands here which I use
sudoif you don't know what you're doing withsudo, especially where Irmyou can severely screw up your system.
There are many reasons which you would want to remove a piece of software such as McAfee, such as not wanting it to hammer your CPU during work hours which seems like primetime for a virus scan.
I intend this to be a living document, I have included suggestions from peoples' replies.
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
| <?php | |
| /** | |
| * Plugin Name: [Forminator] Grants Full Access For Editor Role. | |
| * Plugin URI: https://premium.wpmudev.org/ | |
| * Description: This plugin allows users with the editor role to have full access (view and save) to the Forminator administrative pages. | |
| * Author: Glauber Silva @ WPMUDEV | |
| * Author URI: https://premium.wpmudev.org/ | |
| * Task: 0/11289012348292/1169742392170370 | |
| * License: GPLv2 or later | |
| * |
OlderNewer