Skip to content

Instantly share code, notes, and snippets.

View ademakanaky's full-sized avatar

Oluwasegun Ibidokun ademakanaky

View GitHub Profile
@ademakanaky
ademakanaky / AirtimeController.java
Created December 10, 2025 10:39
Airtime Vending using Java Springboot
package com.ademakanaky.demo.bills;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.precisionweb.demo.exceptions.AirtimePurchaseException;
import java.util.Map;
@ademakanaky
ademakanaky / CiscoVPNAutoLogin.ps1
Last active October 3, 2019 14:16 — forked from fergie/CiscoVPNAutoLogin.ps1
PowerShell script to automate the Cisco AnyConnect SSL VPN client on Windows
# Source www.cze.cz
# This script is tested with "Cisco AnyConnect Secure Mobility Client version 3.0.5080"
# Run using %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "C:\CiscoVPNAutoLogin.ps1"
# VPN connection details
[string]$CiscoVPNHost = "vpn.example.com"
[string]$Username = "username"
[string]$Password = "password"
[string]$GroupAuth = "groupauth"