This file contains hidden or 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 | |
| #credits to https://github.com/madmantm/fedora-pentest-tools thanks :D | |
| echo "[*]preliminary questions regarding user-rights" | |
| clear | |
| read -p "[*]Please enter your username, this will help me fix permissions:" myname | |
| clear | |
| echo "[*]what would be your prefered directory name for the tools? no slashes pls" |
This file contains hidden or 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
| //author: Jonathan R. Lopez | |
| function propsToFile (obj, prop, dirpath, ext) { | |
| for(let props in obj[prop]) { | |
| fs.writeFile(`${dirpath}${obj[prop][props].split(' ').join('_')}${ext}` , `<%# ${obj[prop][props].split(' ').join('_')} %>`, err=> { | |
| err ? console.log(err) : console.log('file written') | |
| }); | |
| } | |
| }; |
This file contains hidden or 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 | |
| ## Bash Script to clear cached memory on (Ubuntu/Debian) Linux | |
| ## By Philipp Klaus | |
| ## see <http://blog.philippklaus.de/2011/02/clear-cached-memory-on-ubuntu/> | |
| if [ "$(whoami)" != "root" ] | |
| then | |
| echo "You have to run this script as Superuser!" | |
| exit 1 | |
| fi |
This file contains hidden or 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
| div { | |
| position: absolute; | |
| right: 0; left: 0; | |
| margin-left: auto; margin-right: auto; | |
| } |
This file contains hidden or 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
| /** | |
| * Send a login request to the server to retrieve a JWT token. | |
| * @param credentials | |
| * @returns {{type: *, isFetching: boolean, isAuthenticated: boolean, credentials: *}} | |
| */ | |
| function requestLogin() { | |
| return { | |
| type: LOGIN_REQUEST, | |
| isFetching: true, | |
| isAuthenticated: false |
This file contains hidden or 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
| study("Supertrend V1.0 - Marketcalls", overlay = true) | |
| Factor=input(3, minval=1,maxval = 100) | |
| Pd=input(7, minval=1,maxval = 100) | |
| Up=hl2-(Factor*atr(Pd)) | |
| Dn=hl2+(Factor*atr(Pd)) | |
This file contains hidden or 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
| study(title="13ema of On Balance Volume", shorttitle="13eOBV") | |
| src = close, len = input(13, minval=1, title="Length") | |
| out = cum(change(src) > 0 ? volume : change(src) < 0 ? -volume : 0*volume) | |
| out2 = ema(out, len) | |
| plot(out, color=orange, title="OBV") | |
| plot(out2, title="EMA", color=gray) |
This file contains hidden or 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
| /*- | |
| * Copyright (c) 1989, 1993 | |
| * The Regents of the University of California. All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions | |
| * are met: | |
| * 1. Redistributions of source code must retain the above copyright | |
| * notice, this list of conditions and the following disclaimer. | |
| * 2. Redistributions in binary form must reproduce the above copyright |
This file contains hidden or 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
| # Dockerfile for ffmpeg with pretty much support for everything as per: | |
| # https://trac.ffmpeg.org/wiki/CompilationGuide/Centos | |
| # includes codecs with weird licensing like MP3 and AAC. | |
| # | |
| FROM fedora | |
| MAINTAINER Ross Timson <ross@rosstimson.com> | |
| # Install build requirements. | |
| RUN dnf install -y autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel |
This file contains hidden or 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 | |
| # Author: Michael Best <mbest@arcticlinux.com> | |
| # Designed to work with the Shorewall Port Knocking Implementation | |
| # http://shorewall.net/PortKnocking.html | |
| COMMAND="ssh" | |
| PORT=1600 | |
| TIMEOUT=2 |