Generated on 2017-02-28T18:20:00+0100 using:
- TechBench dump script (tbdump-web)
- FreeBSD 10.3-STABLE amd64 devil-1_0_4
- curl 7.52.1 (amd64-portbld-freebsd10.3) libcurl/7.52.1 OpenSSL/1.0.1s zlib/1.2.8 libssh2/1.8.0 nghttp2/1.18.1
Number of products: 225
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
function Get-ADDNSRecords { | |
<# | |
update of dns-dump.ps1 by Michael B. Smith | |
michael at smithcons dot com | |
https://github.com/mmessano/PowerShell/blob/master/dns-dump.ps1 | |
#> | |
Param( | |
[string]$zone = "$env:USERDNSDOMAIN", | |
[string]$dc = "$(($env:LOGONSERVER).trim('\'))" | |
) |
$Hso = New-Object Net.HttpListener | |
$Hso.Prefixes.Add("http://+:8000/") | |
$Hso.Start() | |
While ($Hso.IsListening) { | |
$HC = $Hso.GetContext() | |
$HRes = $HC.Response | |
$HRes.Headers.Add("Content-Type","text/plain") | |
$Buf = [Text.Encoding]::UTF8.GetBytes((GC (Join-Path $Pwd ($HC.Request).RawUrl))) | |
$HRes.ContentLength64 = $Buf.Length | |
$HRes.OutputStream.Write($Buf,0,$Buf.Length) |
echo -----BEGIN CERTIFICATE----- > encoded.txt | |
echo Just Base64 encode your binary data | |
echo TVoAAA== >> encoded.txt | |
echo -----END CERTIFICATE----- >> encoded.txt | |
certutil -decode encoded.txt decoded.bin |
/* | |
Chrome Developer Tools - Monokai Color Theme | |
Author: Béres Máté Csaba / bjmatt.com / @bjmatt / beres.mate@bjmatt.com | |
----------------------------------------------------------------------------------------------------------- | |
Installation: | |
1. Find your Chrome's user stylesheets directory: |
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important
or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
This is where any fun you might have been having ends. Now it’s time to get serious and talk about rules.
Writing CSS is hard. Even if you know all the intricacies of position and float and overflow and z-index, it’s easy to end up with spaghetti code where you need inline styles, !important rules, unused cruft, and general confusion. This guide provides some architecture for writing CSS so it stays clean and ma
.subtle-gradient-1 { | |
background-image: linear-gradient(to right, #f0fcff 0%, #f2f4ff 100%); | |
} | |
.pastel-gradient-1 { | |
background-image: linear-gradient(to left bottom, hsl(253, 100%, 85%) 0%, hsl(132, 100%, 85%) 100%); | |
} |
' The adjacent data entry requires that you know the position of each column. The SQL provides | |
' an alternative that allows you to perform data entry using the name of a column | |
' instead of its position. This allows you to provide the values of fields in any order of your choice. | |
' To perform data entry at random, you must provide a list of the columns | |
' of the table in the order of your choice. You can either use all columns or | |
' provide a list of the same columns but in your own order. Here is an example: | |
Private Sub btnCreateRecord_Click(ByVal sender As System.Object, _ |
// Will iterate through every 'a' tag element with an 'href' attribute on the page. | |
// If the href attribute of it has a .doc, .xls, or .pdf in it, | |
// it will apply the appropriate class name to it (e.g. class="doc") | |
$('a[href]').each(function() { | |
if((C = $(this).attr('href').match([.](doc|xls|pdf)$))) { | |
$(this).addClass(C[1]); | |
} | |
}); |