This file contains 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
var n1; | |
var n2; | |
var n3; | |
var n4; | |
var n5; | |
//The product of the first two digits is 24. | |
function rule1(){ | |
return (n1 * n2) == 24; | |
} |
This file contains 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
/* | |
* SPbGASU::Architecture::1a5::Roman Timashev (roman@tmshv.ru) | |
* The Sketch is licensed under the MIT license. (http://opensource.org/licenses/MIT) | |
*/ | |
import controlP5.*; | |
import processing.pdf.*; | |
ControlP5 cp5; | |
int population; |
This file contains 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
// | |
// DNA.h | |
// Hexlet DNA | |
// | |
// Created by Roman Timashev on 12/11/13. | |
// Copyright (c) 2013 Roman Timashev's Company. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains 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
// | |
// City.h | |
// Hexlet Metropolis | |
// | |
// Created by Roman Timashev on 10/11/13. | |
// Copyright (c) 2013 Roman Timashev's Company. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains 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
npm install --save express body-parser compression cookie-session morgan cookie-parser express-session static-favicon response-time errorhandler method-override connect-timeout vhost csurf |
This file contains 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
void setup(){ | |
size(500, 500); | |
} | |
void draw(){ | |
background(204); | |
} |
This file contains 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
Verifying that +tmshv is my openname (Bitcoin username). https://onename.io/tmshv |
This file contains 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
#!/usr/bin/env python3 | |
import sys, os, time, atexit | |
from signal import SIGTERM | |
import logging | |
import logging.handlers | |
import tempfile | |
logger = logging.getLogger() | |
logger.setLevel(logging.DEBUG) |
This file contains 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
import socks | |
import socket | |
from stem import Signal | |
from stem.control import Controller | |
control_port = 9051 | |
proxy_port = 9050 | |
proxy_host = 'localhost' | |
tor = Controller.from_port(port=control_port) |
This file contains 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
import processing.serial.*; | |
import processing.video.*; | |
Serial port; | |
String portName; | |
Movie actionMovie; | |
Movie defaultMovie; | |
Movie movie; |