Skip to content

Instantly share code, notes, and snippets.

View ppisarczyk's full-sized avatar

Peter Pisarczyk ppisarczyk

  • Computech
  • United States
View GitHub Profile
@ppisarczyk
ppisarczyk / Programming_Languages_Extensions.json
Last active April 23, 2024 20:19 — forked from aymen-mouelhi/languages.json
Programming Languages and their File Extensions
[
{
"name":"ABAP",
"type":"programming",
"extensions":[
".abap"
]
},
{
"name":"AGS Script",
@ppisarczyk
ppisarczyk / Favorite Simple CSS Styles.css
Last active April 25, 2017 23:05 — forked from lightyrs/favorites.css
Favorite Simple CSS Styles
.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%);
}

Trello CSS Guide

“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

@ppisarczyk
ppisarczyk / Chrome_Dev_Tools_Skin.css
Last active April 25, 2017 23:06 — forked from lightyrs/Custom.css
My Chrome Dev Tools Skin incorporates the sleek visual style of codepen.io with some of my own usability enhancements. Pictured here with Monokai color scheme ( http://imgur.com/mbrqt ).
/*
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:

TechBench dump

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
@ppisarczyk
ppisarczyk / drop_binary.bat
Created August 27, 2016 03:51 — forked from mattifestation/drop_binary.bat
Drop binary data from the command line w/o needing PowerShell
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
@ppisarczyk
ppisarczyk / dirtywebserver.ps1
Created August 27, 2016 03:44 — forked from obscuresec/dirtywebserver.ps1
Dirty PowerShell Webserver
$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)
@ppisarczyk
ppisarczyk / Get-AdDnsRecords.ps1
Last active April 25, 2017 23:09 — forked from obscuresec/Get-AdDnsRecords
Get-AdDnsRecords
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('\'))"
)
@ppisarczyk
ppisarczyk / 0_reuse_code.js
Created October 28, 2015 19:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console