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
from PIL import Image | |
import datetime | |
import os.path | |
import glob | |
import time | |
import PIL | |
import os | |
def modification_date(filename): |
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
// This source code written by Roland Ihasz | |
#include <iostream> | |
#include <vector> | |
#include <string> | |
class User_data | |
{ | |
public: | |
User_data(int i, std::string fn, std::string sn, std::string d, double w) | |
: id(i), fname(fn), sname(sn), dob(d), weight(w) { } |
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 <vector> | |
#include <iostream> | |
int main() | |
{ | |
std::vector<int> factorials; | |
factorials.push_back(1); | |
int n; | |
std::cin >> n; | |
for (auto i = 1; i <= n; 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
--style=stroustrup -A4 | |
--indent=spaces | |
--add-brackets -j | |
--max-code-length=80 | |
--mode=c | |
--close-templates -xy | |
--align-pointer=name -k3 | |
--align-reference=name -W3 | |
--delete-empty-lines -xe | |
--unpad-paren -U |
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
// This source code written by Roland Ihasz | |
#include <iostream> | |
#include <vector> | |
#include <sstream> | |
int alter(std::string Nline) | |
{ | |
std::vector<int> NBuffer; | |
std::vector<int> lister; | |
std::vector<char> AnswerBuffer(Nline.begin(), Nline.end()); |
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
// This source code written by Roland Ihasz | |
#include <iostream> | |
#include <vector> | |
#include <sstream> | |
int main() | |
{ | |
std::vector<int> NBuffer; | |
std::vector<std::string> AnswerBuffer; | |
std::string Nline; |
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
// This source code written by Roland Ihasz | |
#include <vector> | |
#include <iostream> | |
int rdn(int y, int m, int d) | |
{ | |
if (m < 3) | |
{ | |
y--, m += 12; | |
} |
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
// This source code written by Roland Ihasz | |
#include <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
std::vector<int> vec; | |
void chockFunc(int nu, int co, int mn) |
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
indent_align_string=true | |
indent_braces=false | |
indent_braces_no_func=false | |
indent_brace_parent=false | |
indent_namespace=false | |
indent_extern=false | |
indent_class=true | |
indent_class_colon=true | |
indent_else_if=false | |
indent_func_call_param=false |
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/bash | |
MYSQL_ROOT_PASSWORD=$1 | |
if [ -z "$MYSQL_ROOT_PASSWORD" ]; then | |
echo 'Missing required $1 (password).' | |
exit 1 | |
fi | |
# check if mysql is running now. |