Skip to content

Instantly share code, notes, and snippets.

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

Nikolas Bousios Rambou

🏠
Working from home
View GitHub Profile
@Rambou
Rambou / Songs from Evolution of Dance Video
Last active August 29, 2015 14:22
Songs from Evolution of Dance Video from youtube. https://www.youtube.com/watch?v=dMH0bHeiRNg
Song 1: 0:02 Hound Dog - Elvis Presley
Song 2: 0:14 Twist - Chubby Checker
Song 3: 0:32 Stayin' Alive - Bee Gees
Song 4: 0:39 YMCA - The Village People
Song 5: 0:55 Everybody Was Kung Fu Fighting - Carl Douglas
Song 6: 1:03 Keep On - The Brady Bunch
Song 7: 1:17 Grease Lightning - John Travolta
Song 8: 1:29 You Shook Me All Night Long - AC/DC
Song 9: 1:41 Billie Jean - Michael Jackson
Song 10: 1:50 Thriller - Michael Jackson
@Rambou
Rambou / .bat
Created December 13, 2015 00:36
Windows 10 Hotspot
TITLE Hotspot Creator
netsh wlan set hostednetwork mode=allow ssid=Rambou key=password
netsh wlan start hostednetwork
ECHO "Hotspot with SSID Rambou and Password=password Started"
PAUSE
@Rambou
Rambou / ask_ldap.php
Created April 11, 2016 04:33
A php script to make questions against LDAP Aegean University server and authenticating users.
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
</head>
<body>
<?php
$ldap_server = "ldap://zeus.aegean.gr";
$ldap_dn = "dc=aegean,dc=gr"; // dn for your organization
$ldap_domain = "aegean";
$ldap_username = 'ACADEMIC_USERNAME';
@Rambou
Rambou / install.sh
Last active July 15, 2016 00:08
PopcornTime Ubuntu install script
#!/usr/bin/env bash
sudo su
curl -SO# https://popcorntime.sh/download/build/Popcorn-Time-0.3.9-Linux-64.tar.xz
mkdir -p /opt/popcorntime
tar xf Popcorn-Time-0.3.9-Linux-64.tar.xz -C /opt/popcorntime
curl -SO# http://freemobileapk.com/wp-content/uploads/2014/09/com_nostracasa_android_popcorntimegame.png
mv com_nostracasa_android_popcorntimegame.png /opt/popcorntime/
curl -SO# https://gist.githubusercontent.com/Rambou/3a560d99bdf234a94e08693bc60b972f/raw/6880fd89d2b8fbee9bb6c9796fe4f70a7be158b5/popcorntime.desktop/popcorntime.desktop
mv popcorntime.desktop /usr/share/applications/
@Rambou
Rambou / 0_reuse_code.js
Created August 23, 2016 13:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Rambou
Rambou / db_install.rsp
Created November 4, 2018 18:26
Oracle 12c Database install response file
####################################################################
## Copyright(c) Oracle Corporation 1998,2014. All rights reserved.##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
######################################################################
## Copyright(c) 1998, 2014 Oracle Corporation. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize your ##
## installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## identifies the variable type. ##
## ##
## Please specify the values in the following format: ##
@Rambou
Rambou / dbca.rsp
Created November 4, 2018 20:47
Response file for database creation
##############################################################################
## ##
## DBCA response file ##
## ------------------ ##
## Copyright 1998, 2014, Oracle Corporation. All Rights Reserved. ##
## ##
## Specify values for the variables listed below to customize Oracle ##
## Database Configuration installation. ##
## ##
## Each variable is associated with a comment. The comment identifies the ##
@Rambou
Rambou / SSO and LDAP
Last active January 16, 2022 15:05
Greek Universities SSO and LDAP servers
Agricultural University of Athens - https://sso.aua.gr/login - noc.aua.gr DN
Aristotle University of Thessaloniki - https://www.it.auth.gr/saml_login?custom_return=eForms%2Faai - ldap.auth.gr DN: o=auth,c=GR
Athens University of Economics and Business - https://sso.aueb.gr/login
Athens school of fine arts - https://sso.asfa.gr/login
Democritus University of Thrace - https://login.duth.gr
Harokopio University - https://sso.hua.gr/login
Hellenic Open University - https://login.eap.gr/idp/Authn/UserPassword
International Hellenic University - http://sso.ihu.edu.gr/idp/
Ionian University - https://sso.ionio.gr/login
National Technical University of Athens - https://login.ntua.gr/idp/Authn/UserPassword
@Rambou
Rambou / winexe_xenial_ubuntu_build.sh
Last active March 8, 2022 20:28
Building - installing winexe for Ubuntu 16 xenial
sudo su && git clone git://git.code.sf.net/u/mstowe/winexe u-mstowe-winexe && cd u-mstowe-winexe/source && apt-get -y install python2.7 gcc-mingw-w64 libtevent-dev samba-dev && ln -s /usr/lib/x86_64-linux-gnu/samba/libcli-ldap.so.0 /usr/lib/x86_64-linux-gnu/samba/libcli-ldap-samba4.so.0 ; ln -s /usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba.so.0 /usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba-samba4.so.0 ; ln -s /usr/lib/x86_64-linux-gnu/samba/liberrors.so.0 /usr/lib/x86_64-linux-gnu/samba/liberrors-samba4.so.0 ; ./waf configure build && build/winexe --help