Skip to content

Instantly share code, notes, and snippets.

💭
installing

Mustafa Kerim Yılmaz mkysoft

💭
installing
Block or report user

Report or block mkysoft

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
@mkysoft
mkysoft / credit-card-holder.html
Created Oct 3, 2018
Sequential number input boxes with auto focus for pure java script
View credit-card-holder.html
<html>
<body>
<input id="number-1" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<input id="number-2" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<input id="number-3" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<input id="number-4" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<input id="number-5" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<input id="number-6" type="text" maxlength="1" onkeypress="goToNext(this, event)" onkeydown="goToPrev(this, event)" />
<script>
function goToNext(sender, event) {
@mkysoft
mkysoft / GitLab.cls
Created Jul 26, 2018
Getting issues and label assignment date to Excel via VBA macro for time reporting
View GitLab.cls
Private pGitLabClient As WebClient
Private pToken As String
Private Property Get Token() As String
If pToken = "" Then
If Credentials.Loaded Then
pToken = Credentials.Values("GitLab")("token")
Else
pToken = InputBox("GitLab Token?")
End If
@mkysoft
mkysoft / proxy.sh
Created Jul 23, 2018
Proxy setter for os, git and maven project by wifi name for mac os
View proxy.sh
#!/bin/bash
interface="Wi-Fi"
autoProxyURL="http://proxyserver:8080/accelerated_pac_base.pac"
proxyURL="http://proxyuser:proxypass@proxyserver:8080"
SSID=$(networksetup -getairportnetwork en0 | awk -F": " '{print $2}')
echo "WIFI SSID: $SSID"
if [ "$SSID" = "PROXY_NEEDED_WIFI" ]
then
You can’t perform that action at this time.