Skip to content

Instantly share code, notes, and snippets.

View insekticid's full-sized avatar
🏠
Working from home

Exploit.cz insekticid

🏠
Working from home
View GitHub Profile
@insekticid
insekticid / .gitlab-ci.yml
Created July 24, 2020 12:16
aws codebuild status to gitlab pipeline
# This file is a template, and might need editing before it works on your project.
# Official docker image.
image: terraform:latest
variables:
CODEBUILD_PROJECT: myprojectname
CODECOMMIT_REPOSITORY: projectrepo
services:
- docker:dind
import sitemapModule from 'sitemap';
import axios from 'axios';
const { buildSitemapIndex, createSitemapsAndIndex } = sitemapModule;
let elasticsearch = axios.create({
baseURL: 'http://' + process.env.ELASTIC_SERVER + ':' + process.env.ELASTIC_PORT,
responseType: 'json'
});
@insekticid
insekticid / keybase.md
Created May 23, 2019 07:35
keybase.md

Keybase proof

I hereby claim:

  • I am insekticid on github.
  • I am insekticid (https://keybase.io/insekticid) on keybase.
  • I have a public key ASBhBDogIfVs868fCoJs9jzJpyl6jOq-Csp7YdCHGQpJNAo

To claim this, I am signing this object:

@insekticid
insekticid / Dockerfile
Last active November 22, 2021 07:59
PHP 7.2 Meminfo extension in Alpine Linux image @BitOne/php-meminfo
FROM phpearth/php:7.2-nginx
ENV PHP_INI_DIR /etc/php/7.2
RUN mkdir -p $PHP_INI_DIR/conf.d
RUN apk add --no-cache make composer php7.2-xdebug git
RUN apk add --no-cache php7.2-dev gcc g++
RUN curl -L -o /tmp/meminfo.tar.gz https://github.com/BitOne/php-meminfo/archive/master.tar.gz \
@insekticid
insekticid / LTC-electrum-wallet.cmd
Created December 12, 2017 09:24
Litecoin - LTC - Electrum 2.6.4.2 Wallet with pgp check
set ELECTRUM_VERSION=2.6.4.2
rm "electrum-ltc-portable-%ELECTRUM_VERSION%.exe.asc"
rm "electrum-ltc-portable-%ELECTRUM_VERSION%.exe"
curl -O -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36" "https://electrum-ltc.org/download/electrum-ltc-portable-%ELECTRUM_VERSION%.exe"
curl -O "https://electrum-ltc.org/download/electrum-ltc-portable-%ELECTRUM_VERSION%.exe.asc"
gpg --keyserver pool.sks-keyservers.net --recv-keys 0x6FC4C9F7F1BE8FEA
gpg --fingerprint 0x6FC4C9F7F1BE8FEA
gpg --batch --verify "electrum-ltc-portable-%ELECTRUM_VERSION%.exe.asc" "electrum-ltc-portable-%ELECTRUM_VERSION%.exe" && electrum-ltc-portable-%ELECTRUM_VERSION%.exe
rm "electrum-ltc-portable-%ELECTRUM_VERSION%.exe.asc"
rm "electrum-ltc-portable-%ELECTRUM_VERSION%.exe"
@insekticid
insekticid / electrum-bitcoin-wallet-windows.cmd
Created October 16, 2017 12:22
Electrum bitcoin wallet downloader with pgp check for windows
set ELECTRUM_VERSION=2.9.3
rm "electrum-%ELECTRUM_VERSION%-portable.exe.asc"
rm "electrum-%ELECTRUM_VERSION%-portable.exe"
curl -O "https://download.electrum.org/%ELECTRUM_VERSION%/electrum-%ELECTRUM_VERSION%-portable.exe"
curl -O "https://download.electrum.org/%ELECTRUM_VERSION%/electrum-%ELECTRUM_VERSION%-portable.exe.asc"
gpg --keyserver pool.sks-keyservers.net --recv-keys 0x2bd5824b7f9470e6
gpg --fingerprint 0x2bd5824b7f9470e6
gpg --batch --verify "electrum-%ELECTRUM_VERSION%-portable.exe.asc" "electrum-%ELECTRUM_VERSION%-portable.exe" && electrum-%ELECTRUM_VERSION%-portable.exe
rm "electrum-%ELECTRUM_VERSION%-portable.exe.asc"
rm "electrum-%ELECTRUM_VERSION%-portable.exe"
@insekticid
insekticid / phpcs.xml.dist
Created July 25, 2017 07:25
Custom Symfony 4 Flex PHP 7.1 strict_types=1 coding standard
<?xml version="1.0"?>
<ruleset name="Exploit.cz">
<exclude-pattern>src/Kernel.php</exclude-pattern>
<rule ref="vendor/escapestudios/symfony2-coding-standard/Symfony/ruleset.xml">
<exclude name="Symfony.WhiteSpace.AssignmentSpacing"/>
<exclude name="Symfony.Commenting.ClassComment"/>
<exclude name="Symfony.Commenting.FunctionComment"/>
<exclude name="Squiz.Commenting.FunctionComment"/>
</rule>
<rule ref="vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml">
@insekticid
insekticid / gist:93a640201c72a3284247e0541ae73d37
Created May 30, 2017 12:04 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
```
uci export sshtunnel
package sshtunnel
config server 'exploit_cz'
option user 'tunnel'
option hostname 'exploit.cz'
option IdentityFile '~/.ssh/id_rsa'
option port '22'
option LogLevel 'INFO'
@insekticid
insekticid / ibillboard-customized.md
Created August 22, 2016 08:37
ibillboard BBmedia BBelements Ad Server kod

ibillboard BBmedia BBelements Ad Server CUSTOMIZED kod

Tato ukázka slouží pro jednodušší nasazení BBelements kódů na váš web.

  1. Nasaďte všechny id="bmone2n-*" kódy tam kde má být zobrazena reklama. V této ukázce jsou nastaveny i záložní reklamy ze systému Adsense, pokud BBelements nemá co zobrazit. K tomu mu slouží data atribut "eyelet" (data-eyelet), který definuje id jiného bloku, který má být místo něj zobrazen jako 'display:block'

    <!-- iBILLBOARD Ad Server one2many Pozice: go.eu.bbelements.com (19990) / Homepage M(1) / Leaderboard(1) / Leaderboard 745x100(1)-->