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
const puppeteer = require('puppeteer'); | |
// TODOs: | |
// 1. Too many attempts -> sleep for a bit | |
// 2. Logged out -> log in | |
// 3. Already bought -> repost | |
// 4. OCR https://vk.com/steamgenerator + string replace | |
// 5. OCR https://vk.com/ls_keys | |
// 6. Reddit |
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
www.viva64.com/en/w | 1 | err | Help: The documentation for all analyzer warnings is available here: https://www.viva64.com/en/w/. | |
---|---|---|---|---|
/home/guest/crawl/crawl-ref/source/rltiles/tool/tile_colour.h | 31 | warn | V730 Not all members of a class are initialized inside the constructor. Consider inspecting: r, g, b, a. | |
/home/guest/crawl/crawl-ref/source/rltiles/tool/tile.h | 9 | warn | V690 The 'tile' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. | |
/home/guest/crawl/crawl-ref/source/rltiles/tool/tile.cc | 12 | warn | V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_variations. | |
/home/guest/crawl/crawl-ref/source/rltiles/tool/tile_list_processor.cc | 56 | warn | V648 Priority of the '&&' operation is higher than that of the '||' operation. | |
/home/guest/crawl/crawl-ref/source/rltiles/tool/tile_list_processor.cc | 105 | err | V663 Infinite loop is possible. The 'cin.eof()' condition is insufficient to break from the loop. Consider adding the 'cin.fail()' f |
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
CXXFLAGS += -std=c++11 -Wall -Werror -Wpedantic | |
.PHONY: test | |
test: all | |
./ab -s | |
all: ab |
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
CXXFLAGS += -std=c++11 -Wall -Werror -Wpedantic | |
.PHONY: test | |
test: all | |
./ab -s | |
all: ab |
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
#!/bin/sh | |
set -eu | |
set -x | |
LOCAL_ADB=/home/vadim/Android/Sdk/platform-tools/adb | |
REMOTE_ADB=/home/sasha/Android/Sdk/platform-tools/adb | |
sshfs google: ~/google-server || true | |
$LOCAL_ADB start-server |
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
pragma solidity ^0.4.16; | |
contract Token { | |
function balanceOf(address tokenOwner) public constant returns (uint balance); | |
function transfer(address to, uint tokens) public returns (bool success); | |
} | |
contract CoinGiver { | |
address public signerr; |
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> | |
struct longNumber { | |
int length; | |
unsigned char *digits; | |
}; | |
//TODO: also print in binary! | |
void printLongNumber asBinary(longNumber 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
#include <iostream> | |
struct longNumber { | |
int length; | |
unsigned char *digits; | |
}; | |
void printLongNumber(longNumber a) { | |
for (int i = 0; i < a.length; i++) |
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> | |
struct longNumber { | |
int length; | |
unsigned char *digits; | |
}; | |
longNumber multiplyBySingleDigit(longNumber a, unsigned char b) | |
{ | |
longNumber result; |
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> | |
struct longNumber { | |
int length; | |
unsigned char *digits; | |
}; | |
longNumber multiply(longNumber a, longNumber b) { | |
longNumber result; | |
result.length = a.length + b.length; |
NewerOlder