CodePaste Logo
New Snippet New Recent Snippets Recent Snippets My Snippets My Snippets My Favorites Favorites Web Code Search Snippets Search
Sign inor Register
Format:
Recent Snippets
def familieleden(file):
    dictionary = {}
    for line in open(file, 'r'):
        line = line.rstrip('\n').split()
        for i in range(2):
            if line[i] in dictionary:
                dictionary[line[i]]['kinderen'] = set(line[2:])
            else:
                dictionary[line[i]] = {'kinderen': set(line[2:])}
        for kind in line[2:]:
Today @ 7:58am
Tags:
13 Views
no comments
 
[athis@athis-HP-ZBook-15-G2] ~/.../LVLASimulations/LVLA_MeshFluid_MvRemodelStiffened_NoTop$ mpirun -np 4 ./main 
##### For variable velocity 
Fusion label 6 in label  7 
Fusion label 9 in label  11 
Fusion label 8 in label  10 
Fusion label 13 in label  14 
##### For variable pressure 
Fusion label 9 in label  11 
Initializing stiffness vector
Getting num of 3D elts
Today @ 7:35am
Tags:
16 Views
no comments
 
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <cstdlib>

using namespace std;
int a;
int pmin, pmax;


Today @ 7:29am
Tags:
21 Views
no comments
 
#include <stdio.h>

int _abs(int u, int v) {
  u -= v;
  return u > 0 ? u : -u;
}

