View s3put
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env python
 
import gevent.monkey
gevent.monkey.patch_all()
 
import boto
import config
import gevent
import gevent.pool
import os
View functions.php
1 2 3 4 5 6 7 8 9
<?php
/**
* Place this in your theme's functions.php file
* Or a site-specific plugin
*
*/
// Switch the WP_User_Query args to a meta search
function kia_meta_search( $args ){
View content-kit-template.md

Thing Content Kit

Current as of Thing 0.2.4

Introduction

  • One sentence description of thing and its purpose
  • Who/where/what/when/why
View .gitignore
1 2
npm-debug.log
node_modules
View gist:6ea3e0ea50c2ae5d57b1
1 2 3 4 5 6 7 8 9 10
// Represent a small bilingual lexicon as a Javascript object in the following fashion {"merry":"god", "christmas":"jul", "and":"och", "happy":gott", "new":"nytt", "year":"år"} and use it to translate your Christmas cards from English into Swedish.
 
var greetings = {
"merry": "god",
"christmas": "jul",
"and": "och",
"happy": "gott",
"new": "nytt",
"year": "ar"
};
View gist:e96ffebcc9498e71ea5d
1 2 3 4 5 6 7 8 9 10
// Write a function charFreq() that takes a string and builds a frequency listing of the characters contained in it.
// Represent the frequency listing as a Javascript object.
// Try it with something like charFreq("abbabcbdbabdbdbabababcbcbab").
// I got a lot help from stack on this one. I had no idea how to make a object from a string.
// and in doing research for that I found a solution to something similar to this. But I do understand
// how every line of code works and why!
 
 
function charFreq(source) {
var frequency = {};
View config.json
1 2 3 4 5 6 7 8 9 10
{
"vars": {},
"css": [
"component-animations.less",
"modals.less"
],
"js": [
"modal.js",
"tab.js",
"transition.js"
View ApplicationResources
1 2 3 4 5 6 7
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="MyImplicitStyles.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
Something went wrong with that request. Please try again.