Skip to content

Instantly share code, notes, and snippets.

View egyleader's full-sized avatar
🇪🇬
Flutter developer @ dkilo

AHMED OSAMA egyleader

🇪🇬
Flutter developer @ dkilo
View GitHub Profile
{
"name":"egyleader",
"settings":"{\"settings\":\"{\\n \\\"editor.accessibilitySupport\\\": \\\"off\\\",\\n \\\"editor.cursorStyle\\\": \\\"line\\\",\\n \\\"editor.cursorWidth\\\": 3,\\n \\\"editor.lineHeight\\\": 30,\\n \\\"editor.cursorSmoothCaretAnimation\\\": \\\"on\\\",\\n \\\"editor.find.cursorMoveOnType\\\": true,\\n \\\"editor.cursorBlinking\\\": \\\"smooth\\\",\\n \\\"editor.formatOnPaste\\\": true,\\n \\\"editor.formatOnType\\\": true,\\n \\\"editor.fontFamily\\\": \\\"Fira Code\\\",\\n \\\"editor.fontLigatures\\\": true,\\n \\\"editor.bracketPairColorization.enabled\\\": true,\\n \\\"editor.guides.bracketPairs\\\": \\\"active\\\",\\n \\\"editor.renderControlCharacters\\\": false,\\n \\\"breadcrumbs.enabled\\\": true,\\n \\\"git.enableSmartCommit\\\": true,\\n \\\"editor.wordWrap\\\": \\\"on\\\",\\n \\\"editor.autoSurround\\\": \\\"languageDefined\\\",\\n \\\"workbench.colorCustomizations\\\": {\\n \\\"[Material Theme Ocean]\\\": {\\n \\\"statusBar.debuggingBackgroun
@egyleader
egyleader / main.dart
Created July 31, 2022 11:01
quiet-marsh-7347
class Preferences {
static const _preferencesBox = '_preferencesBox';
static const _counterKey = '_counterKey';
final HiveInterface _hive;
const Preferences(this._hive);
Future<int> getCounter() => _getValue(_counterKey, defaultValue: 0);
@egyleader
egyleader / fast_internet.sh
Last active December 14, 2022 02:13
Limit network bandwidth in linux using wondershaper
#!/bin/bash
sudo wondershaper -c -a wlp2s0
echo speed limit removed
@egyleader
egyleader / Super Fish 🐠
Last active October 10, 2021 12:14
Super useful set of Fish aliases for OS , git , dart , flutter , php , laravel , to get stated just run 'wget https://bit.ly/superFish -O ~/.config/fish/.fish_aliases' in your treminal and follow the instructions
# Super Fish 🐠
# Super useful set of Fish aliases for OS , git , dart , flutter , php , laravel .
# for bash version see 👉🏻 https://bit.ly/superBash
@egyleader
egyleader / Super Bash ⚡
Last active July 11, 2022 20:23 — forked from hightemp/bash aliases
Super useful set of bash aliases for OS , git , dart , flutter , php , laravel and python , just run 'wget https://bit.ly/superBash -O ~/.bash_aliases && source ~/.bash_aliases' to get started
# Super Bash ⚡
# this is a Super useful set of Bash & ZSH aliases for OS , git , dart , flutter , php , laravel .
# credit : this was forked originally from : https://gist.githubusercontent.com/hightemp/5071909
# alot of modifications has been made to include , remove or modify aliases to suit the everyday
# developer and bash user needs and make an all in one .bash_aliases file .
# NOTE: for ZSH replace all .bashrc with .zshrc and all .bash_aliases with .zsh_aliases
@egyleader
egyleader / History|-11e9a22|entries.json
Last active May 18, 2022 02:44
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///home/egyleader/benchmarker.sh","entries":[{"id":"C5BN.sh","timestamp":1651408816942},{"id":"LC9t.sh","timestamp":1651409270963},{"id":"FpOe.sh","timestamp":1651409305366}]}
@egyleader
egyleader / laravelDuskHelpers.php
Created September 21, 2020 15:31
A collection of Useful Helpers For Laravel Dusk Browser Automations
<?php
namespace Tests\Browser\Helpers;
use Laravel\Dusk\Browser;
/** A collection of Useful Helpers For Laravel Dusk Browser Automations
* Just put the file in your project and call Helpers::functionName($arguments)
* feel free to extend it and add your useful helpers
* @copyright 2020 egyleader
*/