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 class Pangram{ | |
public static void main( String [] args ){ | |
Pangram p = new Pangram(); | |
p.pangramer("The quick brown fox jumps over the lazy dog."); | |
p.pangramer("Pack my box with five dozen liquor jugs"); | |
p.pangramer("Saxophones quickly blew over my jazzy hair"); |
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
alias gs='git status ' | |
alias gd='git diff ' | |
alias ga='git add ' | |
alias gc='git commit ' | |
alias glog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" |
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
const $ = require('jquery'); | |
$('a').each(function() { | |
var $this = $(this); | |
var url = $this.attr('href'); | |
var redir = `//${location.host}/`; | |
var href = /http(s|):\/\//i; | |
var hrefPat = new RegExp(href); |
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
$cat_counts = (new F\MaybeEmpty($full_query->get_posts())) | |
->bind($posts ==> array_map($p ==> wp_get_post_categories($p->ID), $posts)) | |
->bind('tft\fp\flatten') | |
->bind($cats ==> F\reduce($cats, function($carry, $id) { | |
$carry[$id]++; | |
return $carry; | |
}), []) | |
->extract(); |
OlderNewer