private MarsModel() {
// ...
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
setTimeout(function(){ | |
var window_focus = true; | |
var wasOnLine = false; | |
function addCheckBox() { | |
if ($('.pane-chat-header').find("#checkLog").length === 0) { | |
var logCheckbox = document.createElement('input'); | |
logCheckbox.type = "checkbox"; | |
logCheckbox.name = "LogOnLine"; | |
logCheckbox.value = "LogOnLine"; |
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
package io.github.cubedtear.jcubit.bds; | |
import com.google.common.base.Strings; | |
import io.github.cubedtear.jcubit.timing.Profiler; | |
import org.junit.Test; | |
import org.junit.experimental.categories.Category; | |
import java.io.IOException; | |
import java.nio.charset.StandardCharsets; | |
import java.text.DecimalFormat; |
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 subprocess | |
import time | |
from multiprocessing.pool import ThreadPool | |
from threading import Lock | |
print_lock = Lock() # Sinkronizatzeko | |
progress_lock = Lock() | |
p = print | |
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 <vector> | |
#include <algorithm> | |
using namespace std; | |
struct sort_pred { | |
bool operator()(const std::pair<int, int> &left, const std::pair<int, int> &right) { | |
return left.first == right.first ? left.second < right.second : left.first < right.first; | |
} |
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
.coursebox .content .teachers { | |
width: 100%; | |
} | |
.coursebox { | |
padding: 0; | |
margin-bottom: 0; | |
border: none; | |
} |
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
// Group members: | |
// | |
// - Iñigo Arnedo | |
// - Elena Hernandez | |
// - Aritz Lopez | |
// - Ane Odriozola | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <termios.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
import requests | |
from lxml import html, etree | |
item_prices = [] | |
for page in range(1, 10): | |
r = requests.get('https://www.chollometro.com/nuevos', {'page': str(page), 'ajax': 'true'}) | |
res = html.fromstring(r.text) | |
items = res.xpath('//div[contains(@class, "threadCardLayout--card")]') |
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 myprint(*i8 str, int length) { | |
syscall3(1, 1, (int)str, length); | |
} | |
void exit(int code) { | |
syscall1(60, code); | |
} | |
OlderNewer