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
Base: | |
75g rice flour (eg Mochiko brand) | |
1 tbs baking powder | |
40g sugar | |
1 egg | |
1/2 cup milk | |
1 tbsp honey or agave | |
1 tbsp mirin (or other sweeted white wine) | |
1 tbsp unflavored oil (canola, safflower, etc) | |
Cake pop pan or takoyaki pan |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
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
- icons_path = "vendor/toolkit/fontawesome/icons.less" | |
- icon_file = Gem.loaded_specs['twitter-bootstrap-rails'].full_gem_path + "/" + icons_ path | |
- all_icons = File.readlines(icon_file) | |
- all_icons.select! { |icon_line| icon_line.start_with? '.icon-' } | |
- all_icons.collect { |icon_line| icon_line.split(':')[0] }.each do |icon| | |
%h4.darkGray | |
%i.icon.icon-large{class: icon[1..-1]} | |
= icon | |
%pre %i.icon.#{icon[1..-1]} |
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
require 'secure_random' | |
class Confirmation | |
def generate_confirmation_code | |
temp_code = SecureRandom.base64.gsub(/[lozsO105+\/=]/,'')[0..7].upcase.insert(4, '-') | |
Confirmation.find_by_code(temp_code) ? generate_confirmation_code : self.code = temp_code | |
end | |
end |
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
#!/bin/bash | |
GIT_REPO=/theflatfield/git/jekyll/busholini.git | |
TMP_GIT_CLONE=/theflatfield/git/jekyll/busholini | |
TMP_WWW=/theflatfield/git/jekyll/busholini/_site | |
REMOTE_DIR=/home/fromhell/busholini | |
git clone $GIT_REPO $TMP_GIT_CLONE | |
chgems /theflatfield/git/jekyll jekyll build -s $TMP_GIT_CLONE -d $TMP_WWW | |
scp -r $TMP_WWW other_server:$REMOTE_DIR | |
ssh other_server "umask -S;cp -vfr $REMOTE_DIR/_site/* $REMOTE_DIR/www;rm -rf $REMOTE_DIR/_site" |
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
## | |
## A soycow! | |
## | |
$eye = chop($eyes); | |
$the_cow = <<EOC; | |
$thoughts | |
$thoughts _______________ | |
/ \\ | |
| $eye | | |
| _ | |
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
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<meta charset="utf-8"> | |
<title>the Modern World</title> | |
<meta name="description" content="" /> | |
<meta name="keywords" content="" /> | |
<meta name="robots" content="" /> | |
<script type="text/javascript" src="jquery-1.8.3.min.js"></script> | |
<style type="text/css"> |