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
<div id="app" class="checkbox-select"> | |
<div class="checkbox-select__trigger" :class="{ isActive: activeTrigger }" @click="showDropdown"> | |
<span class="checkbox-select__title">Select property type</span> | |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 129 129"><path d="M121.3 34.6c-1.6-1.6-4.2-1.6-5.8 0l-51 51.1-51.1-51.1c-1.6-1.6-4.2-1.6-5.8 0-1.6 1.6-1.6 4.2 0 5.8l53.9 53.9c.8.8 1.8 1.2 2.9 1.2 1 0 2.1-.4 2.9-1.2l53.9-53.9c1.7-1.6 1.7-4.2.1-5.8z"/></svg> | |
</div> | |
<div id="dropdown" class="checkbox-select__dropdown" :class="{ activeSearch: showLoader }"> | |
<div class="checkbox-select__search-wrapp"> | |
<input type="text" @focus="showLoader = true" @blur="showLoader = false" placeholder="search filters..." v-model="search"> | |
</div> |
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
public IEnumerable<UserAccount> GetPage(string sortField, int start, int Number) | |
{ | |
UserPrincipalEx findAllUsers = new UserPrincipalEx(thisOU); | |
PrincipalSearcher ps = new PrincipalSearcher(findAllUsers); | |
((DirectorySearcher) ps.GetUnderlyingSearcher()).PageSize = 0; | |
((DirectorySearcher)ps.GetUnderlyingSearcher()).Sort = new SortOption("cn", SortDirection.Ascending); | |
((DirectorySearcher)ps.GetUnderlyingSearcher()).VirtualListView = new DirectoryVirtualListView(0, Number, start); | |
PrincipalSearchResult<Principal> result = ps.FindAll(); | |
foreach (UserPrincipalEx user in result) | |
{ |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
$(document).ready(function(){ | |
jQuery.post( | |
"output.pdf", | |
jQuery(this).serialize() | |
) | |
}); |