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 | |
/** | |
* Playing with Arrays | |
* List of functions: http://us2.php.net/manual/en/ref.array.php | |
**/ | |
// Creating an array | |
$array = array('value1', 2, 'value3', 4.5); | |
// Remember an array starts at position 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
$.fn.select2.amd.define('select2/data/extended-ajax',['./ajax','../utils','jquery'], function(AjaxAdapter, Utils, $){ | |
function ExtendedAjaxAdapter ($element,options) { | |
//we need explicitly process minimumInputLength value | |
//to decide should we use AjaxAdapter or return defaultResults, | |
//so it is impossible to use MinimumLength decorator here | |
this.minimumInputLength = options.get('minimumInputLength'); | |
this.defaultResults = options.get('defaultResults'); | |
ExtendedAjaxAdapter.__super__.constructor.call(this,$element,options); |
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
# Rename from 'C:/Users/Repos/phishfoodvr/.git/refs/remotes/origin/CHA/main.lock' to 'C:/Users/Repos/phishfoodvr/.git/refs/remotes/origin/CHA/main' failed. Should I try again? (y/n) n | |
# error: update_ref failed for ref 'refs/remotes/origin/CHA/main': couldn't set 'refs/remotes/origin/CHA/main' | |
$ cd $(git rev-parse --show-toplevel) # if necessary | |
$ rm -rf .git/refs/remotes/origin # remove all origin/* | |
$ mkdir .git/refs/remotes/origin # create empty origin/ | |
$ git fetch origin # repopulate origin/* |
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
<div class="container"> | |
<div class="head__section"> | |
<img src="https://images.unsplash.com/photo-1570295999919-56ceb5ecca61?ixid=MnwxMjA3fDB8MHxzZWFyY2h8MTR8fGF2YXRhcnxlbnwwfHwwfHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt=""> | |
<p>I'm a full stack web developer</p> | |
</div> | |
<div class="social__links"> | |
<ul id="item"> | |
<li class="instagram"><a href="#"> | |
<i class="fa fa-instagram"></i> | |
<span> |
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
// check version | |
node -v || node --version | |
// list installed versions of node (via nvm) | |
nvm ls | |
// install specific version of node | |
nvm install 6.9.2 | |
// set default version of node |
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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> | |
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
<!------ Include the above in your HEAD tag ----------> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | |
<section class="iq-features"> | |
<div class="container"> | |
<div class="row align-items-center"> | |
<div class="col-lg-3 col-md-12"></div> |
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
<div class="mx-auto my-2 max-w-md rounded overflow-hidden shadow-md text-xs"> | |
<div class="flex bg-gray-200 px-2 py-2"> | |
<div class="w-5/12 text-gray-700 text-left text-red-700">4:32 - 4th</div> | |
<div class="w-5/12 flex justify-end items-center"> | |
<p class="w-8 px-2 text-center">1</p> | |
<p class="w-8 px-2 text-center">2</p> | |
<p class="w-8 px-2 text-center">3</p> | |
<p class="w-8 px-2 text-center">4</p> | |
</div> |
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
to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice | |
stun: | |
stun.l.google.com:19302, | |
stun1.l.google.com:19302, | |
stun2.l.google.com:19302, | |
stun3.l.google.com:19302, | |
stun4.l.google.com:19302, | |
stun.ekiga.net, | |
stun.ideasip.com, |
OlderNewer