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
#include <iostream> | |
#include <stdlib.h> | |
int main() | |
{ | |
std::string a_ip; | |
std::cin >> a_ip; | |
int icomponents[4]; |
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
/* 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; | |
} |
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 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.
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
Id Value | |
A 123 | |
B 234 | |
C He said: "Nice!" |