WordPress Server Configurations Link Now we know about permissions and how to read them. But before proceeding to change all of our permissions, we need to understand how our server is set up. Because permissions deal with user accounts and groups, we need to know how our WordPress website runs. A lot of different server configurations are out there. Different configurations need different sets of permission modes for WordPress to work correctly and securely. We’ll talk about just the two most common configurations and the proper permissions for them: Standard server configuration: You have a user account. Your Web server runs as another user account. Shared server configuration or suEXEC configuration: You have a user account. Other people who use the server have user accounts and might share the same group with your user account. Your Web server runs as the owner of your WordPress files.
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
| push "route 192.168.1.0 255.255.255.0" | |
| server 192.168.66.0 255.255.255.0 | |
| dev tun0 | |
| proto udp | |
| port 1194 | |
| keepalive 15 60 | |
| daemon | |
| verb 3 |
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 | |
| ################################################################################## | |
| ## | |
| ## gen_hosts by IronManLok | |
| ## | |
| ## Downloads domain entries of known ad abusers from multiple sources, | |
| ## cleans up, merges and removes duplicates. Includes white-listing and | |
| ## custom host entries. | |
| ## |
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
| mysql -u username -h hostname.lan -p databasename < piwigo.sql |
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
| avconv -i rtsp://192.168.1.243:554/onvif1 -r 10 -vsync 1 -qscale 1 -vframes 1 -vf "hflip" image.jpg |
##Broker Status
Clients can find information about the broker by subscribing to topics in the $SYS hierarchy as follows. Topics marked as static are only sent once per client on subscription. All other topics are updated every sys_interval seconds. If sys_interval is 0, then updates are not sent.
Note that if you are using a command line client to interact with the $SYS topics and your shell interprets $ as an environment variable, you need to place the topic in single quotes '$SYS/...' or to escape the dollar symbol: $SYS/... otherwise the $SYS will be treated as an environment variable.
$SYS/broker/bytes/received
The total number of bytes received since the broker started.
$SYS/broker/bytes/sent
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
| //--------------------------------------------------------------------- | |
| // Pulse String Decoder Sketch with Ethernet forwarding | |
| // GNU GPL openenergymonitor.org | |
| // Author: Trystan Lea | |
| // Modified: kenci | |
| // Added DSB1820 Sensors | |
| //--------------------------------------------------------------------- | |
| #include <Ethernet.h> | |
| #include <SPI.h> | |
| #include <PubSubClient.h> |
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
| Send: M503 | |
| Recv: echo:Steps per unit: | |
| Recv: echo: M92 X99.46 Y99.91 Z401.81 E115.00 | |
| Recv: echo:Maximum feedrates (mm/s): | |
| Recv: echo: M203 X400.00 Y400.00 Z8.00 E50.00 | |
| Recv: echo:Maximum Acceleration (mm/s2): | |
| Recv: echo: M201 X1000 Y1000 Z100 E5000 | |
| Recv: echo:Accelerations: P=printing, R=retract and T=travel | |
| Recv: echo: M204 P400.00 R1000.00 T400.00 | |
| Recv: echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s) |
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
| 5v arduino nano -> 3v3 nrf24l01+ -> 3v3 bh1750 = 6.9mA | |
| 5v arduino nano -> 5v adapter -> nrf24l01+ -> 3v3 bh1750 = 10.6mA | |
| 5v arduino nano -> 3v3 adapter -> nrf24l01+ -> 3v3 bh1750 = 22.3mA | |
| 5v arduino nano -> 3v3 nrf24l01+ -> 5v bh1750 = 6.9mA | |
| 5v arduino pro -> 5v adapter -> 3v3 nrf24l01+ -> 5v bh1750 = 10mA | |
| 5v arduino pro w/o led -> 5v adapter -> 3v3 nrf24l01+ -> 5v bh1750 = 3.7mA? |