Skip to content

Instantly share code, notes, and snippets.

Saltuk Alakus saltukalakus

Block or report user

Report or block saltukalakus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@saltukalakus
saltukalakus / README.md
Created Apr 9, 2019 — forked from sandrinodimattia/README.md
Upload custom signing certificate in Auth0 Generic SAML-P Connection
View README.md

Upload custom signing certificate in Auth0 Generic SAML-P Connection

Get or generate a new signing certificate:

openssl req -x509 -nodes -sha256 -days 3650 -newkey rsa:2048 -keyout saml.key -out saml.crt

Update the script and update the following settings:

@saltukalakus
saltukalakus / ws-fed-auth0.js
Created Nov 22, 2018 — forked from nzpcmad/ws-fed-auth0.js
Node.js with Express SSL, WS-Fed and ADFS
View ws-fed-auth0.js
// http://collectivegarbage.azurewebsites.net/use-thinktecture-identity-server-v2-to-authenticate-your-node-application/
var express = require('express'),
app = express(),
bodyParser = require('body-parser'),
cookieParser = require('cookie-parser'),
session = require('express-session'),
passport = require('passport'),
wsfedsaml2 = require('passport-wsfed-saml2').Strategy;
View HLP disable double click
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Sign In with Auth0</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
@saltukalakus
saltukalakus / gist:1b3c4815a1bad7da51b98a38446dbab6
Created Mar 24, 2017 — forked from wacko/gist:5577187
SSH between Mac OS X host and Virtual Box guest
View gist:1b3c4815a1bad7da51b98a38446dbab6

On Mac OS (host):

Shutdown your VM and do:

VirtualBox > Settings > Network > Add (you will get vboxnet0)

On a terminal ifconfig will show you new interface vboxnet0

VM's Settings > System > check "Enable I/O APIC." VM's Settings > Network > Adapter 2 > host-only vboxnet0

@saltukalakus
saltukalakus / gist:a11ef96fbad46c46516dc2ddf1d42da5
Created Mar 24, 2017 — forked from wacko/gist:5577187
SSH between Mac OS X host and Virtual Box guest
View gist:a11ef96fbad46c46516dc2ddf1d42da5

On Mac OS (host):

Shutdown your VM and do:

VirtualBox > Settings > Network > Add (you will get vboxnet0)

On a terminal ifconfig will show you new interface vboxnet0

VM's Settings > System > check "Enable I/O APIC." VM's Settings > Network > Adapter 2 > host-only vboxnet0

@saltukalakus
saltukalakus / unfollow.py
Created Jan 15, 2017 — forked from jamiesonbecker/unfollow.py
Twitter Unfollow Example (python)
View unfollow.py
#! /usr/bin/env python
# how to unfollow everyone who isn't following you
# By Jamieson Becker (Public Domain/no copyright, do what you will)
# Easy instructions, even if you don't know Python
#
# 1. Install pip (apt-get install python-pip) and then
# pip install tweepy, which is the python twitter client
#
@saltukalakus
saltukalakus / delete_all_tweets.py
Created Jan 15, 2017 — forked from vik-y/delete_all_tweets.py
This script will delete all of the tweets in a specified account.
View delete_all_tweets.py
# -*- coding: utf-8 -*-
"""
This script is forked originally from Dave Jeffery. The original implementation
was very slow and deleted around 2 tweets per second. Making it multithreaded I
am able to delete 30-50 tweets per second.
@author: vik-y
----------------------------------------------------------------------------
This script will delete all of the tweets in the specified account.
You can’t perform that action at this time.