int main(int argc, char *argv[]) {
  int n;
  while (scanf("%d", &n) > 0) {
Today @ 7:19am
Tags:
19 Views
no comments
 
#include <iostream>
using namespace std;

int main() {
	
		long long x,y,m;
		unsigned long long s;
	cin>>x>>y>>m;
	s=0;
	
by Shadow   Today @ 7:11am
Tags: Nice pair
16 Views
no comments
 
#include <iostream>
#include <algorithm>
#include <limits.h>
#include <string.h>
using namespace std;
int main(){
	char oldName[256], youName[256], str[256];
	int oldAge = 0, youAge = INT_MAX, n, age, temp;
	cin >> n;
	for(int i = 0; i < n; i++){
Today @ 6:59am
Tags:
21 Views
no comments
 
xml
<?xml version="1.0" encoding="utf-8"?>
<Model Name="HGY_Banner_Test">
	<Parameter Name="RescaleFactor">1.0</Parameter>
	<Parameter Name="RescaleToLengthInMeters">false</Parameter>
	<Parameter Name="Centered">false</Parameter>
	<Parameter Name="SpecularPower">0.0</Parameter>
	<Parameter Name="SpecularShininess">0.0</Parameter>
	<MaterialRef Name="BannerDecal" />
	<Material Name="FlagBlue">
		<Parameter Name="Technique">MESH</Parameter>
Today @ 5:55am
Tags:
35 Views
no comments
 
/**
 * Handles the fired Trigger for the Button
 */
public void handleLogin() throws IOException {
    boolean valid_data = checkCredentials(username.getText(),password.getText());
    if(valid_data){
        Stage stage = (Stage) username.getScene().getWindow();
        FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/fxml/mainMenu.fxml"));
        Parent root = fxmlLoader.load();
        stage.setScene(new Scene(root));
Today @ 5:46am
Tags:
34 Views
no comments
 
ls-modding.forumgratuit.org/t295-album-telecharger-gratuit-lacrim-force-honneur
ls-modding.forumgratuit.org/t294-lacrim-est-dispo-en-mp3-telecharger-lalbum-de-lacrim-force-et-honneur
ls-modding.forumgratuit.org/t293-lacrim-force-et-honneur-telecharger-l-album-de-lacrim-force-et-honneur-2017-gratuitement-ici-le-nouvel-album-de-lacrim-est-dispo-en-mp3
ls-modding.forumgratuit.org/t292-lacrim-force-et-honneur-album-telecharger
ls-modding.forumgratuit.org/t291-gratuittelecharger-lacrim-force-et-honneur-gratuitement
ls-modding.forumgratuit.org/t290-gratuit-lacrim-force-et-honneur-complet
ls-modding.forumgratuit.org/t289-gratuitement-gratuit-lacrim-force-et-honneur-complet
ls-modding.forumgratuit.org/t288-gratuitement-telecharger-lacrim-force-et-honneur-telecharger-complet-album
ls-modding.forumgratuit.org/t287-leak-telecharger-lacrim-force-honneur-album-exclusif
ls-modding.forumgratuit.org/t286-31-03-2017-fuite-telecharger-lacrim-force-honneur-album
Today @ 5:39am
Tags:
59 Views
3 comments
 
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main ()
{
    double a,b,x;
    char choice;
    int f;
    printf("Recep's Taschenrechner Version3.0\n");
Today @ 5:29am
Tags:
35 Views
no comments
 
vector<int>::iterator stable_partition(vector<int>& V, vector<int>::iterator first, vector<int>::iterator last, Test p)
{
	int size = std::distance(first, last);
	int mid = size / 2;

	if (first == last) 
		return first;

	if (size == 1) {
		if (p(*first)) 
Today @ 4:06am
Tags:
53 Views
no comments
 
1.CatalogPaymentAccountCreditCardIcon - /ContentFiles/Flex_White_Buttons_Payment_CreditCard.png
2.CatalogPaymentNewCreditCardIcon - /ContentFiles/Flex_White_Buttons_Payment_CreditCard_New.png
3.CatalogPaymentSwipeCreditCardIcon - /ContentFiles/Flex_White_Buttons_Payment_CreditCard_Swipe.png
4.CatalogPaymentCashIcon - /ContentFiles/Flex_White_Buttons_Payment_Check.png
5.CatalogPaymentCheckIcon - /ContentFiles/Flex_White_Buttons_Payment_Check.png
6.CatalogPaymentVirtualTerminalIcon - /ContentFiles/Flex_White_Buttons_Payment_Terminal.png 
7.CatalogPaymentExternalIcon - /ContentFiles/Flex_White_Buttons_Payment_External.png
Today @ 4:01am
Tags:
54 Views
no comments
 
public class Maillon<T> {
	T info;
	Maillon<T> prec;
	Maillon<T> suiv;

	public Maillon() {
		info = null;
		setPrec(null);
		setSuiv(null);
Today @ 3:57am
Tags:
51 Views
no comments
 
public class LDC<T> {
	Maillon<T> tete;

	public LDC() {
		tete = null;
	}

	public LDC(Maillon<T> element) {
		tete = element;
	}
Today @ 3:56am
Tags:
51 Views
no comments
 
---------------- Interfejsy i Klasa --------------------

using System;
using System.Text;

------------------- Interfejsy -------------------------

    interface IPrintable
    {
        void Print();
Today @ 3:54am
51 Views
no comments
 
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
    double zahl1, zahl2, ergebnis;
    int runden;
    char operand1, choice;

by wertzgd   Today @ 3:51am
Tags:
58 Views
no comments
 
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
    double zahl1, zahl2, ergebnis;
    int runden;
    char operand1, choice, beginnen;

by sdef   Today @ 3:45am
Tags:
55 Views
no comments
 
def Gallery(request):
    if request.method == "GET":
        return render(request, "gallery.html")
Today @ 3:41am
Tags:
58 Views
no comments
 
{% extends 'main.html' %}
{% load staticfiles %}
{% block gallery %}


<div class="container">
    <div class="row">
      <div class="col-md-3 col-sm-4 col-xs-6 thumb">
        <a class="fancyimage" rel="group" href="{% static '/backgrounds/background.png'%}">
          <img class="img-responsive" src="{% static '/backgrounds/background.png'%}" />
Today @ 3:40am
Tags:
59 Views
no comments
 
<link rel="stylesheet" href="{% static '/fancybox/jquery.fancybox.css'%}" type="text/css" media="screen" />
Today @ 3:40am
Tags:
62 Views
no comments
 
MIIa9AYJKoZIhvcNAQcCoIIa5TCCGuECAQExCzAJBgUrDgMCGgUAMIIKlQYJKoZIhvcNAQcBoIIKhgSCCoIxggp+MAoCAQgCAQEEAhYAMAoCARQCAQEEAgwAMAsCAQECAQEEAwIBADALAgEDAgEBBAMMATMwCwIBCwIBAQQDAgEAMAsCAQ4CAQEEAwIBWjALAgEPAgEBBAMCAQAwCwIBEAIBAQQDAgEAMAsCARkCAQEEAwIBAzAMAgEKAgEBBAQWAjQrMA0CAQ0CAQEEBQIDAWDBMA0CARMCAQEEBQwDMS4wMA4CAQkCAQEEBgIEUDI0NzAYAgEEAgECBBCmz+NHGkrkQNGP7zqR29fFMBsCAQACAQEEEwwRUHJvZHVjdGlvblNhbmRib3gwHAIBBQIBAQQUBJOjFyEaUONSxYYWe/CefjCZgvswHgIBDAIBAQQWFhQyMDE3LTAzLTI4VDEwOjEwOjQzWjAeAgESAgEBBBYWFDIwMTMtMDgtMDFUMDc6MDA6MDBaMCECAQICAQEEGQwXdHYubnR2cGx1cy5hcHBudHZwbHVzdHYwSwIBBgIBAQRDj2JQZZV5X8IOwVuHqaLNJ0fap75XsSbMjDjF25WREshOqbYa6KqngIkDOo+GW3HVzhKTHe971MIwP9ccnLiEaz0uKTBMAgEHAgEBBES0SJs8FSOKcoDu87QjLgZw+G98ZEaopfBDjXA5qolhL00iZKELejePJ3FUEaD1/i5khVAV+fdwUOlk+T6NgwZzGxdFvzCCAWYCARECAQEEggFcMYIBWDALAgIGrQIBAQ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NiiPvl4/2vIB+x9OYOLUyDTOMSxv5pPCmv/K/xZpwUJfBdAVhEedNO3iyM7R6PVbyTi69G3cN8PReEnyvFteO3ntRcXqNx+IjXKJdXZD9Zr1KIkIxH3oayPc4FgxhtbCS+SsvhESPBgOJ4V9T0mZyCKM2r3DYLP3uujL/lTaltkwGMzd/c6ByxW69oPIQ7aunMZT7XZNn/Bh1XZp5m5MkL72NVxnn6hUrcbvZNCJBIqxw8dtk2cXmPIS4AXUKqK1drk/NAJBzewdXUhMYIByzCCAccCAQEwgaMwgZYxCzAJBgNVBAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3JsZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkCCA7rV4fnngmNMAkGBSsOAwIaBQAwDQYJKoZIhvcNAQEBBQAEggEAT5CvNogt8WgnofplNvjdk29fvgOpLfFJ9/kV0JUjBZHaO71jgqF+vkkJfI0Wji525uyPByL0alTIJWDfggJRXPoPloGuCpVg3AuAZiXrp7E6SPspy7tlZOs8XGi8w8PWIoMSbnn48DJEsFEaCdZwLqL1fwzvFpqHd1XnUyWCO0uBqy9zwSaWcV8yVYUTh2ENDrzchi3CgM4ler9NypezAD30WwRSwP7ZoBV9DcahAbAHNEL7PpTp8oJPaJutWyIrvco4FbGDJntbHxY02bcJ2A6WPXinPxH43NcWe1GQySM/KL5QgGN3ikRxbwvifgSNiDgm/t8BBUKVsnyAuL28Lw==
Today @ 3:14am
Tags:
61 Views
no comments
 
Comparator<Event> comp = (o1, o2) -> {
            int tmp = o1.timestamp() - o2.timestamp();
            //als timestamp gelijk is, heeft vertrek voorrang
            if (tmp != 0) return tmp;
            int b = Boolean.compare(o1.isArrival(), o2.isArrival());
            return b != 0 ? b : Integer.compare(o1.duration(), o2.duration());
        };
        PriorityQueue   <Event> rij  = new PriorityQueue<>(comp);
Today @ 3:13am
Tags:
63 Views
no comments
 
<?php

use Symfony\Component\Workflow\DefinitionBuilder;
use Symfony\Component\Workflow\Transition;
use Symfony\Component\Workflow\MarkingStore\SingleStateMarkingStore;
use Symfony\Component\Workflow\StateMachine;

require 'vendor/autoload.php';

class BlogPost
Today @ 2:39am
Tags:
67 Views
no comments
 
xml
<?xml version="1.0"?>
<Model Name="Default">
  <Parameter Name="Centered">false</Parameter>
  <Parameter Name="RescaleFactor">0.01</Parameter>
  <Parameter Name="RescaleToLengthInMeters">false</Parameter>
  <Parameter Name="SpecularPower">10</Parameter>
  <Parameter Name="SpecularShininess">0.8</Parameter>
  <MaterialRef Name="FlagBlue" />
  <MaterialRef Name="BannerDecal" />   
  <LOD Distance="15">
Today @ 2:32am
Tags:
71 Views
no comments
 
int main(){
    srand(time(NULL));
    int count = 0, head = -1;
    while( count < 3 ){
        if( flip() ){
            cout << "Heads \n";
            if( head == -1 ){
                head = 1;
                count++;
            }else if( head == 1){
Today @ 2:24am
Tags:
70 Views
no comments
 
#include<iostream>
#include<time.h>

using namespace std;

bool flip(){
    if( rand() % 10 > 4) return true;
    return false;   
}

Today @ 2:05am
Tags:
73 Views
no comments
 
var x = 5;      
var y = x + 2;  // Declare y, give it the value of x + 2
Today @ 1:47am
Tags:
78 Views
no comments
 
var x = 5;      // Declare x, give it the value of 5
var y = x + 2;  // Declare y, give it the value of x + 2
Today @ 1:44am
Tags:
74 Views
no comments
 
// „extends” oznacza dziedziczenie po klasie Figura pól: środekX, środekY i kolor
// oraz metod: obliczPole, obliczObwód i wyświetl
public class Kwadrat extends Figura
{
    // dodatkowe atrybuty
    private float wierzchołekX;
    private float wierzchołekY;
    private float długośćBoku;

    // „przesłaniamy” operacje rodzica, dzięki czemu dla każdej zdefiniowanej Figury
Today @ 1:25am
Tags:
77 Views
no comments
 
// oznacza komentarz
// w tej postaci to obiekt reprezentujący kolorowy punkt
public class Figura
{
    // operacje (metody)
    public float obliczPole()
    {
        return 0;
    }
    
Today @ 1:23am
Tags:
83 Views
no comments
 
#include <iostream>
 
using namespace std;
 
 
template<typename T>
T min(T val1, T val2)
{
	return val1 < val2 ? val1 : val2;
}
Today @ 1:23am
Tags:
82 Views
no comments
 
import sys
import serial,json,requests, datetime

dev = sys.argv[1]
print "Using serial device "+dev
ser = serial.Serial(dev, 9600)
while True:
  temp = json.loads(ser.readline())
  print(datetime.datetime.strftime(datetime.datetime.now(), '%Y-%m-%d %H:%M:%S') + " " + str(temp['temperature']))
  try:
Today @ 1:11am
Tags:
82 Views
no comments
 
#include <iostream>
#include <iomanip>
using namespace std;

/******************************************************************************
 * Aunt Ellen's Egg Ranch
 * ----------------------------------------------------------------------------
 * This program will take the amount of eggs from the user and use the egg
 * 	count to calculate amount of dozen count and single count within that
Yesterday @ 9:22pm
Tags:
13 Views
no comments
 
#ifndef __GRAPHICS_HPP__
#define __GRAPHICS_HPP__

#include <string>
#include <exception>
#include "Arcade.hpp"

namespace arcade
{
  class Graphics
Yesterday @ 7:26pm
Tags:
15 Views
no comments
 
~/work/C++/cpp_a$ g++  -std=c++11 *.cpp
main.cpp: In function ‘int main()’:
main.cpp:9:19: error: expected ‘;’ before ‘graph’
   arcade::NCurses graph("Nibbler");
                   ^
main.cpp:10:19: error: expected ‘;’ before ‘nibbl’
   arcade::Nibbler nibbl(graph);
                   ^
NCurses.cpp: In constructor ‘arcade::NCurses::NCurses(const string&)’:
NCurses.cpp:7:51: error: no matching function for call to ‘arcade::eWindowError::eWindowError(const char [22])’
Yesterday @ 7:07pm
Tags:
15 Views
no comments
 
~/work/C++/cpp_a$ g++  -std=c++11 *.cpp
In file included from Games.hpp:4:0,
                 from Nibbler.hpp:4,
                 from main.cpp:4:
Graphics.hpp:30:5: error: extra qualification ‘arcade::eArcadeError::’ on member ‘eArcadeError’ [-fpermissive]
     eArcadeError::eArcadeError(){}
     ^
Graphics.hpp:32:5: error: extra qualification ‘arcade::eArcadeError::’ on member ‘eArcadeError’ [-fpermissive]
     eArcadeError::eArcadeError(const char *e): _what(e){}
     ^
Yesterday @ 7:01pm
Tags:
14 Views
no comments
 

Array ( [0] => 102318 [1] => matheus [2] => 12 ) Array ( [0] => 35 ) Array ( [0] => 1234 [1] => joao [2] => 50 ) Array ( [0] => 00 )
Yesterday @ 6:57pm
Tags:
15 Views
no comments
 
102318;matheus;12.35
1234;joao;50.00
Yesterday @ 6:15pm
Tags:
16 Views
no comments
 
  [0]=>
  string(6) "102318"
  [1]=>
  string(7) "matheus"
  [2]=>
  string(5) "12.35"
}
array(3) {
  [0]=>
  string(4) "1234"
Yesterday @ 6:14pm
Tags:
15 Views
no comments
 
<br /><br />array(3) {
  [0]=>
  string(6) "102318"
  [1]=>
  string(7) "matheus"
  [2]=>
  string(2) "12"
}
<br />
<b>Notice</b>:  Undefined offset: 1 in <b>C:\xampp\htdocs\impter\exporta.php</b> on line <b>83</b><br />
Yesterday @ 6:13pm
Tags:
16 Views
no comments
 
//  main.cpp
//  homeworkSeven
//  Homework helps us understand the concepts of structs.
//
//  Created by Syed Imam on 3/26/17.
//  Copyright © 2017 Syed Imam. All rights reserved.
//

#include <iostream>
#include <math.h>
Yesterday @ 3:28pm
Tags:
29 Views
no comments
 
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
    double zahl1, zahl2, ergebnis;
    int runden;
    char operand1, choice, beginnen;

by recepcetin   Yesterday @ 3:28pm
Tags:
36 Views
no comments
 
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
    double zahl1, zahl2, ergebnis;
    int runden;
    char operand1, choice, beginnen;

by asd   Yesterday @ 3:25pm
Tags:
33 Views
no comments
 
//
//  main.cpp
//  homeworkSeven
//  Homework helps us understand the concepts of structs.
//
//  Created by Syed Imam on 3/26/17.
//  Copyright © 2017 Syed Imam. All rights reserved.
//

#include <iostream>
Yesterday @ 3:25pm
Tags:
31 Views
no comments
 
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
    double zahl1, zahl2, ergebnis;
    int runden;
    char operand1;

by doğancan   Yesterday @ 2:41pm
Tags:
37 Views
no comments
 
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main()
{
  double a,b,x;
  int f,g,j=1;
  char choice;

by recepcetin   Yesterday @ 2:13pm
Tags:
43 Views
no comments
 
php
<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Strings Language Lines
    |--------------------------------------------------------------------------
    |
    | The following language lines are used during the web for various
Yesterday @ 1:41pm
Tags:
46 Views
no comments
 
jsx
/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
Yesterday @ 1:30pm
Tags:
51 Views
no comments
 
{
   "bills":[
      {
         "blocked":"0",
         "card":"",
         "closing":0,
         "entries":[
         {
            "amount":0.5,
            "billEntriesGroup":0,
Yesterday @ 1:29pm
Tags:
53 Views
no comments
 
{"bills":[{"blocked":"0","card":"","closing":0,"entries":[{"amount":0.5,"billEntriesGroup":0,"is_cancelled":false,"description":"","guest":1,"id":1,"item_id":1,"is_moved":false,"owner_id":99,"price":16,"guid":"f485d761-8b47-42da-95e0-ebf9ad005310","is_new":false,"modified":true},{"amount":0.5,"billEntriesGroup":0,"is_cancelled":false,"description":"","guest":1,"id":2,"item_id":2,"is_moved":false,"owner_id":99,"price":8,"guid":"64948743-0720-4e5c-a831-73276ac7e52b","is_new":false,"modified":true},{"amount":0.5,"billEntriesGroup":0,"is_cancelled":false,"description":"","guest":1,"id":3,"item_id":3,"is_moved":false,"owner_id":99,"price":18,"guid":"184958f8-2a9a-4d91-b25d-8d8f8036ef1e","is_new":false,"modified":true}],"extra_description":"","guests":"1","id":900342,"move_to":0,"owner_id":99,"table_number":1,"time":0,"type":"7","value":21,"is_new":false,"modified":true},{"blocked":"0","card":"","closing":0,"entries":[{"amount":0.5,"billEntriesGroup":0,"is_cancelled":false,"description":"","guest":1,"id":1,"item_id":1,"is_moved":false,"owner_id":99,"price":16,"guid":"82201458-74e3-49b3-af59-4b313c399e8e","is_new":true,"modified":true},{"amount":0.5,"billEntriesGroup":0,"is_cancelled":false,"description":"","guest":1,"id":2,"item_id":2,"is_moved":false,"owner_id":99,"price":8,"guid":"de73732b-8794-497d-a02c-d851aeb647a0","is_new":true,"modified":true},{"amount":0.5,"billEntriesGroup":0,"is_cancelled":false,"description":"","guest":1,"id":3,"item_id":3,"is_moved":false,"owner_id":99,"price":18,"guid":"f836128c-c884-4d03-8719-244ff570ea5e","is_new":true,"modified":true}],"extra_description":"","guests":"1","id":99900037,"move_to":0,"owner_id":99,"table_number":1,"time":0,"type":"7","value":21,"is_new":true,"modified":true}],"parameters":{"challenge":35117,"device_id":9,"gastro_day":"08\/01\/2008","sale_point_id":1}}
Yesterday @ 1:28pm
Tags:
54 Views
no comments
 
brought to you by:
West Wind Techologies