A simple checkbox toggle improved by being made into a cat.
Forked from Natalya's Pen Kitty Toggle.
A Pen by Fox Peterson on CodePen.
""" | |
simple example script for running notebooks and saving the resulting notebook. | |
Usage: `execute_and_save.py foo.ipynb [bar.ipynb [...]]` | |
Each cell is submitted to the kernel, and the outputs are overwritten and | |
stored in new notebooks foo_executed.ipynb, etc. | |
""" | |
import os,sys,time |
license: gpl-3.0 |
<html> | |
<head> | |
<title>Select styles with CSS only</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
body { | |
background-color: #fff; | |
font-family: helvetica, sans-serif; | |
margin: 4% 10% | |
} |
#!/usr/bin/env python | |
""" | |
simple mssql -> csv file example using pymssql | |
@author jack@tinybike.net | |
""" | |
import csv | |
import datetime | |
import pymssql | |
from decimal import Decimal |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
""" | |
Write a csv file to sql lite data base if it exists and if the file exists | |
For the first one, you will need to create the db, dropping a db of the same name | |
Furthermore, comment out those lines (see try section in write_csv_to_db), and | |
just use the insertion statement | |
""" |
A simple checkbox toggle improved by being made into a cat.
Forked from Natalya's Pen Kitty Toggle.
A Pen by Fox Peterson on CodePen.
In the first line of the file you will see a list called "myfiles". For the streams there are only 5 or 6 files, so instead of iterating over a big list its much easier to just put them in there.
Put your files in that list.
You can see down below that I have built a constructor based on the name coming in to extract the "E1" etc. from the name of the original file and pass it to the output file which is very picky about having the word reformatted in it. You might be good to keep the naming convention in the "my files" list if you are confused by the conversion.
#!/bin/sh | |
mkdir nodeapp | |
cd nodeapp | |
mkdir public | |
mkdir templates | |
cd public | |
mkdir css | |
mkdir images | |
mkdir js | |
cd js |
import React, { Component, PropTypes } from 'react' | |
import { connect } from 'react-redux' | |
import { | |
View | |
} from 'react-native' | |
import Svg,{ | |
Circle, | |
Ellipse, | |
G, |