Skip to content

Instantly share code, notes, and snippets.

View thriqon's full-sized avatar

Jonas Weber thriqon

View GitHub Profile
@thriqon
thriqon / einleser.cpp
Created March 21, 2012 09:28
IP-Adresse einlesen und als Hex ausgeben
#include <iostream>
#include <stdlib.h>
int main()
{
std::string a_ip;
std::cin >> a_ip;
int icomponents[4];
/* With some ideas from ZURB Foundation */
label.switchbox input[type=checkbox]:checked+div:before {
left: calc(100% - 2em);
}
label.switchbox input[type=checkbox]:checked+div {
background: #E1F5D1;
}
#!/usr/bin/env python3
import unittest
import schulze
class SchulzeTestCase(unittest.TestCase):
def test_electoramaExample1(self):
preferences = [
(5, 'ACBED'),
(5, 'ADECB'),
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 4.
Id Value
A 123
B 234
C He said: "Nice!"