Skip to content

Instantly share code, notes, and snippets.

View saadismail's full-sized avatar

Saad Ismail saadismail

View GitHub Profile
server {
listen 80;
location / {
proxy_pass http://localhost:3000;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
image: node:latest
stages:
- production
production:
type: deploy
stage: production
script:
- apt-get update -qy
7 489
10000
148 287 80 335 128 123 395 323 220 334 417 343 74 363 1 447 468 490 228 475 315 169 205 171 476 380 268 245 428 331 85 75 469 164 409 448 138 155 270 358 489 39 200 62 401 200 8 368 190 87 194 356 256 398 378 83 129 497 327 56 179 263 130 148 426 38 95 63 193 217 272 33 255 472 94 155 23 453 374 64 39 67 271 146 464 500 228 93 496 406 148 175 168 278 174 445 167 120 360 211 336 131 243 90 454 336 244 477 288 117 392 179 183 163 324 499 162 404 443 10 309 90 36 329 219 209 273 238 180 484 448 16 467 191 105 420 378 201 248 18 169 140 48 204 154 371 54 167 126 496 176 435 437 211 115 156 271 387 245 451 223 192 466 189 234 422 108 464 474 208 333 143 347 380 198 352 102 251 18 228 246 194 14 182 256 128 189 27 14 285 329 88 329 146 276 414 419 236 377 393 443 209 387 141 440 84 492 42 186 361 269 283 54 282 464 162 409 5 40 274 289 368 214 117 365 489 31 283 76 259 27 370 320 413 362 259 348 205 300 385 66 420 167 471 53 131 132 313 487 23 439 127 242 152 96 106 492 126 389 68 236 267 289 55 180 15
7 82
1000
405 368 252 409 384 341 374 221 230 9 1 92 220 108 188 374 349 123 243 72 477 69 3 204 492 73 454 221 455 193 302 211 412 405 119 296 97 493 16 326 353 368 269 72 475 456 446 324 430 40 395 406 109 398 462 452 322 415 24 129 459 325 339 223 81 458 18 178 302 385 355 154 252 124 78 227 431 23 402 361 414 296 118 22 45 431 325 367 198 348 347 156 24 185 378 105 494 247 282 295 483 488 301 87 463 378 165 394 252 66 106 165 213 75 187 258 6 363 476 203 63 322 210 86 358 440 190 352 186 323 146 21 311 446 107 273 323 123 18 426 188 475 91 400 50 129 9 407 491 336 461 53 9 170 139 367 109 180 218 147 3 215 19 165 13 125 289 187 247 159 113 286 133 203 37 34 331 398 440 321 233 400 226 242 422 216 460 382 395 29 380 249 243 398 265 255 374 406 442 120 64 54 257 196 256 294 230 438 43 21 110 275 421 335 368 194 50 179 75 297 207 307 397 450 204 14 56 78 419 349 49 482 402 158 177 9 303 258 298 345 279 408 471 51 242 339 244 144 369 170 292 76 476 188 377 32 201 432 109 471 281 9 452 34 166 481 395 468 238
xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 1920x1080
xrandr --output Virtual1 --mode 1920x1080
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/proc_fs.h>
#include <linux/fs.h>
#include <linux/seq_file.h>
#include <linux/slab.h> // for kmalloc()
static int limit = 1000;
module_param(limit, int, S_IRUGO);
#include <bits/stdc++.h>
using namespace std;
int main(void) {
int t; cin >> t;
while (t--) {
int n, e, k;
cin >> n >> e >> k;
#include <iostream>
#include <climits>
#include <cmath>
using namespace std;
int n;
double x, y;
double dist;
#include <iostream>
#include <vector>
#include <map>
#include <utility>
using namespace std;
vector <int> divisors;
map < pair< int, pair<bool, int> >, int > DP;
vector<int> ans;
#include <stdio.h>
#include <stdlib.h>
int** Input_Matrix(int *rows, int *columns) {
printf("Input the number of rows: ");
scanf("%d", rows);
printf("Input the number of columns: ");
scanf("%d", columns);
int **arr = (int **)malloc(*rows * sizeof(int *));