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
video = selected ("Sound", 1) | |
audio = selected ("Sound", 2) | |
select video | |
maxvideo = Get time of maximum... 0 0 none | |
select audio | |
maxaudio = Get time of maximum... 0 0 none | |
audioend = Get end time | |
sf = Get sampling frequency | |
printline | |
printline Video-Clap: 'maxvideo' Sekunden |
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
# Akers-Stab - Alle Titelspiele, Titelwechsel sind markiert | |
30.11.1991: 1:2 - Norwegen - USA (Erste Titelvergabe) | |
28.03.1992: 0:0 - Frankreich - Norwegen | |
17.04.1992: 1:0 - Frankreich - Sowjetunion | |
18.04.1992: 4:2 - Frankreich - USA | |
19.04.1992: 6:1 - Frankreich - Elfenbeinküste | |
02.05.1992: 0:4 - Frankreich - Dänemark (Titelwechsel) | |
02.05.1992: 0:4 - Frankreich - Dänemark | |
17.05.1992: 5:0 - Dänemark - Finnland |
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
// Give the script a facebook token and a group id | |
var APIKEY = ""; | |
var GROUP = ""; | |
var https = require('https'); | |
https.get({hostname:'graph.facebook.com', path:'/' + GROUP + '/feed?access_token=' + APIKEY, agent:false}, function (res) { | |
var chunks = []; | |
res.on('data', function (chunk) { | |
chunks.push(chunk.toString()); |
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
<!doctype html> | |
<html ng-app> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script> | |
<script src="http://www.parsecdn.com/js/parse-1.2.7.min.js"></script> | |
<script src="todo.js"></script> | |
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div class="container" ng-controller="Todo"> |
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 csv | |
import math | |
# Specify the path to the exported Anvil csv file (*.txt) | |
filename_input = '' | |
# Specify the path where the output csv file should be saved | |
filename_output = '' | |
# CSV delimiter | |
delimiter_for_input = ' ' |
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
-- Problem 1 | |
myLast :: [a] -> a | |
myLast xs = xs !! (length xs - 1) | |
-- Problem 2 | |
myButLast :: [a] -> a | |
myButLast xs = (drop (length xs - 2) xs) !! 0 | |
-- Problem 3 | |
elementAt :: [a] -> Int -> a |
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
module Main where | |
import System.Environment( getArgs ) | |
import System.IO | |
import Control.Monad | |
import Data.List.Split | |
main = do | |
args <- getArgs | |
mapM execute_command (split_commands args) |
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 json | |
import urllib | |
import sys | |
import datetime | |
import time | |
def color_text(text, color = "green"): | |
colors = { | |
"green": '\033[92m', |
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
require 'rubygems' | |
require 'podio' | |
app_id = '<ID of the App' | |
dir = "<Directory of images>" | |
titels = "<Image Title>" # Index gets added automatically | |
i = 1 # Starting index for the title |
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
String inputString = ""; // a string to hold incoming data | |
boolean stringComplete = false; // whether the string is complete | |
int red = 0; | |
int green = 0; | |
int blue = 0; | |
int ledR = 9; | |
int ledG = 10; | |
int ledB = 11; |
OlderNewer