In your Gemfile:
gem 'bootstrap-components-helpers', :git => 'git://gist.github.com/2117187.git'
In your views:
= accordion do |accordion|
= accordion.pane 'My first pane' do
In your Gemfile:
gem 'bootstrap-components-helpers', :git => 'git://gist.github.com/2117187.git'
In your views:
= accordion do |accordion|
= accordion.pane 'My first pane' do
The following outlines the tenets of Reasonablism.
Cognitive Liberty - Any individual's right to consider a fact, viewpoint or opinion, whether unique or that of others must be respected and encouraged.
Freedom of Speech and Communication - Any individual's freedom to communicate an idea, thought or message via any form of media or means of expression must be respected and encouraged. This excludes media that contains the likeness or non-commercial property of other individuals, or those that contradict other philosophies of reasonablism.
# Create config/s3.yml | |
# Example: | |
# development: | |
# bucket: electric-images | |
# access_key_id: AKIAJADQBJZ4GTP4FY7A | |
# secret_access_key: CKu9iYpFZoLRfr9zadtDRUA3BYUUWmnghyy2AJrg | |
# region: ap-southeast-1 #Change this | |
module.exports = (grunt) -> | |
# configuration | |
grunt.initConfig | |
# grunt sass | |
sass: | |
compile: | |
options: | |
style: 'expanded' |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# replace.rb | |
# | |
# Usage: ruby replace.rb test.html | |
# Output: test.html with padding CSS replacements | |
filename = ARGV[0] | |
pairs = [["padding-top:9px;","padding-top:0px;"],["padding-top: 9px;","padding-top: 0px;"],["padding-bottom: 9px;","padding-bottom: 0px;"],["padding: 9px;","padding-top: 0px; padding-left: 9px; padding-right: 9px; padding-bottom: 0px;"],["padding-bottom:9px;","padding-bottom:0px;"],["padding:9px", "padding-top:0px;padding-bottom:0px;padding-left:9px;padding-right:9px;"]] | |
I hereby claim:
To claim this, I am signing this object:
{{- define "render-tweet" -}} | |
<div class="tweet-container"> | |
{{- $id := .id -}} | |
{{- $user := .user -}} | |
{{- $url := printf "https://twitter.com/%v/status/%v" $user $id -}} | |
{{/* Light Theme Tweet */}} | |
<div class="tweet tweet-light" data-theme="light"> | |
{{- $queryLight := querify "url" $url "dnt" .dnt "theme" "light" -}} | |
{{- $requestLight := printf "https://publish.twitter.com/oembed?%s" $queryLight -}} |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
A modified version of the "assistant" example from pywhispercpp | |
""" | |
import queue | |
import time | |
from typing import Callable | |
import numpy as np |