Command | Format | Description |
---|---|---|
^A | ^Afo,h,w,d:f.x | Use Scalable/Bitmapped Font |
^A@ | ^A@o,h,w,d:f.x | Use Font Name to Call Font |
^B0 | ^B0a,b,c,d,e,f,g | Aztec Bar Code Parameters |
^B1 | ^B1o,e,h,f,g | Code 11 Bar Code |
^B2 | ^B2o,h,f,g,e,j | Interleaved 2 of 5 Bar Code |
^B3 | ^B3o,e,h,f,g | Code 39 Bar Code |
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
package com.ryan.practice.rest; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.http.ResponseEntity; | |
import org.springframework.web.bind.annotation.PostMapping; |
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
// The middleware delegate to call after this one finishes processing | |
private readonly RequestDelegate _next; | |
public SOAPEndpointMiddleware(RequestDelegate next) | |
{ | |
_next = next; | |
} |
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
// =============================================================================== | |
// Microsoft Data Access Application Block for .NET | |
// http://msdn.microsoft.com/library/en-us/dnbda/html/daab-rm.asp | |
// | |
// cs | |
// | |
// This file contains the implementations of the SqlHelper and SqlHelperParameterCache | |
// classes. | |
// | |
// For more information see the Data Access Application Block Implementation Overview. |
This will provide an example of integrating Active Directory authentication in an ASP.NET Core app.
Note, you'll need to be running on a Windows domain with Visual Studio debugggin in IIS Express for this to work.
In launchSettings.json
, you'll want to modify iisSettings
by turning on windowsAuthentication
:
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 | |
// this will read in all the speakers, sort them by date, then store in a file for use later | |
$speakerList = [ | |
'speaker-file', | |
]; | |
$speakers_all = []; | |
foreach($speakerList as $speaker) { | |
$speakers_all[$speaker] = include_once("./speakers/{$speaker}.php"); | |
$speakers_all[$speaker]['bullet-points'] = text2bullets($speakers_all[$speaker]['bullet-points']); |
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
[raw] | |
<h2 style="text-align: center;">Transferring to OtherMemberiumSite.com</h2> | |
<p style="text-align: center;"><img src="/wp-content/uploads/2016/04/icon-loading.gif" /></p> | |
[/raw] | |
<form id="memb-login" action="https://othermemberiumsite.com/wp-login.php" method="post"> | |
<input type="hidden" name="log" id="user_login" class="input" value="[memb_contact fields='Email']" /> | |
<input type="hidden" name="pwd" id="user_pass" class="input" value="[memb_contact fields='Password']" /> | |
</form> |
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 | |
/** | |
* Snippet to extract information about a class you don't have access to. | |
*/ | |
$extractClass = $GLOBALS['someclass']; | |
$className = get_class( $extractClass ); | |
$classMethods = get_class_methods( $extractClass ); | |
echo "Class: $className\n"; |