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
AES aes = new AES(256/32); | |
String clave = "12345678677561"; | |
clave = aes.parseKey(clave); | |
String texto = String.valueOf(0.0) + String.valueOf(677) + "Tr" + String.valueOf(0.0) + | |
String.valueOf(561); | |
String hash = aes.encrypt(texto, clave, 256); | |
System.out.println("Hash :" + hash); |
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 | |
# Digital Ocean API Token | |
TOKEN="" | |
# Domain Details | |
DOMAIN="" | |
RECORD_ID="" | |
IP=$(curl -s ifconfig.me) |
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
3158 GOV.TR domain names | |
http://ahmetalpbalkan.com/blog/gov-tr-alan-adlari-listesi/ | |
================================== | |
100yilyy.gov.tr | |
19mayis.gov.tr | |
28kontrollab.gov.tr | |
360sakarya.gov.tr | |
80yilrehabilitasyon.gov.tr | |
9fi.gov.tr |
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
<select name="" id=""> | |
<option value="212">212</option> | |
<option value="216">216</option> | |
<option value="222">222</option> | |
<option value="224">224</option> | |
<option value="226">226</option> | |
<option value="228">228</option> | |
<option value="232">232</option> | |
<option value="236">236</option> | |
<option value="242">242</option> |
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
$ date -d "9pm last saturday" +'%F %T' |
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
ABBR CODE COUNTRY | |
----------------------- | |
US 1 ABD | |
VI 1 ABD Virjin Adaları | |
AF 93 Afganistan | |
AX 358 Åland Adaları | |
DE 49 Almanya | |
AS 1 Amerikan Samoası | |
AD 376 Andorra | |
AO 244 Angola |
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
{ | |
"USD": { | |
"symbol": "$", | |
"name": "US Dollar", | |
"symbol_native": "$", | |
"decimal_digits": 2, | |
"rounding": 0, | |
"code": "USD", | |
"name_plural": "US dollars" | |
}, |
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
# coding: utf-8 | |
import os | |
import re | |
import sys | |
pattern = '(\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) - - \[.*\] "GET ([^\s]+) HTTP\/1.0" \d+ \d+ ".*" "(.*)"' | |
ip_list = {} | |
for p in sys.argv: |
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
FROM node:4.4 | |
LABEL type="node" purpose="api" role="core" description="Gerrit Dashboard Server" | |
ENV NODE_ENV production | |
ENV SOURCE_TYPE DB | |
ENV GERRIT_DASHBOARD_CONFIG_PATH /opt/config | |
COPY dist /srv/app | |
WORKDIR /srv/app | |
EXPOSE 3000 | |
VOLUME ["/opt/config"] | |
CMD ["./bin/www"] |
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
FROM node:6.2-slim | |
MAINTAINER Alper Kanat <me@alperkan.at> | |
ADD . /srv | |
WORKDIR /srv | |
RUN apt-get update && apt-get install -qqy git | |
RUN npm install -g bower gulp | |
RUN npm install | |
RUN bower install --allow-root | |
RUN gulp clean build | |
ENV NODE_ENV production |
OlderNewer