This command will execute every 60 seconds which will trigger your Laravel schedules in 1 min range.
while true; do php artisan schedule:run; sleep 60; done
// ==UserScript== | |
// @name Dark Wide YouTube | |
// @namespace DWYT | |
// @version 1.0 | |
// @description Dark Wide YouTube | |
// @author Syed I.R. | |
// @match https://*.youtube.com/* | |
// @require https://raw.githubusercontent.com/madmurphy/cookies.js/master/cookies_min.js | |
// @grant none | |
// @noframes |
Binance as you know has taken over Bittrex in terms of volume and has been performing quite well with coin listings every week happening and interesting contests. However, due to the huge number of registrations on their platform, they have temporally closed registrations. But there is still a work-around to register an account with Binance despite the registrations being closed.
Here's a way to easily register an account with Binance:
Just follow this link and register an account as you would normally and enjoy! Do share with others too :)
# Tunnels to valet project with custom domain name. | |
# Uses ngrok.com with my personal github account and auth token | |
function tunnel_valet() { | |
HOST="${PWD##*/}" | |
DOMAIN=$(valet domain) | |
SUBDOMAIN="$HOST" | |
[[ "$1" ]] && SUBDOMAIN=$1; | |
for linkname in ~/.valet/Sites/*; do | |
if [[ "$(readlink $linkname)" = "$PWD" ]] |
<?php | |
/** | |
* getRandomWeightedElement() | |
* Utility function for getting random values with weighting. | |
* Pass in an associative array, such as array('A'=>5, 'B'=>45, 'C'=>50) | |
* An array like this means that "A" has a 5% chance of being selected, "B" 45%, and "C" 50%. | |
* The return value is the array key, A, B, or C in this case. Note that the values assigned | |
* do not have to be percentages. The values are simply relative to each other. If one value | |
* weight was 2, and the other weight of 1, the value with the weight of 2 has about a 66% | |
* chance of being selected. Also note that weights should be integers. |
If you've tried to update your Google Chrome and the update failed because of the error 11 issue, Then here's a simple and easy solution that'll let you update your Google Chrome again and fix the issue once & for all.
First try fixing with the following instructions on this page: https://support.google.com/chrome/answer/111996?hl=en&rd=1
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Laravel Version Check | |
* | |
* @return bool | |
*/ | |
private function isLaravel4() | |
{ | |
return version_compare(get_class($this->app) . '::VERSION', '5', '<'); |
#!/bin/sh | |
# PATH TO YOUR HOSTS FILE | |
ETC_HOSTS=/etc/hosts | |
# DEFAULT IP FOR HOSTNAME | |
IP="127.0.0.1" | |
# Hostname to add/remove. | |
HOSTNAME=$1 |