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
| {"lastUpload":"2021-01-28T08:31:21.372Z","extensionVersion":"v3.4.3"} |
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
| # B | |
| alias b='clear' | |
| alias blow='tar zxvf' | |
| # C | |
| alias c='codium' | |
| alias cr='composer require' | |
| alias cin='composer install' | |
| # F |
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
| FROM arifnd/c2-alpine | |
| RUN apk add --update --virtual .build-dependencies tar build-base && \ | |
| wget -qO noip.tar.gz http://www.noip.com/client/linux/noip-duc-linux.tar.gz && \ | |
| mkdir noip && tar -C noip --strip-components=1 -xvf ./noip.tar.gz && \ | |
| cd noip && sed -i '/no-ip2/d' Makefile && make install && \ | |
| apk del .build-dependencies && rm -rf /var/cache/apk/* && rm ../noip.tar.gz | |
| CMD noip2; while pgrep noip > -; do echo "Process is running"; sleep 5; done; echo "No-ip has died"; exit 1 |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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 | |
| token= | |
| parm="payload={\"channel\": \"$1\", \"username\": \"$2\",\"text\": \"$3\"}" | |
| curl -X POST --data-urlencode "$parm" $token |
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
| #!/usr/bin/python | |
| import gtk | |
| import wnck | |
| from time import time | |
| class NayaTask: | |
| def __init__(self): | |
| self.screen = wnck.screen_get_default() |
NewerOlder