Skip to content

Instantly share code, notes, and snippets.

View abilbaotm's full-sized avatar

Asier Bilbao abilbaotm

View GitHub Profile
@rbialek
rbialek / config
Created June 7, 2011 13:32
ssh/.config
Host github.com
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile /home/user/.ssh/id_rsa
@smonteverdi
smonteverdi / gist:1993937
Created March 7, 2012 15:55
PHP: Login Form
login_page.php
<form action="verify.php" method="post">
User Name:<br>
<input type="text" name="username"><br><br>
Password:<br>
<input type="password" name="password"><br><br>
<input type="submit" name="submit" value="Login">
</form>
verify.php
@bodokaiser
bodokaiser / nginx.conf
Last active May 17, 2018 15:54
My current nginx conf: reverse proxy for http and ws protocol
events {
worker_connections 1024;
}
http {
charset UTF-8;
upstream example {
server 127.0.0.1:3000;
keepalive 32;
@bipinu
bipinu / install-bison.sh
Created February 16, 2015 14:49
Install bison 2.7 on Ubuntu 14.04
#!/bin/bash
mkdir /tmp/bison
cd /tmp/bison
apt-get update
apt-get install -y build-essential m4
wget http://ftp.gnu.org/gnu/bison/bison-2.7.tar.gz
tar -xvf bison-2.7.tar.gz
@mosquito
mosquito / requirements.txt
Last active June 1, 2024 14:07
RTSP to HTTP python proxy
tornado>4
construct
@adityasatrio
adityasatrio / MySqlBackup.bat
Created July 1, 2015 04:02
Mysql Backup Script For Windows
@echo off
set dbUser=root
set dbPassword=password
set backupDir="F:\AdityaSatrioNugroho\testbackupDb-bat\"
set mysqldump="C:\xampp\mysql\bin\mysqldump.exe"
set mysqlDataDir="C:\xampp\mysql\data"
set zip="C:\Program Files\7-Zip\7z.exe"
:: get date
@bsodmike
bsodmike / ATECC508A.md
Created July 10, 2016 21:49
IoT Security with the Atmel ATECC508A

IoT Security with the Atmel ATECC508A

Get Public ECC Key
Key Number [0-15]
Public Key 15
PubKey:26712508A3544575F38526FA3D6AAAF920728A3ABDF2421841243F1961222944AF116DDFB4AF797EA70FCD09C9FEBC490793C271165410FAF3672BE5FD8D1B5D

Hash Data
Enter Message to hash: Thing Innovations Crypto
@faniska
faniska / wkhtmltopdf.sh
Last active March 11, 2024 11:51
Install wkhtmltopdf with patched QT on Ubuntu Linux
# Uncomment the next line if you have installed wkhtmltopdf
# sudo apt remove wkhtmltopdf
cd ~
# Select an appropriate link for your system (32 or 64 bit) from the page https://wkhtmltopdf.org/downloads.html and past to the next line
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xvf wkhtmltox*.tar.xz
sudo mv wkhtmltox/bin/wkhtmlto* /usr/bin
sudo apt-get install -y openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig
@howkymike
howkymike / currency-dropdown.html
Last active July 22, 2024 11:20
HTML Dropdown Currency List. Compatibile with ISO 4217 standard and extended with the currencies not included in the ISO 4217 but used commercially.
<select id="currencyList">
<option value="USD" selected="selected" label="US dollar">USD</option>
<option value="EUR" label="Euro">EUR</option>
<option value="JPY" label="Japanese yen">JPY</option>
<option value="GBP" label="Pound sterling">GBP</option>
<option disabled>──────────</option>
<option value="AED" label="United Arab Emirates dirham">AED</option>
<option value="AFN" label="Afghan afghani">AFN</option>
<option value="ALL" label="Albanian lek">ALL</option>
<option value="AMD" label="Armenian dram">AMD</option>