This file contains 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
#!/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}"; |
This file contains 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
sudo apt-get install virtualbox-guest-additions-iso | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
sudo apt-get install virtualbox-guest-x11 |
This file contains 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
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo apt install ./google-chrome-stable_current_amd64.deb |
This file contains 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
##################### | |
# | |
# 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 |
This file contains 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
❗️ 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 |
This file contains 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
🏆 568 Contributions in year 2020 | |
📦 Used 35 MB in GitHub's Storage | |
📜 7 Public Gists | |
🔑 0 Public Keys | |
💼 Opted to Hire |
This file contains 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
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% |
This file contains 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
<?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, |
This file contains 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
h1 { | |
background-image: linear-gradient(#EAEBF5 0%, #C7C8DB 100%); | |
color: transparent; | |
background-clip: text; | |
} |
NewerOlder