Skip to content

Instantly share code, notes, and snippets.

View weeebdev's full-sized avatar
㊙️
アニメを見ますよ

Adil Akhmetov weeebdev

㊙️
アニメを見ますよ
View GitHub Profile
{
"url": "https://www.linkedin.com/in/adildev/",
"sections": {
"main_profile": "Adil Akhmetov\n\nComputer Science Researcher at SDU | Systems Architect | Python, NixOS, Automation\n\nKazakhstan\n\n\u00b7\n\nContact info\n\nSuleyman Demirel University\n\n341 connections\n\nOpen to\nAdd section\nEnhance profile\nResources\n\nOpen to work\n\nKazakhstan\n\nShow details\n\nTell non-profits you are interested in getting involved with your time and skills\n\nGet started\n\nAnalytics\n\nPrivate to you\n\n58 profile views\n\nDiscover who\u2019s viewed your profile.\n\n0 post impressions\n\nStart a post to increase engagement.\n\nPast 7 days\n\n10 search appearances\n\nSee how often you appear in search results.\n\nShow all\nAbout\n\nhttps://registry.jsonresume.org/weeebdev?theme=professional\n\nTop skills\n\nDevOps \u2022 Full-Stack Development \u2022 Cybersecurity\n\nActivity\n\n354 followers\n\nCreate a post\n\nAdil Akhmetov commented on a post\n\n\u2022\n\n9h\n\n\u041d\u0430\u0434\u043e \u043a\u0436\u0441 \
@weeebdev
weeebdev / banner.png
Last active December 20, 2023 19:13 — forked from dominiklohmann/banner.png
yabai autoupdate
banner.png
@weeebdev
weeebdev / git-past-commit.sh
Last active March 3, 2022 16:28
Commit files in the past or any date you want. Supports human writable dates like '10 days ago'
#!/bin/bash
if DATE=$(date -d "$1"); then
echo $DATE;
else
exit 0;
fi
GIT_AUTHOR_DATE="$DATE" GIT_COMMITTER_DATE="$DATE" git commit "${@:2}";
sudo apt-get install virtualbox-guest-additions-iso
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install virtualbox-guest-x11
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
@weeebdev
weeebdev / fix-git-line-endings
Created October 29, 2020 03:43 — forked from synsa/fix-git-line-endings
Forces all line endings to LF in your git repo.
#####################
#
# Use this with or without the .gitattributes snippet with this Gist
# create a fixle.sh file, paste this in and run it.
# Why do you want this ? Because Git will see diffs between files shared between Linux and Windows due to differences in line ending handling ( Windows uses CRLF and Unix LF)
# This Gist normalizes handling by forcing everything to use Unix style.
#####################
# Fix Line Endings - Force All Line Endings to LF and Not Windows Default CR or CRLF
@weeebdev
weeebdev / Recent activity
Last active August 28, 2020 17:06
Recent activity
❗️ Opened issue #1380 in github/markup
🎉 Merged PR #1 in AlphaKennyBudy/activity-box
🎉 Merged PR #4 in AlphaKennyBudy/onetech-react
🎉 Merged PR #1 in AlphaKennyBudy/AlphaKennyBudy.github.io
🎉 Merged PR #1 in AlphaKennyBudy/CHATBOT
@weeebdev
weeebdev / 🐱 GitHub Data
Last active August 28, 2020 00:38
GitHub Data
🏆 568 Contributions in year 2020
📦 Used 35 MB in GitHub's Storage
📜 7 Public Gists
🔑 0 Public Keys
💼 Opted to Hire
@weeebdev
weeebdev / 📊 Weekly development breakdown
Last active August 28, 2020 17:10
Weekly development breakdown
JavaScript 1 hr 1 min ████████▌░░░░░░░░░░░░ 41.0%
JSON 23 mins ███▎░░░░░░░░░░░░░░░░░ 15.9%
Markdown 22 mins ███▏░░░░░░░░░░░░░░░░░ 15.2%
Other 16 mins ██▎░░░░░░░░░░░░░░░░░░ 11.0%
Docker 14 mins ██░░░░░░░░░░░░░░░░░░░ 9.8%
@weeebdev
weeebdev / handle_file_upload.php
Last active June 9, 2020 13:28 — forked from ebidel/handle_file_upload.php
Uploading files using xhr.send(FormData) to PHP server
<?php
$fileName = $_FILES['afile']['name'];
$fileType = $_FILES['afile']['type'];
$fileContent = file_get_contents($_FILES['afile']['tmp_name']);
$dataUrl = 'data:' . $fileType . ';base64,' . base64_encode($fileContent);
$json = json_encode(array(
'name' => $fileName,
'type' => $fileType,
'dataUrl' => $dataUrl,