Skip to content

Instantly share code, notes, and snippets.

{
"metadata": {
"name": "\u0421\u0441\u044b\u043b\u043a\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 jun13"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@skimua
skimua / Ссылки недели jul22-28
Created August 1, 2013 18:09
Ссылки недели jul22-28
{
"metadata": {
"name": "\u0421\u0441\u044b\u043b\u043a\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 jul22-28"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@skimua
skimua / Ссылки недели jul15-21
Created August 1, 2013 18:06
Ссылки недели jul15-21
{
"metadata": {
"name": "\u0421\u0441\u044b\u043b\u043a\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 jul15-21"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@skimua
skimua / Ссылки недели jul8-14
Created August 1, 2013 18:04
Ссылки недели jul8-14
{
"metadata": {
"name": "\u0421\u0441\u044b\u043b\u043a\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 jul8-14"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@skimua
skimua / Ссылки недели jul1-7.ipynb
Created August 1, 2013 17:07
Ссылки недели jul1-7
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@skimua
skimua / Ссылки недели jun13.ipynb
Created June 30, 2013 04:15
Ссылки недели jun13
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@skimua
skimua / onliners.py
Created March 19, 2013 23:24
Примеры полезных однострочников для блендера http://blendersushi.blogspot.com.au/2012/03/programming-one-can-script.html
# toggle select all or deselect all objects in the scene
bpy.ops.object.select_all(action='TOGGLE')
# антогонист
# simply deselect all objects
bpy.ops.object.select_all(action='DESELECT')
@skimua
skimua / hw 11.10.12.py
Created October 11, 2012 15:51
Exercises for chapter 2. How to Think Like a Computer Scientist
# http://interactivepython.org/courselib/static/thinkcspy/SimplePythonData/simpledata.html
#1.2 You look at the clock and it is exactly 2pm. You set an alarm to go off in 51 hours. At what time does the alarm go off?
print((51 % 24) + 14)
#1.3 Write a Python program to solve the general version of the above problem. Ask the user for the time now (in hours), and ask for the number of hours to wait. Your program should output what the time will be on the clock when the alarm goes off.
time_now_str = input("What time is it?" )
time_now = int(time_now_str)