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
void insertionSort(int *array, int array_length){ | |
int i, j, key; | |
for(j=1;j<array_length;j++){ | |
key = array[j]; | |
i=j-1; | |
while(i>=0 && array[i]>key){ | |
array[i+1]=array[i]; | |
i=i-1; | |
} |
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 class="header"> | |
<div class="container"> | |
<div class="header-logotype"> | |
<a href=""><img src="./images/logo.png" width="150" alt=""></a> | |
</div> | |
<div class="header-search componentSearch"> | |
<form action=""> | |
<input placeholder="Search" type="text" class="search"> | |
<span class="icon-search"></span> |
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 { | |
background-color: #000; | |
padding: 0.425em 0; | |
} | |
.header-logotype { | |
float: left; | |
} | |
.header-utility { |
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
/* ========================================================================== | |
Normalize.scss settings | |
========================================================================== */ | |
/** | |
* Includes legacy browser support IE6/7 | |
* | |
* Set to false if you want to drop support for IE6 and IE7 | |
*/ | |
/* Base | |
========================================================================== */ |
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
<section class="blog"> | |
<div class="container"> | |
<ul class="blog-ul-list"> | |
<li class="blog-entry"> | |
<figure class="image"> | |
<img src="./images/post1.jpg" alt=""> | |
</figure> | |
<div class="content"> | |
<div class="content-wrapper"> | |
<h2 class="title">Recording—Simplified: Ryan Montbleau on Mobile Recording</h2> |
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
.blog-ul-list { | |
margin: 0; | |
padding: 0; | |
} | |
.blog-entry { | |
background-color: #13161a; | |
list-style: none; | |
width: 49.15254%; | |
float: left; |
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
function chaplains_init() { | |
global $wp,$wp_rewrite; | |
$wp_rewrite->add_rule('chaplains/([0-9]{4})/?$', | |
'index.php?pagename=mypage&id=$matches[1]', 'top'); | |
// $wp_rewrite->flush_rules(false); | |
} | |
add_action('init','chaplains_init'); |
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
const str = window.location.href ; | |
const regex = /\/chaplains\/([0-9]{1,5})/g; | |
const results = regex.exec(str); | |
const id = results[1]; |
OlderNewer