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
gsettings set org.gnome.desktop.interface scaling-factor 2 |
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 os | |
import re | |
import time | |
import requests | |
GlobalVars = { | |
'HTTP_ADDRESS': 'http://192.168.----', | |
'AUTHORIZATION': 'Basic ============' | |
} |
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 <deque> | |
#include <iostream> | |
#include <thread> | |
#include <chrono> | |
#include <random> | |
using namespace std; | |
class Snake; | |
class SnakeGame; |
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
/* DP Execrise */ | |
#include <iostream> | |
#include <string> | |
#include <algorithm> | |
using namespace std; | |
const int MAX_M = 1000; | |
const int MAX_N = 1000; |
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
/* DP Execrise */ | |
#include <iostream> | |
using namespace std; | |
const int MAX_LEN = 1000; | |
int seq[MAX_LEN]; | |
int lis[MAX_LEN]; | |
int main() |
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
// | |
// Created by vienna on 4/4/2016. | |
// | |
/* heap data structure implementation */ | |
/* start with index 0, then it need +1 and +2 | |
* to locate left and right child */ | |
inline int left(int i) | |
{ |