In my case(my machine is ubuntu 16), I append /etc/resolvconf/resolv.conf.d/base file by adding below ns lines.
nameserver 8.8.8.8
nameserver 4.2.2.1
nameserver 2001:4860:4860::8844
nameserver 2001:4860:4860::8888
then run the update script,
<?php | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
*/ | |
class VideoStream | |
{ | |
private $path = ""; |
<?php | |
namespace App\Http; | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link https://gist.github.com/vluzrmos/d5682ad426525196d069 | |
*/ |
#!/bin/sh | |
#after running this, hold alt/option and relaunch finder | |
defaults write com.apple.finder AppleShowAllFiles YES |
#!/bin/bash | |
# where to store the sparse-bundle-image | |
WORKSPACE=~/Documents/workspace.dmg.sparsebundle | |
create() { | |
hdiutil create -type SPARSEBUNDLE -fs 'Case-sensitive APFS - APFS (Case-sensitive)' -size 100g -volname workspace ${WORKSPACE} | |
} | |
detach() { |
<ion-input type="tel" pattern="\d*" placeholder="(xxx) xxx-xxxx" mask="(***) ***-****" [(ngModel)]="phone" name="phone"></ion-input> | |
<ion-input type="tel" pattern="\d*" placeholder="xxx-xx-xxxx" mask="***-**-****" [(ngModel)]="ssn" name="ssn"></ion-input> |
<?php | |
namespace Models; | |
trait FullTextSearch | |
{ | |
/** | |
* I did not write this! This is purely for reference | |
* | |
* Source: https://arianacosta.com/php/laravel/tutorial-full-text-search-laravel-5/ |
#!/bin/bash | |
level=$1 | |
#echo "level given is $level" | |
if [ $# != 1 ]; then | |
echo "USAGE: $0 brightness_level (0 to 255)" | |
exit 1 | |
fi |
In my case(my machine is ubuntu 16), I append /etc/resolvconf/resolv.conf.d/base file by adding below ns lines.
nameserver 8.8.8.8
nameserver 4.2.2.1
nameserver 2001:4860:4860::8844
nameserver 2001:4860:4860::8888
then run the update script,
#!/bin/sh | |
git branch --merged | grep -v "\*" | grep -v "master" | grep -v "develop" | grep -v "staging" | xargs -n 1 git branch -d |