Skip to content

Instantly share code, notes, and snippets.

View yabasha's full-sized avatar

Ya Basha yabasha

View GitHub Profile
@yabasha
yabasha / .env-Swoole
Created June 3, 2022 18:26 — forked from kiddtang/.env-Swoole
Youtube - Boosts your Laravel Sail
OCTANE_SERVER=swoole
OCTANE_HTTPS=true
@yabasha
yabasha / Kernel.php
Created March 7, 2022 06:57 — forked from djoudi/Kernel.php
Maintain localization / locale when using Laravel Livewire
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
//----
@yabasha
yabasha / Rounded edge line CSS
Created November 4, 2020 10:27 — forked from maban/Rounded edge line CSS
Line with rounded edges
h1:after {
content: " ";
display: block;
border-top: 2px solid skyblue;
border-bottom: 2px solid skyblue;
border-radius: 2px;
}
@yabasha
yabasha / Random-string in JS
Last active July 20, 2020 08:13 — forked from 6174/Random-string
Generate a random string in JavaScript In a short and fast way!
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
@yabasha
yabasha / Windows
Created October 2, 2019 06:36 — forked from JerryLokjianming/Crack Sublime Text Windows and Linux.md
Crack Sublime Text 3.2.2 Build 3211
# Subscribe to my YouTube Channel -> https://lokjianming.page.link/CVLm #
How to Crack Sublime Text 3 with Hex Editor
1. Download & Install Sublime Text 3.2.2 Build 3211
2. Visit Hexed.it
3. Open file sublime_text.exe
4. Search address 97 94 0D
5. Change to 00 00 00
6. Export File
@yabasha
yabasha / gist:206d53a1dbcddaa642505f9325d8533b
Created June 23, 2019 11:04 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@yabasha
yabasha / README-Template.md
Created June 23, 2019 10:49 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@yabasha
yabasha / rsync-incremental-backup.sh
Created August 14, 2017 13:55 — forked from morhekil/rsync-incremental-backup.sh
Shell script to handle incremental data backups with rsync. Optimised to handle large number of infrequently changing files, by using hard links to save on used disk space. For more details - http://localhost:4000/2014/01/12/automatic-backups-with-ruby-and-linux-shell-part-3/
#!/bin/bash
# Rsync based file backup script, with hard-linking enabled.
#
# Runtime options:
# -n - dry-run; do nothing, just display what is going to happen on a real run
# -v - verbose output; print out what is being backed up
#
# set to your rsync location