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 | |
# Make sure to run the file as super user (sudo) first. | |
# https://docs.docker.com/engine/install/centos/ | |
# Install the yum-utils package to have yum-config-manager | |
yum install -y yum-utils | |
# Add Docker to the packages repository |
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
/* Max */ | |
@media (max-width: 319px) { /* X-Small Screen */ | |
} | |
@media (max-width: 479px) { /* Small Screen */ | |
} | |
@media (max-width: 767px) { /* Medium Screen */ | |
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
<?php | |
class Random { | |
// random seed | |
private static $RSeed = 0; | |
// set seed | |
public static function seed($s = 0) { | |
self::$RSeed = abs(intval($s)) % 9999999 + 1; | |
self::num(); | |
} |
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 requests | |
# Initializations | |
panels = ["admin.php", "wp-login.php", "login.php", "admin/admin.php", "admin/index.php"] | |
found = 0 | |
notFound = 0 | |
# Inputs | |
url = input("[*] Enter URL: ") |
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
# Imports | |
############################################################### | |
import random | |
############################################################### | |
# Functions | |
############################################################### | |
def generateCVV(type): | |
if type == 1: | |
i = random.randint(0, 9) |
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
int factorial(int i) { | |
if(i <= 1) return 1; | |
return i * factorial(i - 1); | |
} |
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
int fibonacci(int i) { | |
if(i == 0 || i == 1) return i; | |
return fibonacci(i-1) + fibonacci(i-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
cin >> month_num; | |
switch (month_num) | |
{ | |
case 1:case 3:case 5:case 7:case 8:case 10:case 12: | |
daysinmonth = 31; | |
break; | |
case 2: | |
daysinmonth = 28; | |
break; | |
case 4: case 6: case 9: case 11: |
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 "stdafx.h" | |
#include <iostream> | |
using namespace std; | |
int main() { | |
int itemValue; | |
int largestSoFar; | |
int minValue; |
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> | |
using namespace std; | |
int a, b; | |
int main() { | |
cout << "A: "; | |
cin >> a; | |
cout << 1 << " " << endl; | |
for(int i = 0; i <= a; i++) { |
NewerOlder