Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
# 2. The same as 1. but instead of watching changes, this script runs sheduled | |
# use this for larger folders | |
# either use https://launched.zerowidth.com/plists/rt8LaZeMvL or follow those steps | |
# create a folder for this LaunchAgent | |
mkdir -p ~/Library/LaunchAgents | |
# create a LaunchAgent file | |
nano ~/Library/LaunchAgents/launched.sycn.plist | |
launchctl load -w ~/Library/LaunchAgents/launched.sycn.plist | |
launchctl list | grep sync | |
# content of the file, replace "ADD RSYNC COMMAND" with your command |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
# header for block 727155 | |
DECLARE hash_prev_block STRING DEFAULT "00000000000000000004136135b2e0cd367b56ea6c0dd5b8f79964a4cd7d2718"; | |
DECLARE merkle_root STRING DEFAULT "0d14fac91555d6337b10b2f20de231858fb5225f2ff685cd9b487c235d6e8307"; | |
DECLARE header_datetime STRING DEFAULT "622defb9"; | |
DECLARE bits STRING DEFAULT "170a3773"; | |
DECLARE nonce STRING DEFAULT "c8f05860"; | |
DECLARE nonce_dec INT64 DEFAULT 3371194460; # target is 3371194464 | |
DECLARE version STRING DEFAULT "20002000"; | |
DECLARE soft_forks STRING DEFAULT "0000000000000"; | |
DECLARE version_roller INT64 DEFAULT 1; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
<!-- | |
This script logs events to the console adding a timestamp | |
This script helps to understand the different states of a document | |
and how async/defer loading tag works | |
This example should run with a webserver, although is plain HTML and JavaScript. | |
If you call it directly with a browser, you may not be able to simulate a real environment | |
1. Create a huge random image like that e.g: | |
php -d memory_limit=1G -r '$x = $y = 500; $im = imagecreatetruecolor($x,$y); for($i = 0; $i < $x; $i++) { for($j = 0; $j < $y; $j++) {$color = imagecolorallocate($im, rand(0,255), rand(0,255), rand(0,255)); imagesetpixel($im, $i, $j, $color); } }; imagepng($im, "sample.png");' |
NewerOlder