Skip to content

Instantly share code, notes, and snippets.

View moose-byte's full-sized avatar

Brendan Heussler moose-byte

View GitHub Profile
@noob9527
noob9527 / Hmac.kt
Created August 24, 2018 05:33
kotlin Hmac
package com.boosal.ccbba.util
import java.util.*
import javax.crypto.Mac
import javax.crypto.spec.SecretKeySpec
object Hmac {
fun digest(
msg: String,
key: String,
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active December 24, 2024 09:52
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@Integralist
Integralist / 1. Example.scss
Created October 22, 2012 14:10
Sass Mixin for CSS3 Animations
@include keyframe(fadeout) {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@pavanpodila
pavanpodila / favicon_generator.rb
Created May 25, 2012 11:32
Generate Favicons using RMagick. Includes a Middleman-3.0 extension
###
# Simple Script to generate favicons from a base PNG image
# Relies on RMagick to do the job
# Also includes a Middleman-3.0 extension
###
require 'fileutils'
class MagickFavicon
include Magick
@nathansmith
nathansmith / config.rb
Created August 29, 2011 21:00
Example config.rb file for Compass
preferred_syntax = :sass
http_path = '/'
css_dir = 'assets/stylesheets'
sass_dir = 'assets/sass'
images_dir = 'assets/images'
javascripts_dir = 'assets/javascripts'
relative_assets = true
line_comments = true
# output_style = :compressed